/* Landing page e-booku a pop-up se stažením PDF. */
.eb { background: var(--pale); }
.eb-obal { max-width: 1280px; margin: 0 auto; padding: 24px 57px 32px; }
.eb a { color: inherit; }
:where(.eb h1, .eb h2, .eb h3, .eb p, .eb ul, .eb ol, .eb figure) { margin: 0; padding: 0; }
:where(.eb ul, .eb ol) { list-style: none; }
.eb-znak { display: block; width: 158px; height: auto; }
.eb-hlava { display: flex; align-items: center; justify-content: space-between; min-height: 84px; padding: 16px 24px; border-radius: 18px; background: var(--white); }
.eb-hlava-cta { display: inline-flex; min-height: 46px; align-items: center; padding: 0 22px; border: 1px solid var(--gray); border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; }
.eb-hlava .eb-mobil { display: none; }

.eb .eb-tl { color: var(--white); }
.eb-tl { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 6px 8px 6px 24px; border: 0; border-radius: 999px; background: var(--blue); color: var(--white); font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.eb-tl i { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--lime); color: var(--dark); font-size: 18px; font-style: normal; }
.eb-tl:hover { background: #2149e0; }
.eb-odkaz { font-size: 14px; font-weight: 700; text-underline-offset: 3px; }
.eb-nadtitul { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.eb h2.eb-velky { margin-top: 16px; font-size: 48px; font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
.eb-text { margin-top: 20px; color: var(--gray); font-size: 18px; line-height: 1.5; }

.eb-hero { display: grid; grid-template-columns: minmax(0, 1fr) 454px; gap: 72px; align-items: center; margin-top: 16px; padding: 56px; border-radius: 28px; background: var(--white); }
.eb-stitek { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #eaf0ff; color: var(--blue); font-size: 12px; font-weight: 700; }
.eb h1 { margin-top: 22px; font-size: 64px; font-weight: 800; line-height: 1.06; letter-spacing: -.03em; }
.eb h1 span { display: block; color: var(--blue); }
.eb-hero .eb-text { max-width: 530px; }
.eb-hero .eb-tl { margin-top: 26px; }
.eb-pozn { margin-top: 14px; color: var(--gray); font-size: 13px; }
.eb-hero .eb-odkaz { display: inline-block; margin-top: 24px; }
.eb-foto { position: relative; }
.eb-foto img, .eb-zastupce { display: block; width: 100%; height: 560px; border-radius: 24px; object-fit: cover; }
.eb-zastupce { display: grid; place-items: center; padding: 24px; background: repeating-linear-gradient(45deg, #e9edf3 0 14px, #f4f6f9 14px 28px); color: var(--gray); font-size: 14px; font-weight: 600; text-align: center; }
.eb-chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--white); box-shadow: 0 8px 24px rgba(11, 13, 16, .18); font-size: 15px; font-weight: 700; white-space: nowrap; }
.eb-chip i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--lime); font-style: normal; font-size: 15px; }
.eb-chip.c1 { top: 36px; left: -24px; }
.eb-chip.c2 { top: 142px; right: -24px; }
.eb-chip.c3 { bottom: 40px; left: -24px; }
.eb-kolo { position: absolute; right: -44px; bottom: -8px; display: grid; width: 112px; height: 112px; place-items: center; border-radius: 50%; background: var(--lime); font-size: 14px; font-weight: 800; line-height: 1.1; text-align: center; transform: rotate(-8deg); }
.eb-kolo b { display: block; font-size: 18px; font-weight: 800; }

.eb-pruh { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 16px; padding: 32px; border-radius: 20px; background: var(--dark); color: var(--white); }
.eb-pruh strong { display: block; color: var(--lime); font-size: 20px; font-weight: 700; }
.eb-pruh span { display: block; margin-top: 8px; color: #c3c9d6; font-size: 15px; }

.eb-dva { display: grid; grid-template-columns: minmax(0, 1fr) 594px; gap: 40px; align-items: center; margin-top: 80px; }
.eb-otazky { display: grid; gap: 16px; margin-top: 24px; font-size: 16px; font-weight: 500; }
.eb-otazky li { display: flex; gap: 14px; align-items: center; }
.eb-otazky i { display: grid; flex: none; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: #eaf0ff; color: var(--blue); font-size: 13px; font-style: normal; font-weight: 800; }
.eb-karta { padding: 40px; border-radius: 22px; background: var(--white); }
.eb-karta h3 { margin-top: 12px; font-size: 32px; font-weight: 800; line-height: 1.15; letter-spacing: -.015em; }
.eb-tabulka { margin-top: 20px; font-size: 16px; }
.eb-tabulka div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #e4e7ec; }
.eb-tabulka b { font-weight: 700; white-space: nowrap; }
.eb-soucet { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 16px; border-radius: 12px; background: var(--lime); font-size: 16px; font-weight: 700; }
.eb-soucet b { white-space: nowrap; }
.eb-mikro { margin-top: 12px; color: var(--gray); font-size: 12px; line-height: 1.45; }

.eb-rady { display: grid; gap: 30px; margin-top: 34px; }
.eb-rady li { display: grid; grid-template-columns: 54px 1fr; }
.eb-rady span { color: var(--blue); font-size: 17px; font-weight: 700; line-height: 1.3; }
.eb-rady strong { display: block; font-size: 20px; font-weight: 700; }
.eb-rady small { display: block; margin-top: 4px; color: var(--gray); font-size: 14px; }
.eb-pill { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--lime); font-size: 12px; font-weight: 700; }
.eb-karta p.eb-text { font-size: 17px; }
.eb-ramecek { margin: 22px 0; padding: 16px 20px; border-radius: 12px; background: #eaf0ff; font-size: 16px; font-weight: 700; }
.eb-karta .eb-odkaz { font-size: 14px; }
.eb-dva.eb-sverchu { align-items: end; }

.eb-tym img { display: block; width: 100%; height: auto; aspect-ratio: 555 / 388; border-radius: 24px; object-fit: cover; }
.eb-kdo { margin-top: 18px; font-size: 16px; font-weight: 500; line-height: 1.5; }
.eb-dalsi { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 700; text-decoration: none; }

.eb-cil { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 56px; align-items: center; margin-top: 80px; padding: 56px; border-radius: 28px; background: var(--dark); color: var(--white); }
.eb-cil .eb-nadtitul { color: var(--lime); }
.eb-cil .eb-text { color: #c3c9d6; }
.eb-cil .eb-tl { margin-top: 24px; }
.eb-cil .eb-mikro { color: #aeb5c4; font-size: 13px; }
.eb-kroky { display: grid; gap: 12px; }
.eb-kroky li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 24px; border-radius: 16px; background: #181b20; }
.eb-kroky span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--blue); font-weight: 700; }
.eb-kroky strong { display: block; font-size: 18px; font-weight: 700; }
.eb-kroky small { display: block; margin-top: 6px; color: #c3c9d6; font-size: 14px; line-height: 1.45; }

.eb-stah { display: flex; align-items: center; gap: 24px; margin-top: 48px; padding: 24px 32px; border-radius: 20px; background: var(--white); }
.eb-obalka { flex: none; width: 54px; height: 80px; border-radius: 6px; object-fit: cover; }
div.eb-obalka { background: var(--dark); }
.eb-stah > div:not(.eb-obalka) { flex: 1; min-width: 0; }
.eb-stah strong { display: block; font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.eb-stah small { display: block; margin-top: 6px; color: var(--gray); font-size: 14px; }
.eb-stah button { flex: none; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--dark); color: var(--white); font: inherit; font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer; }

.eb-faq-sek { display: grid; grid-template-columns: minmax(0, 1fr) 672px; gap: 56px; margin-top: 80px; }
.eb-faq-sek .eb-odkaz { display: inline-block; margin-top: 18px; }
.eb-faq { padding: 12px 32px; border-radius: 22px; background: var(--white); }
.eb-faq details + details { border-top: 1px solid #e4e7ec; }
.eb-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 20px; font-weight: 700; list-style: none; cursor: pointer; }
.eb-faq summary::-webkit-details-marker { display: none; }
.eb-faq summary::after { content: "+"; display: grid; flex: none; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #eaf0ff; color: var(--blue); font-weight: 500; }
.eb-faq details[open] summary::after { content: "–"; background: var(--blue); color: var(--white); }
.eb-faq details p { margin: -8px 56px 22px 0; color: var(--gray); font-size: 16px; line-height: 1.5; }

.eb-pata { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid #d7dbe3; color: var(--gray); font-size: 13px; }
.eb-pata div { display: flex; gap: 20px; align-items: center; }
.eb-pata a { text-decoration: none; }
.eb-pata .cookie-settings-link { color: var(--gray); }

/* Pop-up */
.eb-dialog { width: min(560px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 32px 32px 34px; border: 0; border-radius: 26px; background: var(--white); color: var(--dark); overflow-y: auto; overscroll-behavior: contain; }
.eb-dialog::backdrop { background: rgba(11, 13, 16, .72); }
.eb-dialog h2 { margin: 0; }
.eb-dialog h2:focus { outline: none; }
.eb-dhlava { display: flex; align-items: center; gap: 16px; }
.eb-dhlava .eb-obalka { width: 40px; height: 56px; }
.eb-dhlava div:not(.eb-obalka) { flex: 1; font-size: 13px; color: var(--gray); }
.eb-dhlava strong { display: block; color: var(--blue); font-size: 12px; font-weight: 600; }
.eb-x { display: grid; flex: none; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: none; font-size: 24px; line-height: 1; cursor: pointer; }
.eb-x:hover { background: var(--pale); }
.eb-dnadpis { margin-top: 24px; font-size: 34px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.eb-dialog p { margin: 14px 0 0; color: var(--gray); font-size: 16px; line-height: 1.5; }
.eb-dialog label { display: block; margin-top: 26px; font-size: 14px; font-weight: 700; }
.eb-dialog input[type="email"] { display: block; width: 100%; min-height: 54px; margin-top: 8px; padding: 12px 16px; border: 1px solid #8b93a5; border-radius: 12px; background: var(--white); color: var(--dark); font: inherit; font-size: 16px; }
.eb-dialog input::placeholder { color: var(--gray); opacity: 1; }
.eb-dialog input[aria-invalid="true"] { border-color: #c8322b; }
.eb-dialog .eb-chyba { margin-top: 8px; color: #c8322b; font-size: 14px; font-weight: 500; }
.eb-dialog .eb-gdpr { margin-top: 26px; font-size: 12px; }
.eb-dialog .eb-gdpr a { color: var(--blue); }
.eb-past { display: none; }
.eb-dialog .eb-tl { justify-content: space-between; width: 100%; margin-top: 16px; }
.eb-dialog .eb-tl:disabled { opacity: .7; cursor: progress; }
.eb-dialog button:focus-visible, .eb-dialog a:focus-visible, .eb-dialog input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.eb-fajfka { display: grid; width: 56px; height: 56px; place-items: center; margin-top: 18px; border-radius: 50%; background: var(--lime); font-size: 24px; font-weight: 800; }
.eb-dialog .eb-pomoc { margin-top: 16px; color: var(--dark); font-size: 12px; }
.eb-zavrit { width: 100%; min-height: 52px; margin-top: 10px; border: 0; border-radius: 999px; background: var(--dark); color: var(--white); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }

@media (max-width: 1160px) {
  .eb-obal { padding: 16px 24px 24px; }
  .eb-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 48px; padding: 40px; }
  .eb h1 { font-size: clamp(40px, 5.4vw, 64px); }
  .eb-dva, .eb-faq-sek, .eb-cil { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .eb-chip.c1, .eb-chip.c3 { left: -12px; }
  .eb-chip.c2 { right: -12px; }
  .eb-kolo { right: -12px; }
}
@media (max-width: 860px) {
  .eb-hero, .eb-dva, .eb-faq-sek, .eb-cil { grid-template-columns: 1fr; }
  .eb-tym { order: 0; }
  .eb-pruh { grid-template-columns: 1fr; gap: 20px; }
  .eb-foto { max-width: 454px; }
}
@media (max-width: 767px) {
  .eb-obal { padding: 8px 12px 20px; }
  .eb-hlava { min-height: 60px; padding: 8px 12px; border-radius: 16px; }
  .eb-znak { width: 112px; }
  .eb-hlava-cta { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .eb-hlava .eb-desktop { display: none; }
  .eb-hlava .eb-mobil { display: inline; }
  .eb-hero { gap: 18px; padding: 20px 12px 12px; border-radius: 20px; }
  .eb h1 { margin-top: 16px; font-size: 32px; line-height: 1.1; }
  .eb-hero .eb-text, .eb-text { font-size: 16px; }
  .eb-foto img, .eb-zastupce { height: 340px; }
  .eb-chip { padding: 5px 14px 5px 5px; font-size: 13px; }
  .eb-chip i { width: 26px; height: 26px; font-size: 13px; }
  .eb-chip.c1 { top: 12px; left: 8px; }
  .eb-chip.c2 { display: none; }
  .eb-chip.c3 { bottom: 12px; left: 8px; }
  .eb-kolo { right: -6px; bottom: -6px; width: 84px; height: 84px; font-size: 12px; }
  .eb-kolo b { font-size: 14px; }
  .eb-pruh { margin-top: 8px; padding: 22px 20px; border-radius: 18px; }
  .eb-pruh strong { font-size: 16px; }
  .eb-pruh span { font-size: 14px; }
  .eb-dva, .eb-cil, .eb-faq-sek { margin-top: 44px; }
  .eb-dva { gap: 24px; }
  .eb h2.eb-velky { font-size: 32px; }
  .eb-otazky { font-size: 15px; }
  .eb-karta { padding: 22px 20px; border-radius: 18px; }
  .eb-karta h3 { font-size: 24px; }
  .eb-tabulka { font-size: 15px; }
  .eb-soucet { font-size: 15px; }
  .eb-karta p.eb-text { font-size: 16px; }
  .eb-rady { gap: 18px; margin-top: 22px; }
  .eb-rady li { grid-template-columns: 38px 1fr; }
  .eb-rady strong { font-size: 15px; }
  .eb-rady small { font-size: 12px; }
  .eb-ramecek { font-size: 14px; }
  .eb-cil { padding: 28px 20px 20px; border-radius: 20px; gap: 24px; }
  .eb-kroky li { grid-template-columns: 32px 1fr; gap: 12px; padding: 18px 16px; }
  .eb-kroky span { width: 32px; height: 32px; font-size: 14px; }
  .eb-stah { flex-wrap: wrap; gap: 14px; margin-top: 16px; padding: 20px; border-radius: 18px; }
  .eb-stah > div:not(.eb-obalka) { flex: 1 1 200px; }
  .eb-stah strong { font-size: 20px; }
  .eb-stah button { width: 100%; }
  .eb-faq { padding: 4px 20px; border-radius: 18px; }
  .eb-faq summary { padding: 16px 0; font-size: 16px; }
  .eb-faq details p { margin: -4px 0 16px; font-size: 14px; }
  .eb-pata { margin-top: 28px; flex-wrap: wrap; }

  .eb-dialog { width: 100vw; max-height: 100dvh; margin: auto 0 0; padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; }
  .eb-dnadpis { margin-top: 16px; font-size: 26px; }
  .eb-dialog p { margin-top: 10px; font-size: 15px; }
  .eb-dialog label { margin-top: 18px; }
  .eb-dialog .eb-gdpr { margin-top: 18px; }
}
