/* =========================================================
   AI do praxe — design system (one-pager)
   ========================================================= */

/* fonts — self-hosted (GDPR), variable woff2 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;

  /* palette */
  --bg: #f7faf9;
  --bg-2: #eef5f3;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-solid: #ffffff;
  --ink: #0f1a18;
  --ink-soft: #29413d;
  --muted: #586a67;
  --line: rgba(95, 120, 116, 0.22);
  --line-strong: rgba(95, 120, 116, 0.4);
  --accent: #00a99d;
  --accent-deep: #0a7269;
  --accent-ink: #064b45;
  --aqua: #def7f3;
  --aqua-2: #effbf9;
  --amber: #c2873a;

  /* effects */
  --shadow-sm: 0 6px 20px rgba(15, 26, 24, 0.06);
  --shadow: 0 24px 70px rgba(15, 26, 24, 0.1);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  /* layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 76px);

  /* type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 84% 6%, rgba(0, 169, 157, 0.16), transparent 30rem),
    radial-gradient(circle at 4% 22%, rgba(194, 135, 58, 0.09), transparent 26rem),
    linear-gradient(180deg, #fbfdfc 0%, var(--bg) 46%, var(--bg-2) 100%);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(10, 114, 105, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 114, 105, 0.05) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 70%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 70%);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* focus + skip link --------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
}

/* layout helpers ------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(48px, 8vw, 96px);
}

.section--tight {
  padding-block: clamp(32px, 5vw, 56px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  content: "";
}

/* typography ---------------------------------------------------------- */
h1, h2, h3, h4 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.04;
}

h1 .h1-accent {
  color: var(--accent-deep);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.lead {
  max-width: 60ch;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
}

/* header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 250, 249, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #11201e, #0c4e49);
  color: #eafffb;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

/* jantarová tečka = člověk v procesu (stejný jazyk jako amber akcenty v ilustraci) */
.brand-mark .mark-dot {
  color: #e8a54d;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover,
.nav a.is-active {
  background: var(--aqua);
  color: var(--accent-ink);
}

.nav a.is-active {
  font-weight: 600;
}

.nav__cta {
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--panel-solid);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* buttons ------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:active {
  transform: translateY(1px);
}

.button.accent {
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 14px 34px rgba(10, 114, 105, 0.28);
}

.button.accent:hover {
  background: var(--accent-ink);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.button.secondary:hover {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent-ink);
}

.button.small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-deep);
  font-weight: 600;
}

.text-link::after {
  content: "→";
  transition: transform 0.15s ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* hero ---------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 92px);
}

.hero-copy {
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.hero-assurances li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-assurances li::before {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 700;
  content: "✓";
}

/* hero illustration */
.hero-visual {
  position: relative;
}

.hero-visual svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(15, 26, 24, 0.12));
}

.hero-visual .float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 600;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-visual .float-card .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-visual .float-card.tl { top: 6%; left: -4%; }
.hero-visual .float-card.br { bottom: -2%; right: -3%; }
.hero-visual .float-card.br .dot { background: var(--amber); }

@media (prefers-reduced-motion: no-preference) {
  .hero-visual .float-card.tl { animation: floaty 6s ease-in-out infinite; }
  .hero-visual .float-card.br { animation: floaty 7s ease-in-out infinite reverse; }
  .svg-pulse { animation: nodePulse 3.4s ease-in-out infinite; }
  .svg-pulse.d1 { animation-delay: 0.5s; }
  .svg-pulse.d2 { animation-delay: 1s; }
  .svg-pulse.d3 { animation-delay: 1.5s; }
  .svg-dash {
    stroke-dasharray: 6 8;
    animation: dash 1.6s linear infinite;
  }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes nodePulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes dash {
  to { stroke-dashoffset: -28; }
}

/* empathy quotes ------------------------------------------------------ */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.quotes article {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--aqua-2), rgba(255, 255, 255, 0.9));
}

.quotes blockquote {
  position: relative;
  margin: 0 0 14px;
  padding-left: 18px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

.quotes blockquote::before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--accent);
  content: "";
}

.quotes p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* feature / example cards -------------------------------------------- */
.cards {
  display: grid;
  gap: 16px;
}

.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(160deg, var(--aqua-2), #fff);
  color: var(--accent-deep);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: 12px;
}

.before-after {
  display: grid;
  gap: 10px;
  margin: 0;
  font-size: 15px;
}

.before-after > div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.before-after .ba-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.before-after .ba-before .ba-label { color: var(--amber); }
.before-after .ba-after .ba-label { color: var(--accent-deep); }

.before-after p {
  margin: 0;
  color: var(--muted);
}

.before-after .ba-after p {
  color: var(--ink-soft);
}

