/* VIDEA — styly webu. Barvy a rozměry podle návrhu VIDEA_Web_C. */

:root {
  --bg: #0b0b0d;
  --bg-2: #0e0e11;
  --bg-3: #111114;
  --line: #222227;
  --line-2: #2c2c32;
  --line-3: #3a3a41;
  --text: #ececef;
  --text-2: #b4b4bc;
  --muted: #a3a3ab;
  --muted-2: #8d8d96;
  --dim: #6f6f78;
  --silver: #c4c4cc;
  --accent: #ff8a2a;
  --accent-hover: #ffa154;
  --accent-soft: #ffb27a;
  --ink: #08080a;
  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 128px);
  --stripes: repeating-linear-gradient(135deg, #121215 0 14px, #0f0f12 14px 28px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}
a:hover {
  color: var(--accent);
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
input,
textarea,
button,
select {
  font: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
img,
video {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
p {
  text-wrap: pretty;
}

.page {
  min-height: 100vh;
  overflow-x: clip;
}

/* ---------- typografie ---------- */

.kicker {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
.h2-xl {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 0.92;
}

.h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  text-transform: uppercase;
  color: var(--text);
}
.h3-sm {
  font-size: 24px;
}
.h3-lg {
  font-size: 34px;
}

/* ---------- hlavička ---------- */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.16em;
  color: var(--text);
}
.wordmark span {
  color: var(--accent);
}
.wordmark:hover {
  color: var(--text);
}
.wordmark-sm {
  font-size: 20px;
  letter-spacing: 0.14em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(14px, 2.4vw, 32px);
  font-size: 15px;
  font-weight: 500;
}

.lang {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}
.lang a {
  color: var(--muted-2);
}
.lang a:hover {
  color: var(--accent);
}
.lang [aria-current] {
  color: var(--text);
}
.lang-sep {
  margin: 0 0.4em;
  color: var(--line-3);
}

.nav-cta {
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 9px 18px;
  border-radius: 999px;
}
.nav-cta:hover {
  background: var(--accent);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.2s;
}
.nav-toggle span:first-child {
  top: 18px;
}
.nav-toggle span:last-child {
  top: 25px;
}
.nav-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (max-width: 820px) {
  .js .nav-toggle {
    display: block;
  }
  .js .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 22px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
    font-size: 18px;
  }
  .js .nav.is-open {
    display: flex;
  }
  .js .nav > a:not(.nav-cta),
  .js .nav .lang {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }
  .js .nav .lang {
    font-size: 15px;
  }
  .js .nav-cta {
    margin-top: 18px;
    padding: 13px 18px;
    text-align: center;
  }
}

/* ---------- tlačítka ---------- */

.btn {
  display: inline-block;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 17px;
}
.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 12px 44px -10px rgba(255, 138, 42, 0.7);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--ink);
}
.btn-ghost {
  border: 1px solid var(--line-3);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--silver);
  color: #fff;
}

.play-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  fill: var(--ink);
  padding: 0;
}
.play-btn-lg {
  width: 84px;
  height: 84px;
  box-shadow: 0 0 50px rgba(255, 138, 42, 0.55);
}
button.play-btn {
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}
button.play-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.06);
}

/* ---------- úvod ---------- */

.hero {
  position: relative;
  padding: clamp(130px, 16vw, 190px) var(--gutter) clamp(56px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.hero > * {
  position: relative;
}

.glow {
  position: absolute;
  pointer-events: none;
}
.glow-warm {
  top: -10%;
  left: 50%;
  width: min(1100px, 140vw);
  height: 780px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 138, 42, 0.22), rgba(255, 138, 42, 0) 72%);
}
/* Studený odlesk jako modrá hrana loga. */
.glow-cool {
  top: 8%;
  left: 12%;
  width: 420px;
  height: 420px;
  background: radial-gradient(closest-side, rgba(120, 160, 235, 0.11), rgba(120, 160, 235, 0) 72%);
}

.hero-logo {
  width: min(240px, 50vw);
  height: auto;
  mix-blend-mode: screen;
  margin-bottom: -12px;
}

