/* ───────────────────────── Fine Point ───────────────────────── */

@font-face { font-family: 'Inter'; src: url('assets/fonts/Inter-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/Inter-Medium.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/Inter-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url('assets/fonts/InterDisplay-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #111113;
  --ink-2: #45454c;
  --ink-3: #66666e;
  --line: #e3e3e8;
  --line-strong: #cfcfd6;
  --surface: #f5f5f7;
  --white: #ffffff;
  --blue: #1455ff;
  --blue-hover: #0d46e0;
  --blue-ink: #0b3fd1;
  --blue-soft: #edf2ff;
  --error: #b42318;
  --error-soft: #fdf1f0;
  --success: #116336;
  --success-soft: #edf7f1;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter Display', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 64px;
  --section-y: clamp(88px, 12vw, 168px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(16px, 0.95rem + 0.15vw, 18px);
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html.menu-open body { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
main:focus, [tabindex="-1"]:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(1180px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: calc(1320px + 2 * var(--gutter)); }

.dot { color: var(--blue); }

/* ── Pozadí: jemné linky, kterými občas proběhne vlna ── */
.bg-waves {
  position: fixed; inset: 0; z-index: -1;
  width: 100%; height: 100%; pointer-events: none;
}

/* ── Logo ─────────────────────────────────────────────────── */
.logo {
  display: inline-flex; align-items: baseline;
  font-family: var(--font-display); font-weight: 600;
  font-size: 21px; letter-spacing: -0.035em; line-height: 1; color: var(--ink);
  white-space: nowrap;
}
.logo__dot {
  width: 0.27em; height: 0.27em; border-radius: 50%;
  background: var(--blue); margin-left: 0.07em; flex: none;
}

/* ── Typografie ──────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 20px; font-size: 15px; font-weight: 500; color: var(--ink-2);
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

.h2 { font-size: clamp(2.05rem, 1.2rem + 2.9vw, 3.5rem); line-height: 1.06; letter-spacing: -0.035em; }
.h2--large { font-size: clamp(2.35rem, 1.2rem + 3.9vw, 4.4rem); line-height: 1.02; letter-spacing: -0.04em; }
.h3 { font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.85rem); line-height: 1.15; letter-spacing: -0.025em; }

.section { padding-block: var(--section-y); }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 88px); }
.section__head--split {
  max-width: none; display: grid; gap: 24px 64px; align-items: end;
}
@media (min-width: 900px) { .section__head--split { grid-template-columns: 1.1fr 1fr; } }
.section__lead { margin: 24px 0 0; font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.section__head--split .section__lead { margin: 0; }

/* ── Tlačítka a odkazy ───────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); }
.btn--primary:active { transform: scale(.98); }
.btn--small { min-height: 38px; padding: 0 18px; font-size: 14.5px; }
.btn:focus-visible { outline-offset: 3px; border-radius: 999px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-weight: 500; text-decoration: none;
  min-height: 44px;
}
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link-arrow:hover span { transform: translateX(3px); }

/* ── Hlavička ────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.header.is-scrolled, html.menu-open .header { border-bottom-color: var(--line); }
html.menu-open .header { background: var(--white); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.header__logo { text-decoration: none; display: inline-flex; padding: 8px 0; margin-right: auto; }

.nav { display: none; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 40px;
  padding: 0 12px; font-size: 15px; color: var(--ink-2); text-decoration: none;
  transition: color .2s var(--ease);
}
.nav__link:hover, .nav__link.is-current { color: var(--ink); }
.nav__link::after {
  content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--blue); opacity: 0; transform: scale(.4);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.nav__link.is-current::after { opacity: 1; transform: none; }

.header__cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 12px;
  background: none; border: 0; cursor: pointer; font-size: 15px; font-weight: 500;
}
.menu-toggle__icon { position: relative; width: 22px; height: 14px; }
.menu-toggle__icon i {
  position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle__icon i:first-child { top: 3px; }
.menu-toggle__icon i:last-child { top: 10px; }
.menu-toggle[aria-expanded='true'] .menu-toggle__icon i:first-child { top: 6.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__icon i:last-child { top: 6.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--white); overflow-y: auto;
  padding: 16px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 32px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__link {
  display: flex; align-items: center; justify-content: space-between; min-height: 64px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -0.03em;
  text-decoration: none;
}
.mobile-menu__link::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); transition: background-color .2s; }
.mobile-menu__link:hover::after, .mobile-menu__link.is-current::after { background: var(--blue); }
.mobile-menu__cta { align-self: flex-start; }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) { animation: menu-in .32s var(--ease); }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
}

@media (min-width: 600px) { .header__cta { display: inline-flex; } }
@media (min-width: 960px) {
  .nav { display: block; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .header__logo { margin-right: 0; }
  .nav { margin-left: auto; }
  .header__cta { margin-left: 8px; }
}

/* ── Úvod ────────────────────────────────────────────────── */
.hero { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(72px, 10vw, 128px); text-align: center; overflow: hidden; }
.hero__title {
  font-size: clamp(2.5rem, 1.1rem + 5.6vw, 5.75rem);
  line-height: 1.02; letter-spacing: -0.045em;
  max-width: 13.5em; margin-inline: auto;
}
.hero__line { display: block; }
.hero__line--muted { color: var(--ink-3); }
.hero__lead {
  max-width: 33em; margin: clamp(40px, 5vw, 56px) auto 0;
  font-size: clamp(1.1rem, 0.98rem + 0.45vw, 1.35rem); line-height: 1.5; color: var(--ink-2);
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; margin-top: 36px; }

/* Tři oblasti v úvodu — ikony s jemným pohybem */
.offer {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 40px);
  max-width: 760px; margin: clamp(40px, 6vw, 64px) auto 0;
}
.offer__link {
  display: flex; flex-direction: column; align-items: center; gap: clamp(12px, 2vw, 20px);
  text-decoration: none; color: var(--ink); border-radius: 28px; padding: 4px;
}
.offer__tile {
  display: grid; place-items: center; width: 100%; max-width: 200px; aspect-ratio: 1;
  border-radius: clamp(22px, 4vw, 36px); background: var(--surface);
  transition: background-color .3s var(--ease), transform .4s var(--ease);
}
.offer__link:hover .offer__tile { background: var(--blue-soft); transform: translateY(-4px); }
.offer__label {
  font: 600 clamp(1rem, 0.8rem + 0.9vw, 1.5rem)/1.15 var(--font-display); letter-spacing: -0.025em;
  text-align: center; text-wrap: balance;
}
.offer__link:hover .offer__label { color: var(--blue-ink); }
.offer__link:focus-visible { outline-offset: 6px; border-radius: 30px; }

.icon { width: 64%; height: auto; overflow: visible; }
.icon .i-frame { fill: var(--white); stroke: var(--ink); stroke-width: 3; }
.icon .i-line { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.icon .i-dot-s { fill: var(--line-strong); }
.icon .i-ink { fill: var(--ink); }
.icon .i-soft { fill: var(--line-strong); }
.icon .i-soft-fill { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; }
.icon .i-blue { fill: var(--blue); }
.icon * { transform-box: fill-box; }

@media (prefers-reduced-motion: no-preference) {
  /* celé ikony se zlehka vznášejí, každá v jiné fázi */
  .icon { animation: float 6s ease-in-out infinite; }
  .offer__item:nth-child(2) .icon { animation-delay: -2s; }
  .offer__item:nth-child(3) .icon { animation-delay: -4s; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

  /* Web: obsah stránky se postupně „napíše“, kulička dýchá */
  .web-l1, .web-l2, .web-l3, .web-btn { transform-origin: left center; animation: type 4.8s var(--ease) infinite; }
  .web-l2 { animation-delay: .25s; } .web-l3 { animation-delay: .5s; } .web-btn { animation-delay: .75s; }
  @keyframes type { 0%, 8% { transform: scaleX(.15); opacity: .4; } 30%, 82% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(.15); opacity: .4; } }
  .web-orb { transform-origin: center; animation: breathe 4.8s ease-in-out infinite; }
  @keyframes breathe { 0%, 100% { transform: scale(.85); } 50% { transform: scale(1.12); } }

  /* Aplikace: výběr se posouvá mezi položkami */
  .app-sel { animation: select 5.4s var(--ease) infinite; }
  @keyframes select {
    0%, 22% { transform: translateY(0); }
    33%, 55% { transform: translateY(19px); }
    66%, 88% { transform: translateY(38px); }
    100% { transform: translateY(0); }
  }

  /* Interní systém: sloupce grafu rostou a klesají */
  .sys-b1, .sys-b2, .sys-b3 { transform-origin: center bottom; animation: grow 5s ease-in-out infinite; }
  .sys-b1 { animation-name: grow1; } .sys-b3 { animation-name: grow3; }
  @keyframes grow  { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
  @keyframes grow1 { 0%, 100% { transform: scaleY(.8); }  50% { transform: scaleY(.4); } }
  @keyframes grow3 { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(.75); } }
}
@media (prefers-reduced-motion: reduce) {
  .sys-b1 { transform: scaleY(.8); transform-origin: center bottom; }
  .sys-b2 { transform: scaleY(.6); transform-origin: center bottom; }
  .sys-b3 { transform: scaleY(.45); transform-origin: center bottom; }
}

/* ── Služby ──────────────────────────────────────────────── */
.services__list { border-bottom: 1px solid var(--line); }
.service {
  display: grid; gap: 16px 48px; padding-block: clamp(32px, 4.5vw, 52px);
  border-top: 1px solid var(--line);
}
.service__name { display: flex; align-items: baseline; gap: 16px; }
.service__num { font-size: 14px; font-weight: 500; color: var(--ink-3); font-feature-settings: 'tnum'; min-width: 1.6em; }
.service__text { margin: 0; font-size: clamp(1.05rem, 0.98rem + 0.25vw, 1.2rem); line-height: 1.55; color: var(--ink); max-width: 32em; }
.service__label { margin: 0 0 12px; font-size: 14px; color: var(--ink-3); }
.dot-list li { position: relative; padding-left: 18px; color: var(--ink-2); line-height: 1.5; }
.dot-list li + li { margin-top: 8px; }
.dot-list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
@media (min-width: 900px) {
  .service { grid-template-columns: 1fr 1.35fr 1fr; align-items: start; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .service { grid-template-columns: 1fr 1fr; }
  .service__name { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .service__examples { margin-top: 8px; }
}

/* ── Přístup ─────────────────────────────────────────────── */
.approach { background: var(--surface); }
.approach__grid { display: grid; gap: 56px 96px; }
.approach__text { margin: 28px 0 0; font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.22rem); line-height: 1.6; color: var(--ink-2); max-width: 30em; }
@media (min-width: 960px) {
  .approach__grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .approach__intro { position: sticky; top: calc(var(--header-h) + 56px); }
}

.steps { position: relative; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 24px; padding-bottom: clamp(36px, 4vw, 52px); }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ''; position: absolute; left: 21.5px; top: 52px; bottom: 8px; width: 1px; background: var(--line-strong);
}
.step:last-child::before, .step:last-child::after { display: none; }
/* Modrá část linky – roste podle scrollu (viz main.js, proměnná --fill). */
.step::after {
  content: ''; position: absolute; left: 21.5px; top: 52px; bottom: 8px; width: 1px; background: var(--blue);
  transform: scaleY(var(--fill, 0)); transform-origin: top;
}
.steps:not(.is-progressive) .step::after { display: none; }
.steps.is-progressive .step__body { transition: opacity .4s var(--ease); opacity: .45; }
.steps.is-progressive .step.is-active .step__body { opacity: 1; }
.steps.is-progressive .step.is-current .step__marker { box-shadow: 0 0 0 6px var(--blue-soft); }
.step__marker {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line-strong);
  font-size: 15px; font-weight: 600; font-feature-settings: 'tnum'; color: var(--ink-2);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.step.is-active .step__marker { background: var(--blue); border-color: var(--blue); color: var(--white); }
.step__marker { transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.step__body { padding-top: 8px; }
.step__body .h3 { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.55rem); }
.step__body p { margin: 10px 0 0; color: var(--ink-2); max-width: 30em; }

/* ── Projekty ────────────────────────────────────────────── */
.projects__list { border-bottom: 1px solid var(--line); }
.project {
  display: grid; grid-template-columns: 1fr; gap: 12px 40px;
  padding-block: clamp(32px, 4.5vw, 48px); border-top: 1px solid var(--line);
}
@media (min-width: 720px) { .project { grid-template-columns: 72px 1fr; } }
@media (min-width: 960px) { .project--media { grid-template-columns: 72px 1fr 1.2fr; } }
.project__num { font-size: 14px; font-weight: 500; color: var(--ink-3); padding-top: 10px; font-feature-settings: 'tnum'; }
.project__top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.project__client { margin: 8px 0 0; color: var(--ink-2); font-weight: 500; }
.project__summary { margin: 12px 0 0; color: var(--ink-2); max-width: 34em; }
.project__img { border-radius: var(--radius); border: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li { font-size: 14px; padding: 4px 12px; border-radius: 999px; background: var(--surface); color: var(--ink-2); }

.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 500; line-height: 1;
}
.badge--live { background: var(--blue-soft); color: var(--blue-ink); }
.badge__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--live .badge__dot { background: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .badge--live .badge__dot::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--blue);
    animation: pulse 2.4s var(--ease) infinite;
  }
  @keyframes pulse { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(2.8); opacity: 0; } }
}

/* ── O mně ───────────────────────────────────────────────── */
.about { border-top: 1px solid var(--line); }
.projects + .about { border-top: 0; padding-top: 0; }
.about__grid { display: grid; gap: 48px 96px; align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 5fr 6fr; } }
.about__visual { max-width: 520px; width: 100%; }
.about__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.portrait-slot {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--surface);
  overflow: hidden; display: grid; place-items: center;
}
.portrait-slot__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0 30%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0 30%, transparent 70%);
  opacity: .9;
}
.portrait-slot__mono {
  position: relative; z-index: 1;
  font: 600 clamp(5rem, 3rem + 7vw, 9rem)/1 var(--font-display); letter-spacing: -0.06em; color: var(--ink);
}
.portrait-slot__dot {
  display: inline-block; width: .19em; height: .19em; margin-left: .05em; border-radius: 50%; background: var(--blue);
}
.portrait-slot__mark { position: relative; z-index: 1; width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--blue); }
.about__role { margin: 12px 0 32px; font-size: 1.1rem; color: var(--ink-3); }
.about__body .h2 + p:not(.about__role) { margin-top: 32px; }
.about__body > p:not(.eyebrow):not(.about__role) { color: var(--ink-2); max-width: 34em; font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem); }
.principles { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.principles li { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.principles li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ── Kontakt ─────────────────────────────────────────────── */
.contact { background: var(--surface); }
.contact__grid { display: grid; gap: 48px 96px; align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 5fr 6fr; } .contact__intro { position: sticky; top: calc(var(--header-h) + 56px); } }
.contact__text { margin: 28px 0 0; font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.22rem); color: var(--ink-2); max-width: 28em; }
.contact__direct { margin-top: 32px; display: grid; gap: 6px; }
.contact__direct a { color: var(--ink); font-weight: 500; text-underline-offset: 4px; }

