/* Styly webu. Většina vzhledu sekcí je v šablonách (převzato z rozvržení), zde je základ, hlavička, patička a mobil. */
:root { --navy: #14243B; --navy2: #1E3556; --amber: #E8A33D; --amber-ink: #9A5B0F; --ink: #22303F; --muted: #55626F; --line: #E1E6ED; --bg: #F3F5F8; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: 'Source Sans 3', 'Segoe UI', sans-serif; font-size: 18px; line-height: 1.55; -webkit-text-size-adjust: 100%; }
h1, h2, h3, h4 { font-family: 'Schibsted Grotesk', 'Segoe UI', sans-serif; color: var(--navy); margin: 0; line-height: 1.15; }
p { margin: 0; }
a { color: var(--navy); }
a:hover { color: var(--amber-ink); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.kicker { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; background: var(--amber); color: var(--navy); font-weight: 700; text-decoration: none; border-radius: 8px; font-family: 'Schibsted Grotesk', sans-serif; font-size: 17px; border: 0; cursor: pointer; text-align: center; }
.btn:hover { background: #F2B95F; color: var(--navy); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn2 { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 2px solid var(--navy); color: var(--navy); font-weight: 700; text-decoration: none; border-radius: 8px; font-family: 'Schibsted Grotesk', sans-serif; font-size: 17px; }
.btn2:hover { background: var(--navy); color: #FFFFFF; }
.btn2.light { border-color: #FFFFFF; color: #FFFFFF; }
.btn2.light:hover { background: #FFFFFF; color: var(--navy); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--amber); color: var(--navy); padding: 10px 16px; border-radius: 6px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

/* hlavička */
.site-header { border-bottom: 1px solid var(--line); background: #FFFFFF; position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 800; font-size: 20px; text-decoration: none; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 14px; height: 14px; background: var(--amber); border-radius: 3px; display: inline-block; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 16px; font-weight: 600; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { color: var(--amber-ink); }
.nav .nav-cta { min-height: 46px; font-size: 16px; margin-left: 6px; }
.nav .nav-cta[aria-current] { color: var(--navy); }
.menu-btn { display: none; min-height: 44px; padding: 0 16px; border: 2px solid var(--navy); border-radius: 8px; background: #FFFFFF; color: var(--navy); font: 700 16px 'Schibsted Grotesk', sans-serif; cursor: pointer; }

/* FAQ */
details { border-bottom: 1px solid #DDE3EA; }
details summary { cursor: pointer; font-weight: 700; color: var(--navy); font-family: 'Schibsted Grotesk', sans-serif; font-size: 19px; padding: 20px 0; }
details p { padding: 0 0 20px; }

/* formuláře */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field input { min-height: 48px; border: 1px solid #C8D1DC; border-radius: 8px; padding: 0 14px; font: inherit; font-size: 16px; background: #FFFFFF; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; }
.form-msg { padding: 12px 14px; border-radius: 8px; background: #E1F0E7; color: #23573C; }
.form-msg.err { background: #FBE3DF; color: #7A2416; }

/* patička */
.site-footer { background: #0E1A2B; color: #C9D3E0; padding: 64px 0 40px; font-size: 16px; }
.site-footer a { color: #C9D3E0; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col h2 { color: #FFFFFF; font-size: 16px; margin-bottom: 6px; }
.foot-brand { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 800; font-size: 20px; color: #FFFFFF; }
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid #23324A; display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; color: #9AA8BA; }

/* stránka rozhovoru */
.page-analyza { background: var(--bg); }
.chat-frame { display: block; width: 100%; height: calc(100vh - 77px); height: calc(100dvh - 77px); border: 0; }

/* tablet a mobil */
@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: #FFFFFF; border-bottom: 1px solid var(--line);
         flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; box-shadow: 0 16px 30px rgba(20,36,59,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin: 14px 0 0; border-bottom: 0; }
}
@media (max-width: 900px) {
  .span2 { grid-column: auto !important; }
  nav[aria-label="Obsah stránky"] { position: static !important; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  main section { padding-top: 56px !important; padding-bottom: 56px !important; }
  main h1 { font-size: 36px !important; }
  main h2 { font-size: 28px !important; }
  main h3 { font-size: 20px !important; }
  main p[style*="font-size: 2"] { font-size: 18px !important; }
  .btn, .btn2 { width: 100%; }
  .nav .nav-cta { width: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
