/* NEEXION technology — coming soon site
   ------------------------------------------------------------------ */

:root {
  --bg: #F4F7FD;
  --blob: #E3EBFB;
  --ink: #0E1733;
  --ink-2: #3A4466;
  --ink-3: #4A5578;
  --line: #D5DEF0;
  --card: #FFFFFF;
  --accent: #F7A42A;
  --accent-ring: #FDEBCB;
  --violet: #6B3FE6;
  --violet-soft: #E6DDFC;
  --danger: #C2410C;
  --ok: #157F5B;

  --radius-s: 14px;
  --radius-m: 20px;
  --radius-l: 28px;
  --shadow: 0 24px 60px -30px rgba(14, 23, 51, 0.35);
  --pad: clamp(20px, 5vw, 80px);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Sora', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

a { color: var(--ink); }
a:hover { color: var(--violet); }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
  border-radius: 6px;
}

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

/* hidden musí přebít každé display: níže (.form-done, .cookiebar…) */
[hidden] { display: none !important; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  padding: 12px 18px;
  background: var(--card);
  border-radius: 0 0 var(--radius-s) 0;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { left: 0; }

/* decorative blob ---------------------------------------------------- */
.blob {
  position: fixed;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: var(--blob);
  right: -220px;
  top: 90px;
  z-index: -1;
  pointer-events: none;
}

/* shell -------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 40px) var(--pad);
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

/* header ------------------------------------------------------------- */
.site-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-head .logo img { height: clamp(28px, 3.4vw, 46px); width: auto; }

.head-right {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.head-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
}

.lang {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
}

.lang button {
  min-width: 48px;
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.lang button[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
}

/* main layout -------------------------------------------------------- */
.main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(28px, 5vw, 48px) 0;
}

.col-text {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.4vw, 28px);
  max-width: 660px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 600;
  color: var(--ink-3);
}

.badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-ring);
  flex-shrink: 0;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 0.99;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.lead {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34em;
}

/* buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  align-self: flex-start;
}

.btn:hover { color: #fff; background: #1B2851; }

.btn-ghost {
  height: 44px;
  padding: 0 20px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 15px;
}

.btn-ghost:hover { background: var(--bg); color: var(--ink); }

/* mascot ------------------------------------------------------------- */
.col-art {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.col-art img { width: clamp(220px, 34vw, 520px); }

.speech {
  position: absolute;
  left: -24px;
  top: 8px;
  z-index: 2;
}

/* komiksová bublina — bílá karta s ocáskem k postavičce */
.bubble {
  position: relative;
  margin: 0;
  display: inline-block;
  padding: 12px 18px;
  max-width: 16ch;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px -24px rgba(14, 23, 51, 0.55);
  font-family: 'Caveat', 'Comic Sans MS', cursive;
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.08;
  color: var(--ink);
  transform: rotate(-3deg);
}

.bubble span { display: block; }

/* 404 ---------------------------------------------------------------- */
.art-404 {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.art-404 .ghost {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  text-align: center;
  font-size: clamp(130px, 21vw, 300px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--blob);
  user-select: none;
}

.art-404 img { position: relative; width: clamp(180px, 26vw, 330px); }

.art-404 .speech {
  left: auto;
  right: -16px;
  top: auto;
  bottom: 56px;
}

/* contact ------------------------------------------------------------ */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 4px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-row .ico {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-s);
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
}

.contact-row .label {
  display: block;
  font-size: 13px;
  color: var(--ink-3);
}

.contact-row .value {
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 600;
  line-height: 1.35;
}

.contact-row a.value { text-decoration: none; }
.contact-row a.value:hover { text-decoration: underline; }

/* form card ---------------------------------------------------------- */
.card-wrap { position: relative; width: min(580px, 100%); flex-shrink: 0; }

.card-wrap .peek {
  position: absolute;
  right: 190px;
  top: -138px;
  width: clamp(120px, 15vw, 182px);
  z-index: 0;
}

.card-wrap .speech {
  left: auto;
  right: 24px;
  top: -104px;
}

.card {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 3vw, 40px);
  border-radius: var(--radius-l);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 0 0 18px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }

.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }

.field input,
.field textarea {
  width: 100%;
  padding: 0 16px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--bg);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}

.field textarea {
  height: 130px;
  padding: 14px 16px;
  line-height: 1.5;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: #8A93AE; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: var(--card);
  box-shadow: 0 0 0 3px var(--violet-soft);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-3);
  cursor: pointer;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--violet);
  flex-shrink: 0;
}

/* honeypot: off-screen, never shown, never announced */
.hp {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-msg {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--danger);
}