.form {
  background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px;
}
.form__note { margin: 0; font-size: 14px; color: var(--ink-3); }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 500; }
.req { color: var(--blue-ink); }
.optional { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--white);
  font-size: 16px; line-height: 1.5;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 148px; }
.field input:hover, .field textarea:hover { border-color: #b4b4bd; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20, 85, 255, .18); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field [aria-invalid='true'] { border-color: var(--error); }
.field [aria-invalid='true']:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .16); border-color: var(--error); }
.field__error { margin: 0; font-size: 14px; color: var(--error); display: none; align-items: center; gap: 8px; }
.field__error:not(:empty) { display: flex; }
.field__error::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.form__privacy { margin: 0; font-size: 14px; color: var(--ink-3); flex: 1 1 220px; }
.form__privacy a { color: var(--ink-2); text-underline-offset: 3px; }
.form__submit { position: relative; min-width: 200px; }
.form__submit[disabled] { cursor: progress; background: var(--blue-hover); }
.spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: var(--white); }
.form.is-sending .spinner { display: inline-block; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .form.is-sending .spinner { animation-duration: 2.4s; } }

.form__status:empty { display: none; }
.form__status {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px;
  font-size: 15px; line-height: 1.5; background: var(--surface); color: var(--ink-2);
}
.form__status:focus { outline: none; }
.form__status::before { content: ''; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: currentColor; flex: none; }
.form__status p { margin: 0; }
.form__status[data-state='success'] { background: var(--success-soft); color: var(--success); }
.form__status[data-state='error'] { background: var(--error-soft); color: var(--error); }

/* ── Patička ─────────────────────────────────────────────── */
.footer { padding: clamp(56px, 7vw, 88px) 0 32px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.footer__grid { display: grid; gap: 40px 64px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 2fr 1fr 1.2fr; } }
.footer__logo { display: inline-flex; text-decoration: none; padding: 6px 0; }
.footer__brand p { margin: 16px 0 0; max-width: 26em; }
.footer__nav ul { display: grid; gap: 4px; }
.footer__link { display: inline-flex; min-height: 32px; align-items: center; text-decoration: none; color: var(--ink-2); }
.footer__link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer address { font-style: normal; margin-bottom: 12px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-3);
}
.footer__bottom p { margin: 0; }
.footer__top { gap: 6px; color: var(--ink-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer__top:hover { color: var(--ink); }

/* ── Decentní odhalení při scrollu ───────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .hero .reveal:nth-child(2) { transition-delay: .08s; }
  .js .hero .reveal:nth-child(3) { transition-delay: .16s; }
  .js .hero .reveal:nth-child(4) { transition-delay: .24s; }
}

@media print {
  .header, .form, .skip, .bg-waves { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
