/* Udivo – vzhled „E5: výraznější mátová“ (schváleno 22. 10. 2026) */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/pjs-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/pjs-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 {
  --ink: #12302d; --ink-2: #1f4a45; --text: #3d5c58; --soft: #5d7773; --accent: #0f766e; --accent-dark: #0b5953;
  --band: #cdeee6; --mint: #e9f7f4; --mint-2: #d8f3ee; --mint-3: #5eead4; --light: #e9f7f4; --line: #dcebe8; --white: #ffffff;
  --warn: #9a5b00; --warn-soft: #fbf1df; --bad: #a3262a; --bad-soft: #fbe7e7;
  --r-btn: 14px; --r-card: 24px; --r-panel: 32px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 17px/1.6 "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; }
/* Obsah přes celou šířku okna, okraje rostou s obrazovkou; čitelnost hlídá max-width odstavců */
.wrap { width: 100%; margin: 0 auto; padding: 0 clamp(20px, 5vw, 112px); }
.small { font-size: 14.5px; }
.muted { color: var(--soft); }
.mt { margin-top: 28px; }
h1 { font-size: clamp(34px, 5.4vw, 52px); line-height: 1.08; letter-spacing: -1.2px; margin: 0 0 16px; font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; letter-spacing: -0.8px; margin: 0 0 18px; font-weight: 800; }
h3 { font-size: 19px; margin: 0 0 6px; font-weight: 700; }
p { max-width: 70ch; }
.lead { font-size: 19px; color: var(--text); }

/* hlavička */
.top { position: sticky; top: 0; z-index: 10; background: rgba(205,238,230,.96); backdrop-filter: blur(8px); }
.top-in { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--ink); text-decoration: none; margin-right: auto; }
.logo .mark { width: 34px; height: 34px; border-radius: 12px; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.logo b { color: var(--accent); font-weight: 800; }
nav { display: flex; align-items: center; gap: 24px; }
nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 600; }
nav a:hover { color: var(--accent); }
nav a.btn { background: var(--ink); }
nav a.btn:hover { background: var(--accent); }
.menu-btn { display: none; background: #fff; border: 0; color: var(--ink); border-radius: 12px; padding: 9px 14px; font: inherit; font-size: 15px; font-weight: 700; min-height: 44px; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: var(--band); border-bottom: 1px solid #b5e2d7; padding: 8px 20px 18px; }
  nav.open { display: flex; }
  nav a { padding: 12px 0; border-bottom: 1px solid #b5e2d7; font-size: 16px; }
  nav a.btn { margin-top: 12px; border: 0; text-align: center; }
}

/* tlačítka */
.btn { display: inline-block; background: var(--accent); color: #fff !important; border: 0; border-radius: var(--r-btn); padding: 14px 24px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; min-height: 44px; }
.btn:hover { background: var(--accent-dark); }
.btn.small { padding: 10px 18px; font-size: 15px; }
.btn.ghost, .btn.light { background: #fff; color: var(--ink) !important; }
.btn.ghost:hover, .btn.light:hover { background: var(--mint-2); }
.btn.outline { background: transparent; color: var(--accent) !important; box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn[disabled] { opacity: .6; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* sekce */
section { padding: 72px 0; }
section.alt { background: var(--band); }
section.tight { padding-top: 0; }
.panel { background: var(--mint); border-radius: var(--r-panel); padding: 56px 48px; }
.hero { padding: 40px 0 0; background: var(--band); }
.hero-in { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; }
.hero .text { flex: 1 1 460px; padding-bottom: 72px; }
.hero .lead { color: var(--ink-2); margin: 0; }
.hero .device { flex: 0 1 300px; margin: 0 auto; }
.badge { display: inline-block; background: #fff; color: var(--accent); border-radius: 999px; padding: 5px 14px; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.page-head { padding: 24px 0 56px; background: var(--band); }
.page-head .panel { background: transparent; padding: 0; border-radius: 0; }
.page-head h1 { margin-bottom: 10px; }
.page-head p { margin: 0; color: var(--ink-2); font-size: 19px; }
@media (max-width: 640px) { .panel { padding: 32px 22px; border-radius: 24px; } .page-head .panel { padding: 0; } section { padding: 48px 0; } .hero .text { padding-bottom: 8px; } }

/* telefon v úvodu */
.phone { width: 280px; max-width: 100%; background: var(--ink); border-radius: 40px 40px 0 0; padding: 12px 12px 0; margin: 0 auto; }
.phone .screen { background: #fff; border-radius: 30px 30px 0 0; padding: 22px 18px; min-height: 440px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.phone .title { font-weight: 800; font-size: 16px; }
.phone .cam { height: 150px; border-radius: 18px; background: #0f2a27; display: flex; align-items: center; justify-content: center; }
.phone .cam span { width: 110px; height: 110px; border: 3px solid var(--mint-3); border-radius: 14px; }
.phone .saved { background: var(--band); color: var(--accent-dark); border-radius: 12px; padding: 10px 12px; font-weight: 700; }
.phone .row { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #e2ecea; padding-bottom: 6px; }
.phone .row:last-child { border-bottom: 0; }
.phone .k { color: var(--soft); }

/* mřížky a karty */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--light); border-radius: var(--r-card); padding: 26px; }
section.alt .card { background: #fff; }
.card.outline { background: #fff; border: 2px solid var(--band); }
.card.dark { background: var(--accent); color: #fff; }
.card.dark p { color: #d6f3ec; }
.card p { margin: 0; color: var(--ink-2); }
.card.dark h2, .card.dark h3 { color: #fff; }
.step { width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--accent); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.list2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; color: var(--text); }
@media (max-width: 520px) { .list2 { grid-template-columns: 1fr; } }
ul.check { list-style: none; padding: 0; margin: 12px 0; }
ul.check li { padding-left: 28px; position: relative; margin: 7px 0; color: var(--text); }
ul.check li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }

/* ceník */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; align-items: stretch; }
.price { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-card); padding: 28px; }
section:not(.alt) .price { background: var(--light); }
.price h3 { color: var(--ink-2); font-size: 16px; }
.price .amount { font-size: 40px; font-weight: 800; line-height: 1.2; }
.price .per { color: var(--soft); font-size: 15px; margin-bottom: 8px; }
.price .btn { margin-top: auto; text-align: center; }
.price.best { background: var(--ink) !important; color: #fff; }
.price.best h3 { color: #9fe7d7; }
.price.best .per, .price.best ul.check li { color: #c9e6e0; }
.price.best ul.check li::before { border-color: #9fe7d7; }
.price.best .btn { background: #fff; color: var(--ink) !important; }

/* tabulky, otázky */
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
th { color: var(--soft); font-weight: 700; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 6px 14px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; position: relative; padding-right: 30px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: -2px; color: var(--accent); font-size: 24px; font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--text); }

/* formuláře */
form.f { display: grid; gap: 14px; }
.f label { display: grid; gap: 6px; font-size: 15px; font-weight: 700; }
.f input, .f textarea, .f select { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; min-height: 48px; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--mint-2); }
.f textarea { min-height: 120px; }
.f .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14.5px; color: var(--text); }
.f .consent input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.f .hp { position: absolute; left: -5000px; }
.msg { padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.msg.ok { background: var(--mint); color: var(--accent-dark); }
.msg.err { background: var(--bad-soft); color: var(--bad); }

/* právní texty */
.doc { max-width: 820px; }
.doc h2 { font-size: 22px; margin-top: 34px; letter-spacing: -0.3px; }
.doc p, .doc li { color: var(--text); }
.doc pre { white-space: pre-wrap; font: 14px/1.6 Consolas, monospace; background: var(--light); border-radius: 18px; padding: 20px; color: var(--ink); }

/* patička */
.foot { background: #fff; border-top: 2px solid var(--band); padding: 28px 0 40px; margin-top: 0; font-size: 14px; color: var(--text); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.foot b { color: var(--ink); }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.foot a { color: var(--text); }

/* úvodní stránka – doplňky */
.notice { background: var(--ink); color: #d6f3ec; font-size: 14.5px; padding: 10px 0; }
.notice a { color: #fff; font-weight: 700; }
ul.trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: var(--text); }
ul.trust li { position: relative; padding-left: 22px; }
ul.trust li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 6px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.segments { padding-top: 36px; }
ul.tags { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
ul.tags li { background: var(--light); border-radius: 999px; padding: 7px 14px; font-size: 14.5px; font-weight: 600; color: var(--text); }
.shot-frame { max-width: 1280px; margin: 0 auto; border-radius: 22px; padding: 10px; background: var(--ink); box-shadow: 0 24px 60px rgba(18,48,45,.18); }
.shot-frame img { display: block; width: 100%; height: auto; border-radius: 14px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.cta-panel { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-panel > div:first-child { flex: 1 1 420px; }
.cta-panel p { margin: 0; color: var(--text); }
.cta-panel .actions { margin-top: 0; }
#ukazka, #jak { scroll-margin-top: 88px; }

/* telefon: tlačítka a karty přes celou šířku, menší mezery */
@media (max-width: 520px) {
  body { font-size: 16px; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { text-align: center; }
  .hero { padding-top: 24px; }
  .hero-in { gap: 32px; }
  .card, .price { padding: 22px; border-radius: 20px; }
  .grid3, .grid2, .prices { gap: 14px; }
  .shot-frame { padding: 6px; border-radius: 16px; }
  .shot-frame img { border-radius: 11px; }
  .cta-panel .actions { width: 100%; }
  .foot-in { flex-direction: column; }
}
/* velké monitory: o něco větší písmo, aby stránka nepůsobila prázdně */
@media (min-width: 1800px) {
  body { font-size: 18px; }
  h1 { font-size: 60px; }
  .phone { width: 300px; }
}