.hero-title {
  margin: 0;
  max-width: 1100px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(46px, 7.4vw, 112px);
  line-height: 0.94;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.metal {
  background: linear-gradient(180deg, #fff 10%, #b8b8c1 70%, #808089 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hot {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(255, 138, 42, 0.5);
}

.hero-lead {
  margin: 0;
  max-width: 620px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--text-2);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-media {
  width: 100%;
  max-width: 1160px;
  margin-top: 40px;
  scroll-margin-top: 24px;
}

.hero-frame {
  flex-direction: column;
  gap: 16px;
  background: repeating-linear-gradient(135deg, #111114 0 16px, #0d0d10 16px 32px);
  box-shadow: 0 0 0 1px rgba(255, 138, 42, 0.08), 0 40px 120px -30px rgba(255, 138, 42, 0.35), 0 30px 80px -20px rgba(0, 0, 0, 0.9);
}

.showreel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.hero-frame.is-playing .play-btn {
  display: none;
}

.hero-vertical {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 24px);
  max-width: 820px;
  margin: 0 auto;
}
.hero-vertical .frame:not(.is-main) {
  transform: translateY(32px);
}
.hero-vertical .is-main {
  border-color: var(--accent);
  box-shadow: 0 40px 100px -30px rgba(255, 138, 42, 0.5);
}

/* ---------- rámečky pro videa a obrázky ---------- */

.frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--stripes);
  transition: border-color 0.2s;
}
.frame.rounded {
  border-radius: 14px;
}
.frame-wide {
  aspect-ratio: 16 / 9;
}
.frame-tall {
  aspect-ratio: 9 / 16;
}
.frame-video,
.frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame-label {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.frame-note {
  font-size: 15px;
  color: var(--muted);
}

/* ---------- pás „Pro koho“ ---------- */

.audience {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.audience-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.audience-label {
  color: var(--accent);
}

/* ---------- sekce ---------- */

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--section) var(--gutter) 0;
}
.section-last {
  padding-bottom: var(--section);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}
.section-head.split {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.section-titles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section-lead {
  margin: 0;
  max-width: 420px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

/* Mřížka s 1px linkami (služby, reference). */
.cells {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cells-quotes {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.cell {
  margin: 0;
  min-height: 220px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg);
  transition: background-color 0.2s;
}
.cell:hover {
  background: var(--bg-3);
}
.cell p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.cell-num {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--dim);
}

/* ---------- ukázky ---------- */

/* Sudý počet sloupců, aby videa na šířku (přes 2 sloupce) vždy zapadla. */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 20px 16px;
  align-items: start;
}
@media (min-width: 960px) {
  .work-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}
.work-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.work-item.is-wide {
  grid-column: span 2;
}

.sound-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(11, 11, 13, 0.72);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.sound-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.sound-btn[aria-pressed='true'] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.sound-btn .icon-sound,
.sound-btn[aria-pressed='true'] .icon-muted {
  display: none;
}
.sound-btn[aria-pressed='true'] .icon-sound {
  display: block;
}
.work-item .frame:hover {
  border-color: var(--accent);
}
.work-item figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}
.work-tag {
  color: var(--muted-2);
  white-space: nowrap;
}

/* ---------- postup ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 40px 0;
}
.step {
  position: relative;
  padding: 28px 28px 0 0;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-dot {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--silver);
}
.step.is-first .step-dot {
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255, 138, 42, 0.7);
}
.step-num {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  color: var(--line-3);
}
.step p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- ceník ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  border: 1px solid var(--line-2);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.plan p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.plan.is-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 138, 42, 0.1), rgba(255, 138, 42, 0) 60%);
  box-shadow: 0 0 50px -12px rgba(255, 138, 42, 0.45);
}
.plan.is-featured p {
  color: var(--text-2);
}
.plan-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.badge {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg);
  padding: 4px 8px;
  white-space: nowrap;
}
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.price-from {
  font-size: 15px;
  color: var(--muted-2);
}
.price-value {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
}
.price-custom {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
}
.is-featured .price-value,
.is-featured .price-custom {
  color: var(--accent);
}

/* Křížky v rozích (ceník, portrét, poptávka). */
.corner {
  position: absolute;
  color: var(--accent);
  font: 300 16px/1 monospace;
}
.corner.tl {
  top: -10px;
  left: -6px;
}
.corner.tr {
  top: -10px;
  right: -6px;
}
.corner.bl {
  bottom: -8px;
  left: -6px;
}
.corner.br {
  bottom: -8px;
  right: -6px;
}

