@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
  --bg: #f4f6f7;
  --surface: #ffffff;
  --ink: #042433;
  --ink-soft: #0c3a4d;
  --muted: #4c6472;
  --brand: #042433;
  --brand-strong: #021620;
  --accent: #d30f1d;
  --accent-strong: #a80c17;
  --line: #e0e5e8;
  --shadow: 0 18px 42px rgba(4, 36, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(4, 36, 51, 0.1), transparent 38%),
    radial-gradient(circle at 88% 6%, rgba(211, 15, 29, 0.09), transparent 35%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.intro-lock {
  overflow: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(244, 246, 247, 0.92);
  border-bottom: 1px solid rgba(4, 36, 51, 0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-image {
  height: 56px;
  width: auto;
  max-width: 60vw;
}

.logo-image-mobile {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.96rem;
}

.nav > a,
.nav-item > a {
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav a:hover,
.nav a:focus-visible {
  border-color: var(--accent);
  color: var(--ink);
}

.nav-item {
  position: relative;
}

.nav-dropdown-toggle {
  display: none;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(4, 36, 51, 0.16);
  padding: 8px;
  display: grid;
  gap: 4px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown a {
  border: none;
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--muted);
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: #eef2f4;
  color: var(--ink);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 10px 22px rgba(211, 15, 29, 0.3);
}

.btn-secondary {
  border-color: rgba(4, 36, 51, 0.22);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
}

.hero {
  padding: 0;
  position: relative;
}

.hero-media {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(4, 24, 33, 0.86), rgba(4, 24, 33, 0.5) 42%, rgba(4, 24, 33, 0.66));
}

.czech-flag-flow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.8;
  mix-blend-mode: multiply;
}

.czech-flag-flow svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: url(#flagWave);
}

.hero-media {
  min-height: clamp(400px, 56vh, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0;
  text-align: center;
}

.hero-tagline {
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 12px rgba(4, 24, 33, 0.55);
}

.hero-tagline-bottom {
  max-width: 46ch;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.btn-hero-cta {
  padding: 19px 40px;
  font-size: 1.08rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(6px);
}

.btn-hero-cta:hover,
.btn-hero-cta:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
}

.hero-whispers {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-word {
  position: absolute;
  display: inline-flex;
  align-items: baseline;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(0.85rem, 1.7vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 10px rgba(4, 24, 33, 0.5);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .hero-word {
    font-size: 0.82rem;
  }

  .hero-word-far {
    display: none;
  }
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 700;
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  max-width: 30ch;
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.intro-screen.show {
  opacity: 1;
  visibility: visible;
}

.intro-screen.exit {
  transition-delay: 0.55s;
  opacity: 1;
}

.intro-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 51%;
  background: #ffffff;
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
}

.intro-panel-left {
  left: 0;
}

.intro-panel-right {
  right: 0;
}

.intro-screen.exit .intro-panel-left {
  transform: translateX(-100%);
}

.intro-screen.exit .intro-panel-right {
  transform: translateX(100%);
}

.intro-logo {
  position: relative;
  z-index: 2;
  width: min(300px, 60vw);
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.intro-screen.show .intro-logo {
  transform: scale(1);
  opacity: 1;
}

.intro-screen.exit .intro-logo {
  transform: scale(1.06);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.ticker {
  border-top: 1px solid rgba(211, 15, 29, 0.18);
  border-bottom: 1px solid rgba(211, 15, 29, 0.18);
  background: #fdf1f1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 40px;
  padding: 11px 0;
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.03em;
  animation: ticker 18s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.panel {
  background: linear-gradient(165deg, #fff, #f4f6f7);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.panel h2 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.section {
  padding: 52px 0;
}

.section-head {
  max-width: 72ch;
  margin-bottom: 26px;
}

.section-head p {
  color: var(--muted);
  margin-top: 10px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(4, 36, 51, 0.07);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

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

.pricing {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 10px 0 4px;
  color: var(--muted);
}

.team-strip-title {
  margin-bottom: 20px;
  text-align: center;
}

.team-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.person {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(4, 36, 51, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.person:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 38px rgba(4, 36, 51, 0.14);
  z-index: 5;
}

.person-media {
  position: relative;
}

.person-thumb-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.person-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.person-thumb-a {
  position: relative;
  object-position: center 18%;
  opacity: 1;
}

.person-thumb-b {
  object-position: center 12%;
  opacity: 0;
}

.person-media:hover .person-thumb-a {
  opacity: 0;
}

.person-media:hover .person-thumb-b {
  opacity: 1;
}

.person-body {
  padding: 22px;
  border-top: 3px solid var(--accent);
  border-radius: 0 0 18px 18px;
}

.person-body h3 {
  margin-bottom: 6px;
  font-size: 1.3rem;
}

.person-role {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.person-body p {
  margin: 0;
  color: var(--muted);
}

.person-body p + p {
  margin-top: 10px;
}

.form-wrap {
  background: linear-gradient(160deg, #fff, #f4f6f7);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid #ccd3d7;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field-group {
  display: grid;
  gap: 7px;
}

.field-group-label {
  font-weight: 600;
}

.level-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.conditional-field[hidden] {
  display: none;
}

.checkbox-fields {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--muted);
  cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.checkbox-field a {
  color: var(--ink);
  text-decoration: underline;
}

.notice {
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 0% 0%, rgba(211, 15, 29, 0.16), transparent 35%),
    var(--brand);
  color: #dde5e9;
}

.site-footer a {
  color: inherit;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 20px;
  padding: 30px 0 18px;
}

.footer-brand {
  max-width: 34ch;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand .logo-image {
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin: 10px 0 0;
  color: #aebdc6;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.footer-col h3 {
  margin-bottom: 10px;
  font-size: 1.02rem;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #c3ced4;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
}

.footer-legal-note {
  padding: 0 0 14px;
}

.footer-legal-note p {
  margin: 0;
  color: #93a5ae;
  font-size: 0.84rem;
  line-height: 1.6;
  max-width: 78ch;
}

.footer-legal-note a,
.link-button {
  color: #c3ced4;
  text-decoration: underline;
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0 22px;
  border-top: 1px solid rgba(221, 229, 233, 0.15);
  color: #9fb0b9;
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-mini {
  display: flex;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 80;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(4, 36, 51, 0.2);
  padding: 16px;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 56px 0 24px;
}

.page-hero p {
  color: var(--muted);
  max-width: 72ch;
}

.page-video {
  margin-top: 26px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 760px;
}

.page-video video {
  display: block;
  width: 100%;
  height: auto;
}

.legal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.legal h2 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .grid-3,
  .team-strip {
    grid-template-columns: 1fr;
  }

  .inline-fields {
    grid-template-columns: 1fr;
  }

  .level-fields {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-inner .logo-image {
    height: 38px;
  }

  .header-inner .logo-image-desktop {
    display: none;
  }

  .header-inner .logo-image-mobile {
    display: block;
  }

  .header-actions {
    gap: 10px;
  }

  .header-actions .btn-primary {
    padding: 8px 12px;
    font-size: 0.74rem;
    line-height: 1.25;
    text-align: center;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    z-index: 55;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav > a,
  .nav-item {
    width: 100%;
  }

  .nav > a {
    display: block;
    width: 100%;
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    border-left: none;
  }

  .nav-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .nav-item > a {
    flex: 1;
    display: block;
    padding: 12px 10px;
    border-bottom: none;
    border-left: none;
  }

  .nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-dropdown-toggle span {
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    transform: rotate(45deg);
    transition: transform 0.2s ease, margin-top 0.2s ease;
  }

  .nav-item.dropdown-open .nav-dropdown-toggle span {
    margin-top: 4px;
    transform: rotate(225deg);
  }

  .nav-dropdown {
    position: static;
    min-width: 100%;
    flex-basis: 100%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    border: none;
    box-shadow: none;
    display: none;
    padding: 0 0 10px 12px;
  }

  .nav-item.dropdown-open .nav-dropdown {
    display: grid;
  }

  .hero-media {
    min-height: clamp(360px, 60vh, 480px);
  }

  .btn-hero-cta {
    padding: 16px 30px;
    font-size: 1rem;
  }

  .ticker-track {
    font-size: 0.88rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 620px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-mini {
    flex-wrap: wrap;
  }

  .level-fields {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }
}