.form-done {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(12px, 3vw, 40px) 0;
}

.form-done .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px var(--accent-ring);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.form-done h2 { margin: 8px 0 0; font-size: clamp(22px, 2.4vw, 30px); }
.form-done p { margin: 0; line-height: 1.5; color: var(--ink-2); }

.btn[aria-busy='true'] { opacity: 0.65; pointer-events: none; }

/* prose pages -------------------------------------------------------- */
.prose { max-width: 62ch; }
.prose h1 { font-size: clamp(32px, 4vw, 56px); margin-bottom: 8px; }
.prose h2 {
  margin: 36px 0 8px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.prose p,
.prose li { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.prose table { border-collapse: collapse; width: 100%; margin-top: 12px; }
.prose th,
.prose td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
}
.prose th { font-weight: 600; color: var(--ink); }

/* footer ------------------------------------------------------------- */
.site-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}

.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot .slogan { font-size: 13px; letter-spacing: 0.32em; }

/* cookie bar --------------------------------------------------------- */
.cookiebar {
  position: fixed;
  left: clamp(12px, 4vw, 80px);
  right: clamp(12px, 4vw, 80px);
  bottom: clamp(12px, 2vw, 28px);
  z-index: 40;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(16px, 2vw, 22px) clamp(16px, 2vw, 26px);
  border-radius: var(--radius-m);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -28px rgba(14, 23, 51, 0.45);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}


.cookiebar .body {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-grow: 1;
}

.cookiebar .ico {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
}

.cookiebar p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

.cookiebar p a { font-weight: 600; }

.cookiebar .actions { display: flex; gap: 10px; flex-shrink: 0; }

.cookiebar .actions .btn { height: 44px; padding: 0 20px; font-size: 14px; }

/* responsive --------------------------------------------------------- */
@media (max-width: 1020px) {
  .main {
    flex-direction: column;
    align-items: stretch;
  }

  .col-art { order: -1; align-self: center; }

  .col-art { flex-direction: column; align-items: center; gap: 6px; }

  .col-art .speech {
    position: static;
    order: -1;              /* bublina nad postavičku, ne pod ni */
    align-self: center;
  }

  .card-wrap { width: 100%; margin-top: 120px; }
  .card-wrap .peek { right: 12px; top: -120px; }
  .card-wrap .speech { right: auto; left: 0; top: -92px; }

  .btn { align-self: stretch; }

  .cookiebar { flex-direction: column; align-items: stretch; }
  .cookiebar .actions .btn { flex: 1; }
}

@media (max-width: 560px) {
  .site-foot { flex-direction: column; align-items: flex-start; }
  .head-link { display: none; }
  .blob { width: 420px; height: 420px; right: -160px; top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* drobnosti ---------------------------------------------------------- */
.slogan-head {
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--ink-3);
}

/* maskot kouká zpoza formuláře — musí zůstat místo pod hlavičkou */
.card-wrap { margin-top: 150px; }

@media (max-width: 1020px) {
  .card-wrap { margin-top: 120px; }
}

/* výběr jazyka ------------------------------------------------------- */
.lang { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px 1px;   /* 1 px dolů: opticky srovná písmo s ikonami */
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
}

.lang-btn:hover { border-color: #BFCCE8; }

/* svg se chová jako text a sedí na účaří — tohle ho srovná se jménem jazyka */
.lang-btn svg { display: block; }
.lang-btn span { display: block; line-height: 1; }

.lang-btn .globe { color: var(--violet); flex-shrink: 0; }
.lang-btn .chev { color: var(--ink-3); flex-shrink: 0; transition: transform 0.15s ease; }
.lang-btn[aria-expanded='true'] .chev { transform: rotate(180deg); }
.lang-btn[aria-expanded='true'] { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-soft); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  min-width: 190px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: var(--radius-s);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -24px rgba(14, 23, 51, 0.45);
}

.lang-menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}

.lang-menu li:hover,
.lang-menu li:focus-visible { background: var(--bg); outline: none; }

.lang-menu li:focus-visible { box-shadow: inset 0 0 0 2px var(--violet); }

.lang-menu li[aria-selected='true'] { font-weight: 700; }

/* odškrtnutí aktivního jazyka */
.lang-menu li[aria-selected='true']::after {
  content: '';
  width: 14px;
  height: 8px;
  border-left: 2.4px solid var(--violet);
  border-bottom: 2.4px solid var(--violet);
  transform: rotate(-45deg) translate(1px, -3px);
}

/* upozornění, že právní text běží v náhradním jazyce */
.legal-note {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: var(--radius-s);
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
  max-width: 62ch;
}