/* ---------- reference ---------- */

.quote {
  justify-content: space-between;
  gap: 28px;
  min-height: 0;
}
.quote blockquote {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
  text-wrap: pretty;
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quote-name {
  font-weight: 600;
}
.quote-place {
  font-size: 15px;
  color: var(--muted-2);
}

/* ---------- o mně ---------- */

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.portrait {
  aspect-ratio: 4 / 5;
  max-width: 440px;
  overflow: visible;
}
.portrait > img {
  z-index: 0;
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.about-text p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-2);
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.faq .section-head {
  margin-bottom: 0;
}
.faq-list {
  border-top: 1px solid var(--line-2);
}
.faq-list details {
  border-bottom: 1px solid var(--line-2);
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.15s;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:hover {
  color: var(--accent);
}
.faq-sign::before {
  content: '+';
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
  color: var(--accent);
}
.faq-list details[open] .faq-sign::before {
  content: '−';
}
.faq-list details p {
  margin: 0;
  padding: 0 40px 24px 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- poptávka ---------- */

.contact-box {
  position: relative;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  padding: clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(32px, 5vw, 64px);
}
.contact-intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-intro > p {
  margin: 0;
  max-width: 420px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  font-size: 16px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--text);
  padding: 13px 14px;
  font-size: 16px;
  transition: border-color 0.15s;
}
.field textarea {
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--dim);
}
.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.group legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--muted);
}

.chip,
.segment {
  position: relative;
}
.chip input,
.segment input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip span {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--bg);
  color: var(--silver);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.chip span:hover {
  border-color: var(--line-3);
}
.chip input:checked + span {
  border-color: var(--accent);
  background: rgba(255, 138, 42, 0.14);
  color: var(--accent-soft);
}

.segments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}
.segment span {
  display: block;
  height: 100%;
  padding: 11px 8px;
  background: var(--bg);
  color: var(--silver);
  text-align: center;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.segment span:hover {
  background: var(--bg-3);
}
.segment input:checked + span {
  background: var(--accent);
  color: var(--bg);
}
.chip input:focus-visible + span,
.segment input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 17px 26px;
  border: 0;
  border-radius: 2px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 40px -10px rgba(255, 138, 42, 0.6);
  transition: background-color 0.15s;
}
.btn-submit:hover {
  background: var(--accent-hover);
}
.btn-submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

.form-note {
  margin: -4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted-2);
}
.form-note a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-error {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 110, 90, 0.5);
  background: rgba(255, 110, 90, 0.08);
  color: #ffb4a6;
  font-size: 15px;
  line-height: 1.5;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-success {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-height: 320px;
}
.form-success:focus {
  outline: none;
}
.form-success p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
}
.success-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  box-shadow: 0 0 30px rgba(255, 138, 42, 0.35);
}
.btn-outline {
  align-self: flex-start;
  padding: 11px 18px;
  border: 1px solid var(--line-3);
  border-radius: 2px;
  background: none;
  color: var(--text);
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--silver);
}

/* ---------- patička ---------- */

.site-footer {
  border-top: 1px solid var(--line);
}
.footer-inner,
.footer-legal {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--muted-2);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-legal {
  padding-top: 0;
  justify-content: flex-start;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--dim);
}
.footer-legal a {
  color: var(--muted-2);
}

/* ---------- podstránky ---------- */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(130px, 14vw, 170px) var(--gutter) var(--section);
}
.doc h1 {
  margin-bottom: 20px;
}
.doc h2 {
  margin: 36px 0 10px;
}
.doc p {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-2);
}
.doc .doc-lead {
  font-size: 19px;
  color: var(--muted);
}
.doc .btn {
  margin-top: 28px;
}
.doc-center {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

/* ---------- jemné objevení sekcí při scrollu ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .sound-btn {
    display: none;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
