/* Vánoční doporučovací kampaň – Universal */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('../fonts/outfit-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: 'Outfit';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('../fonts/outfit-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 {
  --navy: #072156;
  --navy-hover: #0B2C7A;
  --orange: #FF9600;
  --orange-text: #E08400;
  --bg: #E6E8EB;
  --card: #F1F2F5;
  --muted: #5A6B84;
  --muted-2: #7A859A;
  --muted-3: #8A93A5;
  --error: #C0392B;
  --rule: rgba(5, 22, 59, 0.22);
  --shadow-card: 0 10px 30px rgba(5, 22, 59, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --shadow-card-hover: 0 18px 40px rgba(5, 22, 59, 0.14);
  --shadow-btn: 0 14px 30px rgba(7, 33, 86, 0.3);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); }
a { color: var(--orange-text); text-decoration: none; }
a:hover { color: var(--navy); }
::selection { background: var(--orange); color: var(--navy); }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  font-family: Outfit, Arial, sans-serif;
  color: var(--navy);
  background: var(--bg);
}

.watermark {
  position: absolute;
  left: 50%;
  top: 80px;
  transform: translateX(-50%);
  font-weight: 700;
  font-size: clamp(160px, 28vw, 460px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(5, 22, 59, 0.045);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.container {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px 0;
}

/* Štítky */
.tag {
  display: inline-block;
  background: rgba(255, 150, 0, 0.16);
  color: var(--orange-text);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.tag--sm { padding: 6px 12px; font-size: 11px; }
.tag--dark { background: rgba(255, 150, 0, 0.2); color: #FFC46B; }
.accent { color: var(--orange); }

/* Tlačítka */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  cursor: pointer;
  font: inherit;
  background: var(--navy);
  color: #FFFFFF;
  border-radius: 999px;
  font-weight: 600;
  transition: background-color .2s;
}
.btn:hover { background: var(--navy-hover); color: #FFFFFF; }
.btn:disabled { cursor: progress; opacity: .7; }
.btn--sm { padding: 13px 26px; font-size: 15px; box-shadow: 0 8px 20px rgba(7, 33, 86, 0.25); }
.btn--lg { padding: 19px 34px; font-size: 17px; box-shadow: var(--shadow-btn); }
.btn--block { display: flex; width: 100%; margin-top: 26px; }
.arrow { color: var(--orange); }

/* Navigace */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.logo-pill {
  background: #FFFFFF;
  border-radius: 999px;
  padding: 12px 24px;
  box-shadow: 0 6px 20px rgba(5, 22, 59, 0.08);
}
.logo-pill img { height: 28px; width: auto; display: block; }
.nav-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pill-badge {
  background: #FFFFFF;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--orange-text);
  box-shadow: 0 4px 14px rgba(5, 22, 59, 0.08);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 48px;
  align-items: center;
  padding: 84px 0 56px;
}
h1 {
  font-weight: 300;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 24px 0 0;
}
h1 .accent { font-weight: 400; }
.hero-lead { font-size: 19px; line-height: 1.6; color: var(--muted); margin: 26px 0 0; max-width: 620px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 34px; }
.fineprint { font-size: 13px; line-height: 1.5; color: var(--muted-2); margin: 18px 0 0; max-width: 560px; }

.stat-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(5, 22, 59, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: clamp(32px, 5vw, 44px) clamp(24px, 5vw, 40px);
}
.stat-symbol { position: absolute; right: -60px; bottom: -70px; width: 260px; opacity: 0.14; }
.stat-body { position: relative; }
.stat-number {
  font-weight: 200;
  font-size: clamp(64px, 10vw, 128px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: 18px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat-unit { font-size: 0.38em; font-weight: 300; color: var(--orange); margin-left: 8px; letter-spacing: 0; }
.stat-label { font-size: 20px; line-height: 1.4; color: var(--muted); margin-top: 12px; max-width: 340px; }
.stat-note { font-size: 12px; line-height: 1.5; color: var(--muted-3); margin-top: 22px; max-width: 360px; }

/* Sekce */
.section { padding: 56px 0 24px; }
.section--how { padding-top: 72px; }
.section-title {
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
.section-sub { font-size: 17px; color: var(--muted); margin: 12px 0 0; }

/* Karty situací */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 18px;
  margin-top: 36px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: 26px;
  background: var(--card);
  color: var(--navy);
  box-shadow: var(--shadow-card);
  transition: background-color .25s, box-shadow .25s;
}
.card:hover { background: #FFFFFF; color: var(--navy); box-shadow: var(--shadow-card-hover); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(5, 22, 59, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-title { font-size: 24px; font-weight: 500; line-height: 1.15; }
.card-text { font-size: 16px; line-height: 1.45; color: var(--muted); flex: 1; }
.card-link { font-size: 15px; font-weight: 600; color: var(--orange-text); }

/* Jak to funguje */
#jak, #formular { scroll-margin-top: 20px; }
.steps {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 40px 24px;
}
.step { position: relative; padding: 44px 28px 0 0; }
.step-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform-origin: left center;
}
.step--last .step-line { background: linear-gradient(90deg, #FF9600, rgba(255, 150, 0, 0.2)); }
.step-dot {
  position: absolute;
  left: 0;
  top: -9px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--orange);
}
.step--last .step-dot { background: var(--orange); }
.step-num {
  display: block;
  font-weight: 200;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.step--last .step-num { color: var(--orange); }
.step-title { font-size: 28px; font-weight: 500; margin: 14px 0 0; line-height: 1.15; }
.step-text { font-size: 17px; line-height: 1.55; color: var(--muted); margin: 12px 0 0; max-width: 340px; }

/* Proč Universal */
.why {
  margin-top: 56px;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(255, 150, 0, 0.35), transparent 65%),
    linear-gradient(135deg, #041030 0%, #0A2160 60%, #0B2C7A 100%);
  padding: clamp(36px, 6vw, 72px);
}
.why-symbol { position: absolute; right: -80px; bottom: -110px; width: 420px; max-width: none; opacity: 0.1; }
.why-body { position: relative; max-width: 820px; }
.why-text {
  font-weight: 300;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 22px 0 0;
}

/* Formulář + FAQ */
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 28px;
  padding: 72px 0 56px;
  align-items: start;
}
.form-card {
  background: var(--card);
  border-radius: 32px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 24px 60px rgba(5, 22, 59, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.form-title {
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}
.side > .form-title { margin-bottom: 20px; }
.form-intro { font-size: 15px; color: var(--muted); line-height: 1.5; margin: 12px 0 26px; }
.fields { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field input,
.field select {
  font-family: inherit;
  font-size: 17px;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: #FFFFFF;
  color: var(--navy);
  outline: none;
  width: 100%;
  transition: border-color .2s;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23072156' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E") no-repeat right 18px center;
}
.field input:focus,
.field select:focus { border-color: var(--orange); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 12px 0 0; font-size: 14px; color: var(--error); }
.form-note { font-size: 12px; line-height: 1.5; color: var(--muted-3); margin: 16px 0 0; }
.form-note a { color: inherit; text-decoration: underline; }
.form-note a:hover { color: var(--navy); }

.thanks:focus { outline: none; }
.thanks-check { font-weight: 200; font-size: 96px; line-height: 1; color: var(--orange); }
.thanks .form-title { margin-top: 12px; }
.thanks-text { font-size: 18px; line-height: 1.55; color: var(--muted); margin: 16px 0 0; }

.faq { border-bottom: 1px solid var(--rule); }
.faq-item { border-top: 1px solid var(--rule); transition: border-color .2s; }
.faq-item:hover { border-top-color: var(--orange); }
.faq-q { margin: 0; }
.faq-q button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 24px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
}
.faq-sign { font-size: 28px; font-weight: 300; color: var(--orange); line-height: 1; }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .35s var(--ease), opacity .35s var(--ease);
}
.faq-a > p {
  overflow: hidden;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  transition: padding .35s var(--ease), margin .35s var(--ease);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; opacity: 1; }
.faq-item.is-open .faq-a > p { padding-bottom: 24px; margin-top: -12px; }

.advisor-card {
  margin-top: 28px;
  background: var(--card);
  border-radius: 22px;
  padding: 24px 26px;
  box-shadow: 0 8px 24px rgba(5, 22, 59, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.advisor-name { font-size: 22px; font-weight: 500; margin-top: 10px; }
.advisor-contact { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 4px; }
.advisor-contact a { color: inherit; }
.advisor-contact a:hover { color: var(--navy); }

.footer { padding: 20px 0 40px; font-size: 12px; line-height: 1.6; color: var(--muted-3); text-align: center; }
.footer a { color: inherit; text-decoration: underline; }
.footer a:hover { color: var(--navy); }

/* Výchozí stav animací; nastavuje se jen s JS a bez prefers-reduced-motion. */
.anim [data-reveal="up"],
.anim [data-reveal="down"],
.anim [data-reveal="pop"] { opacity: 0; }
.anim [data-reveal="line"] { transform: scaleX(0); }
