/* =========================================================
   Ing. Radka Vaverková – účetnictví Pelhřimov
   Světlá varianta A. Písma jsou uložena na webu (GDPR).
   ========================================================= */

@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/source-serif-4-latin-ext-600-normal.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: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/source-serif-4-latin-600-normal.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; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/public-sans-latin-ext-400-normal.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: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/public-sans-latin-400-normal.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; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/public-sans-latin-ext-600-normal.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: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/public-sans-latin-600-normal.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: #14213D;        /* tmavě modrá – nadpisy, hlavní tlačítko */
  --text: #1E2633;       /* běžný text */
  --text-2: #445064;     /* doplňkový text */
  --muted: #556070;      /* popisky */
  --brass: #8A6A28;      /* zlatá pro text (kontrast 4.9:1) */
  --brass-l: #C9AE6F;    /* zlatá pro linky a akcenty */
  --brass-bg: #FBF6EA;
  --mist: #F4F6FA;       /* světlé pozadí sekcí */
  --card: #EEF1F6;
  --line: #DDE2EA;
  --field: #C4CCD8;
  --white: #FFFFFF;
  --ok: #1F6B45;
  --err: #A3322A;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.65 var(--sans); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--brass); }
:focus-visible { outline: 3px solid var(--brass-l); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.section { padding: 88px 20px; }
.section--mist { background: var(--mist); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 40em; margin-bottom: 40px; }
h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; }
.lead { color: var(--muted); }
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 1000; background: var(--white); padding: 8px 14px; }

/* Tlačítka */
.btn { display: inline-block; padding: 14px 26px; border-radius: 4px; font-weight: 600; text-decoration: none; border: 1px solid transparent; font: inherit; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: #22325A; color: var(--white); }
.btn--ghost { background: var(--white); border-color: var(--field); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

/* Hlavička */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid #E3E7EE; padding: 0 20px; }
.site-header .wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; flex-direction: column; line-height: 1.25; text-decoration: none; }
.brand strong { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); }
.brand span { font-size: 12px; color: var(--brass); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav a { color: #2E3848; text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--brass); }
.nav .phone { color: var(--ink); border: 1px solid var(--brass-l); background: var(--brass-bg); padding: 9px 16px; border-radius: 4px; font-weight: 600; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid #EEF1F5; font-size: 17px; }
  .nav .phone { margin-top: 16px; text-align: center; }
}

/* Úvod */
.hero { background: var(--mist); padding: 64px 20px 96px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 56px); line-height: 1.1; }
.hero-text > p { font-size: 19px; color: var(--text-2); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero-media { flex: 1 1 340px; min-width: 0; position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: #DDE4EE; }
.since { position: absolute; left: -24px; bottom: -28px; background: var(--white); padding: 18px 22px; border-radius: 4px; border-bottom: 3px solid var(--brass-l); box-shadow: 0 12px 32px rgba(20,33,61,.12); display: flex; flex-direction: column; }
.since strong { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--ink); }
.since span { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .since { left: 16px; } }

/* Pruh faktů */
.facts { padding: 56px 20px 0; }
.facts dl { margin: 0 auto; max-width: var(--wrap); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border: 1px solid var(--line); border-radius: var(--r); }
.facts dl > div { padding: 24px 28px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); }
.facts dl > div:last-child { border-right: 0; }
.facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--brass); font-weight: 600; }
.facts dd { margin: 0; font-weight: 600; }
@media (max-width: 760px) { .facts dl > div { border-right: 0; border-bottom: 1px solid var(--line); } .facts dl > div:last-child { border-bottom: 0; } }

/* Služby */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.service { background: var(--card); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.service svg { width: 32px; height: 32px; color: var(--ink); }
.service h3 { font-size: 20px; }
.service ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.service li::marker { color: var(--brass-l); }

/* O mně */
.about { display: flex; flex-wrap: wrap; gap: 56px; }
.about > div { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about p { color: #2E3848; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--white); border: 1px solid #D3D9E3; padding: 6px 14px; border-radius: 4px; font-size: 15px; }
.entities { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.entity { flex: 1 1 200px; background: var(--white); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; }
.entity small { font-size: 13px; color: var(--muted); }
.entity strong { color: var(--ink); }
.entity span { font-size: 14px; color: var(--muted); }

/* Ceník */
.pricing { display: flex; flex-wrap: wrap; gap: 56px; }
.pricing > div:first-child { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.price-list { flex: 2 1 520px; min-width: 0; margin: 0; font-variant-numeric: tabular-nums; }
.price-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-list > div:last-child { border-bottom: 0; }
.price-list dd { margin: 0; font-weight: 600; color: var(--ink); white-space: nowrap; }
.price-list dt { min-width: 0; }

/* Kontakt */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-info p { color: var(--text-2); }
.contact-list { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.contact-list dt { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-list dd { margin: 0; font-size: 18px; }
.contact-list code { font: 600 16px/1.4 ui-monospace, Consolas, monospace; color: var(--ink); }
.form { flex: 1 1 420px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 12px 32px rgba(20,33,61,.06); }
.form h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.form .row { display: flex; flex-wrap: wrap; gap: 16px; }
.form .row > .field { flex: 1 1 180px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { font: inherit; color: var(--text); background: var(--white); padding: 12px; border: 1px solid var(--field); border-radius: 4px; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201,174,111,.45); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { font-size: 15px; padding: 12px 14px; border-radius: 4px; }
.form-status.ok { background: #E8F3EC; color: var(--ok); }
.form-status.err { background: #FBECEA; color: var(--err); }
.form button[disabled] { opacity: .6; cursor: wait; }

/* Patička */
.site-footer { border-top: 1px solid #E3E7EE; padding: 40px 20px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.site-footer strong { color: var(--text); display: block; }
.site-footer p { margin: 0; }
.site-footer .links { display: flex; flex-direction: column; gap: 6px; }

/* Textové stránky (zásady) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 88px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin-bottom: 8px; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; }
.doc p, .doc li { color: #2E3848; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.doc .updated { color: var(--muted); font-size: 15px; }
.table-scroll { overflow-x: auto; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