/* timeline ------------------------------------------------------------ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline article {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.timeline article::after {
  position: absolute;
  top: 44px;
  right: -14px;
  z-index: 1;
  color: var(--line-strong);
  font-size: 18px;
  font-weight: 700;
  content: "→";
}

.timeline article:last-child::after {
  content: none;
}

.timeline .step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--aqua);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 700;
}

.timeline article.is-highlight {
  border-color: rgba(0, 169, 157, 0.45);
  background: linear-gradient(160deg, var(--aqua-2), rgba(255, 255, 255, 0.92));
}

.timeline .step-time {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(15, 26, 24, 0.06);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}

.timeline h3 {
  font-size: 18px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* safety -------------------------------------------------------------- */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.safety-grid article {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.safety-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* split / band -------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading .sub {
  margin: 10px 0 0;
  color: var(--muted);
}

.text-stack > p + p {
  margin-top: 16px;
}

.text-stack p {
  color: var(--muted);
}

.band {
  position: relative;
  padding: clamp(34px, 5vw, 64px) clamp(28px, 5vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(0, 169, 157, 0.1), transparent 55%),
    var(--panel-solid);
  box-shadow: var(--shadow-sm);
}

.band .split {
  align-items: center;
}

.band p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
}

/* terms / price ------------------------------------------------------- */
.terms {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(34px, 5vw, 56px) clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(0, 169, 157, 0.08), transparent 50%),
    var(--panel-solid);
  box-shadow: var(--shadow-sm);
}

.terms ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.terms li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 15.5px;
}

.terms li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 700;
  content: "✓";
}

.price-tag {
  justify-self: center;
  text-align: center;
  padding: 30px 36px;
  border: 1px solid rgba(0, 169, 157, 0.35);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--aqua-2), #ffffff);
}

.price-tag .amount {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-ink);
  line-height: 1.05;
}

.price-tag .per {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.price-tag .note {
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  color: var(--ink-soft);
  font-size: 13.5px;
}

/* FAQ ----------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: var(--line-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--accent-deep);
  font-weight: 700;
  content: "+";
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
}

.faq a {
  color: var(--accent-deep);
  font-weight: 600;
}

/* contact ------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a,
.contact-methods .method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.contact-methods a {
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-methods a:hover {
  border-color: var(--accent);
  transform: translateX(3px);
}

.contact-methods .card-icon {
  margin: 0;
  width: 42px;
  height: 42px;
}

.contact-methods .label {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.contact-methods .value {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.after-send {
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
}

.after-send h3 {
  margin-bottom: 12px;
  font-size: 15px;
}

.after-send ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14.5px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.contact-form .optional {
  color: var(--muted);
  font-weight: 400;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fbfefd;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 169, 157, 0.16);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.contact-form .consent input {
  width: auto;
  margin-top: 3px;
}

.form-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* Hláška je vykreslená pořád (jen vizuálně skrytá) — čtečky obrazovky
   jinak změnu v aria-live oblasti schované přes display:none nepřečtou. */
.form-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
}

.form-status.is-visible {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
}

.form-status.ok {
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 10px 26px rgba(10, 114, 105, 0.3);
}

.form-status.ok::before {
  content: "✓";
  margin-right: 9px;
  font-weight: 700;
}

.form-status.err {
  background: #9a2b2b;
  color: #fff;
  box-shadow: 0 10px 26px rgba(154, 43, 43, 0.28);
}

.form-status.err::before {
  content: "!";
  margin-right: 9px;
  font-weight: 700;
}

/* CTA band ------------------------------------------------------------ */
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: clamp(34px, 5vw, 56px) clamp(28px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #11201e, #0b4641);
  color: #eafffb;
  box-shadow: var(--shadow);
}

.cta h2 {
  margin-bottom: 10px;
  color: #fff;
}

.cta p {
  margin: 0;
  max-width: 52ch;
  color: rgba(234, 255, 251, 0.78);
}

.cta .eyebrow {
  color: #7fe9dd;
}

.cta .eyebrow::before {
  background: #7fe9dd;
}

.cta .button.accent {
  background: #fff;
  color: var(--accent-ink);
  box-shadow: none;
}

.cta .button.accent:hover {
  background: var(--aqua);
}

/* sticky mobile CTA ---------------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(247, 250, 249, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.sticky-cta.is-visible {
  transform: none;
}

.sticky-cta .button {
  width: 100%;
}

/* prose page (právní texty) ------------------------------------------- */
.prose {
  max-width: 780px;
}

.prose h1 {
  font-size: clamp(32px, 4.4vw, 52px);
}

.prose h2 {
  margin-top: 42px;
  font-size: clamp(21px, 2.4vw, 27px);
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 16px;
}

.prose ul {
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.prose a {
  color: var(--accent-deep);
  font-weight: 600;
}

.prose .updated {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* error page ----------------------------------------------------------- */
.error-page {
  display: grid;
  place-items: center;
  min-height: 70vh;
  text-align: center;
}

.error-page .code {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 150px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent-deep);
}

.error-page p {
  max-width: 42ch;
  margin-inline: auto;
  color: var(--muted);
}

/* footer -------------------------------------------------------------- */
.footer {
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 26px;
  color: var(--muted);
  font-size: 14px;
}

.footer__inner .brand {
  font-size: 15px;
}

.footer__inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.footer__inner nav a:hover {
  color: var(--accent-deep);
}

/* reveal animation ---------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* responsive ---------------------------------------------------------- */
@media (max-width: 1060px) {
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline article::after {
    content: none;
  }
}

@media (max-width: 960px) {
  .hero,
  .split,
  .contact,
  .terms {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 520px;
  }

  .quotes,
  .cards.three,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    grid-template-columns: 1fr;
  }

  .price-tag {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 250, 249, 0.97);
    -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 12px 14px;
    font-size: 16px;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 6px;
  }

  .nav-toggle {
    display: block;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .sticky-cta {
    display: block;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
