/* ==========================================================================
   Richard Ondřich — Finance | shared stylesheet
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg: #fbfbfd;
  --bg-elevated: #ffffff;
  --surface: rgba(255,255,255,0.72);
  --border: rgba(10,37,64,0.10);
  --text: #0a2540;
  --text-muted: #5a6b80;
  --accent: #0a2540;
  --accent-2: #2d7ff9;
  --accent-contrast: #ffffff;
  --shadow-sm: 0 1px 2px rgba(10,37,64,.04), 0 1px 3px rgba(10,37,64,.06);
  --shadow-md: 0 10px 30px rgba(10,37,64,.08), 0 2px 6px rgba(10,37,64,.04);
  --shadow-lg: 0 20px 60px rgba(10,37,64,.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --max: 1160px;
}
[data-theme="dark"] {
  --bg: #05111f;
  --bg-elevated: #0b1c31;
  --surface: rgba(11,28,49,0.72);
  --border: rgba(255,255,255,0.10);
  --text: #f3f6fb;
  --text-muted: #9fb0c6;
  --accent: #5aa7ff;
  --accent-2: #8ec0ff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 20px 50px rgba(0,0,0,.5);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  line-height: 1.55;
  transition: background .4s var(--ease), color .4s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
}

/* ---------- Top bar ---------- */
.topbar { background: var(--accent); color: var(--accent-contrast); font-size: 13px; }
[data-theme="dark"] .topbar { background: #081627; }
.topbar-inner {
  max-width: var(--max); margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.topbar a { color: inherit; opacity: .9; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { opacity: 1; }
.topbar .socials-top { display: flex; gap: 14px; }
.topbar .socials-top svg { width: 16px; height: 16px; }
.topbar .contacts-top { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; display: block; }
.brand-mark svg, .brand-mark img { width: 100%; height: 100%; display: block; }
[data-theme="dark"] .brand-mark img { filter: brightness(0) invert(1) opacity(0.92); }
.brand-text { line-height: 1.1; }
.brand-text strong { display: block; font-weight: 700; font-size: 14px; letter-spacing: -0.01em; }
.brand-text span { font-size: 11px; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links > li { list-style: none; position: relative; }
.nav-links a, .nav-links .nav-toggle-btn {
  font-size: 14px; color: var(--text-muted); transition: color .2s var(--ease);
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-links a:hover,
.nav-links a.is-active,
.nav-links .nav-toggle-btn:hover,
.nav-links li.has-dropdown:hover > .nav-toggle-btn { color: var(--text); }
.nav-links a.is-active { font-weight: 500; }
.nav-links .caret { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.nav-links li.has-dropdown:hover .caret,
.nav-links li.has-dropdown.is-open .caret { transform: rotate(180deg); }

/* Dropdown menu */
.nav-dropdown {
  position: absolute; top: 100%; left: -12px;
  min-width: 260px; margin: 8px 0 0; padding: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 60;
}
.nav-links li.has-dropdown:hover .nav-dropdown,
.nav-links li.has-dropdown.is-open .nav-dropdown,
.nav-dropdown:hover { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown li { list-style: none; }
.nav-dropdown a {
  display: block; padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav-dropdown a:hover, .nav-dropdown a.is-active {
  background: rgba(45,127,249,.08); color: var(--accent-2);
}
[data-theme="dark"] .nav-dropdown a:hover,
[data-theme="dark"] .nav-dropdown a.is-active { background: rgba(90,167,255,.12); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), background .2s var(--ease);
}
.theme-toggle:hover { background: var(--bg-elevated); transform: rotate(15deg); }
.theme-toggle svg { width: 16px; height: 16px; }

.nav-burger {
  display: none;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border);
  align-items: center; justify-content: center;
}
.nav-burger svg { width: 20px; height: 20px; }

@media (max-width: 920px) {
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    padding: 12px 16px 20px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 4px;
    max-height: calc(100vh - 100px); overflow-y: auto;
  }
  .nav-links.is-open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links a, .nav-links .nav-toggle-btn {
    padding: 12px 14px; border-radius: var(--radius-sm);
    width: 100%; justify-content: space-between;
  }
  .nav-links a:hover, .nav-links .nav-toggle-btn:hover { background: rgba(45,127,249,.06); }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 4px 12px; margin: 0;
    background: transparent;
    max-height: 0; overflow: hidden;
    transition: max-height .3s var(--ease);
  }
  .nav-links li.has-dropdown.is-open .nav-dropdown { max-height: 500px; }
  .nav-burger { display: inline-flex; }
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; position: relative; }
@media (max-width: 720px) { section { padding: 70px 0; } }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 100px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 600px;
  background:
    radial-gradient(600px circle at 30% 30%, rgba(10,37,64,0.10), transparent 60%),
    radial-gradient(500px circle at 75% 50%, rgba(45,127,249,0.08), transparent 60%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
[data-theme="dark"] .hero::before {
  background:
    radial-gradient(600px circle at 30% 30%, rgba(90,167,255,0.14), transparent 60%),
    radial-gradient(500px circle at 75% 50%, rgba(142,192,255,0.10), transparent 60%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 48px; align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
  padding: 6px 12px; border: 1px solid var(--border);
  border-radius: 999px; background: var(--surface);
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34c759; box-shadow: 0 0 0 3px rgba(52,199,89,0.18);
}
h1.hero-title { font-size: clamp(40px, 6.2vw, 76px); max-width: 16ch; }
.hero-title .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub {
  margin-top: 20px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-muted); max-width: 52ch; font-weight: 400;
}
.hero-meta { margin-top: 28px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.meta-line { height: 1px; flex: 1; min-width: 40px; background: var(--border); }
.hero-role { font-size: 15px; color: var(--text-muted); }
.hero-role strong { color: var(--text); font-weight: 600; }
.hero-cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--accent-contrast); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-elevated); transform: translateY(-2px); }

.quote-card {
  margin-top: 44px; padding: 22px 26px;
  border-left: 3px solid var(--accent-2);
  background: var(--bg-elevated);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  font-size: 17px; color: var(--text); font-weight: 500;
  font-style: italic; max-width: 56ch;
}

/* ---------- Portrét ---------- */
.portrait-wrap {
  position: relative; aspect-ratio: 4/5;
  border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(135deg, #0a2540 0%, #2d7ff9 100%);
  box-shadow: var(--shadow-md);
}
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Section headings ---------- */
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-eyebrow {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent-2); margin-bottom: 14px;
}
h2.section-title { font-size: clamp(32px, 4.2vw, 52px); }
.section-lede { margin-top: 14px; color: var(--text-muted); font-size: 18px; max-width: 60ch; }

/* ---------- Page hero (kompaktní hero pro podstránky) ---------- */
.page-hero {
  padding: 80px 0 60px; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.page-hero-inner { max-width: 800px; }
.page-hero .section-eyebrow { margin-bottom: 16px; }
.page-hero h1 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(38px, 5vw, 60px); letter-spacing: -0.035em;
}
.page-hero p.lede { font-size: 18px; color: var(--text-muted); margin: 18px 0 0; max-width: 60ch; }

/* Breadcrumbs */
.breadcrumbs {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 24px; display: flex; gap: 8px; flex-wrap: wrap;
}
.breadcrumbs a { color: var(--text-muted); transition: color .2s var(--ease); }
.breadcrumbs a:hover { color: var(--accent-2); }
.breadcrumbs .sep { opacity: .5; }

/* ---------- O mně ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-copy p { font-size: 17px; color: var(--text-muted); margin: 0 0 18px; line-height: 1.7; }
.about-copy p strong { color: var(--text); font-weight: 600; }
.about-lead { font-size: 22px !important; color: var(--text) !important; font-weight: 500; line-height: 1.4 !important; margin-bottom: 28px !important; }
.about-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.about-fact { padding: 22px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-elevated); }
.about-fact-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent-2); margin-bottom: 8px;
}
.about-fact-value { font-size: 17px; color: var(--text); font-weight: 500; line-height: 1.35; }
.about-quote {
  margin: 36px 0 0; padding: 28px 32px;
  border-left: 3px solid var(--accent);
  background: var(--bg-elevated); border-radius: 0 14px 14px 0;
  font-size: 19px; line-height: 1.5; color: var(--text); font-weight: 500;
}
.about-right { display: grid; gap: 24px; position: sticky; top: 96px; }
@media (max-width: 900px) { .about-right { position: static; } }
.about-photo {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  object-fit: cover; aspect-ratio: 4 / 3;
}
.about-right .about-quote { margin-top: 0; }
@media (max-width: 500px) { .about-facts { grid-template-columns: 1fr; } }

/* ---------- Cesta spolupráce ---------- */
.process-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr; } }
.process-lead { font-size: 20px; color: var(--text); font-weight: 500; margin: 0 0 18px; max-width: 30ch; line-height: 1.3; }
.process-copy p { font-size: 17px; color: var(--text-muted); margin: 0 0 16px; }
.process-steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.process-steps li {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 16px 18px; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.process-steps li:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--accent-contrast);
  display: grid; place-items: center;
  font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 14px;
}
.step-text { font-size: 16px; color: var(--text); font-weight: 500; padding-top: 4px; }

/* ---------- Služby ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.service {
  display: block; padding: 32px; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative; overflow: hidden; color: inherit;
}
.service::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(45,127,249,.08), transparent 60%);
  opacity: 0; transition: opacity .3s var(--ease); pointer-events: none;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(45,127,249,.25); }
.service:hover::after { opacity: 1; }
.service-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(10,37,64,.06);
  display: grid; place-items: center;
  margin-bottom: 20px; color: var(--accent);
}
[data-theme="dark"] .service-icon { background: rgba(90,167,255,.12); }
.service-icon svg { width: 22px; height: 22px; }
.service h3 { font-size: 20px; margin-bottom: 10px; font-weight: 600; letter-spacing: -0.02em; }
.service p { font-size: 15px; color: var(--text-muted); margin: 0; }
.service-more {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 16px; font-size: 13px; font-weight: 600;
  color: var(--accent-2); letter-spacing: .02em;
  transition: gap .2s var(--ease);
}
a.service:hover .service-more { gap: 8px; }

/* Service detail page */
.service-detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .service-detail { grid-template-columns: 1fr; gap: 40px; } }
.service-detail p { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin: 0 0 18px; }
.service-detail p strong { color: var(--text); font-weight: 600; }
.service-detail h3 { font-size: 22px; margin: 32px 0 14px; font-weight: 600; letter-spacing: -0.02em; }
.service-detail ul { padding-left: 22px; color: var(--text-muted); }
.service-detail ul li { margin-bottom: 8px; line-height: 1.6; }

.service-cta-box {
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--bg-elevated); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 96px;
}
.service-cta-box h4 { font-size: 18px; margin: 0 0 8px; letter-spacing: -0.01em; }
.service-cta-box p { font-size: 14px; color: var(--text-muted); margin: 0 0 18px; line-height: 1.5; }
.service-cta-box .btn { width: 100%; justify-content: center; }
@media (max-width: 900px) { .service-cta-box { position: static; } }

/* ---------- Kalkulačka (Vlna 2, placeholder styly) ---------- */
.calc-box {
  padding: 32px; border-radius: var(--radius-lg);
  background: var(--bg-elevated); border: 1px solid var(--border);
  margin: 40px 0;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-field { margin-bottom: 20px; }
.calc-field label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--text-muted); margin-bottom: 8px; font-weight: 500;
}
.calc-field label .calc-value { color: var(--accent-2); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.calc-field input[type="range"] { width: 100%; accent-color: var(--accent-2); }
.calc-field input[type="number"] {
  width: 100%; padding: 12px 14px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; font-variant-numeric: tabular-nums;
}
.calc-result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 24px; }
@media (max-width: 500px) { .calc-result-grid { grid-template-columns: 1fr; } }
.calc-result {
  padding: 18px; border-radius: var(--radius-md);
  border: 1px solid var(--border); background: var(--bg);
}
.calc-result-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-2); margin-bottom: 6px; }
.calc-result-value { font-size: 22px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.calc-chart-wrap { padding: 20px; background: var(--bg); border-radius: var(--radius-md); border: 1px solid var(--border); }

/* ---------- Můj tým ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.team-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(45,127,249,.2); }
.team-photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
  background: var(--bg-elevated);
}
.team-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.team-name { font-family: 'Inter Tight', sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin: 0; color: var(--text); }
.team-role {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent-2); margin: 0;
}
.team-desc { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin: 4px 0 0; }
.team-web {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--accent-2);
  margin: 2px 0 0; letter-spacing: 0.01em;
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.team-web:hover { color: var(--accent); gap: 10px; }
.team-web svg { width: 13px; height: 13px; }
.team-contact {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border);
  display: grid; gap: 6px; font-size: 14px;
}
.team-contact a { color: var(--text-muted); transition: color .2s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.team-contact a:hover { color: var(--accent-2); }
.team-contact svg { width: 14px; height: 14px; flex-shrink: 0; opacity: .7; }

/* ---------- Reference ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .reviews-grid { grid-template-columns: 1fr; } }
.review {
  padding: 28px; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.review-quote-icon { width: 32px; height: 32px; color: var(--accent-2); margin-bottom: 14px; }
.review p { font-size: 15px; color: var(--text); margin: 0 0 18px; flex: 1; line-height: 1.6; }
.review-author {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600; letter-spacing: -0.01em;
  color: var(--accent); font-size: 15px;
  padding-top: 14px; border-top: 1px solid var(--border);
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 28px; }
.contact-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  font-size: 16px;
}
.contact-item:last-child { border-bottom: 0; }
.contact-item .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(10,37,64,.06);
  display: grid; place-items: center; color: var(--accent);
  flex-shrink: 0;
}
[data-theme="dark"] .contact-item .ic { background: rgba(90,167,255,.12); }
.contact-item .ic svg { width: 18px; height: 18px; }
.contact-item .label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; }
.contact-item .value { color: var(--text); font-weight: 500; }

.contact-form {
  padding: 36px; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.contact-form.compact { padding: 28px; border-radius: var(--radius-lg); }
.contact-form h3 { font-size: 22px; margin-bottom: 20px; font-weight: 600; letter-spacing: -0.02em; }
.contact-form.compact h3 { font-size: 18px; margin-bottom: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.contact-form.compact .field textarea { min-height: 80px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(45,127,249,.12);
}
.form-submit {
  margin-top: 8px; width: 100%;
  padding: 14px 20px;
  background: var(--accent); color: var(--accent-contrast);
  border-radius: var(--radius-sm);
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.form-submit:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* Mini kontakt box pod službami */
.mini-contact {
  margin-top: 60px; padding: 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
@media (max-width: 800px) { .mini-contact { grid-template-columns: 1fr; padding: 28px; } }
.mini-contact-copy h3 { font-size: 24px; margin: 0 0 10px; font-weight: 600; letter-spacing: -0.02em; }
.mini-contact-copy p { color: var(--text-muted); margin: 0 0 16px; font-size: 15px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0; color: var(--text-muted); font-size: 13px;
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr auto auto; gap: 24px;
  align-items: center;
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.footer-socials a:hover { background: var(--accent); color: var(--accent-contrast); }
.footer-socials svg { width: 15px; height: 15px; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-legal button, .footer-legal a {
  background: none; border: none; padding: 0;
  color: var(--text-muted); font-size: 13px; cursor: pointer;
  font-family: inherit; transition: color .2s var(--ease);
}
.footer-legal button:hover, .footer-legal a:hover { color: var(--accent-2); text-decoration: underline; }

/* ---------- Cookie banner ---------- */
.cc-banner {
  position: fixed; left: 50%; bottom: 20px;
  transform: translateX(-50%) translateY(120%);
  width: min(720px, calc(100% - 32px));
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px 24px; z-index: 9999;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
  opacity: 0; pointer-events: none;
}
.cc-banner.cc-visible { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.cc-banner-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cc-banner-head svg { width: 20px; height: 20px; color: var(--accent-2); flex-shrink: 0; }
.cc-banner-head h3 { font-size: 16px; margin: 0; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.cc-banner p { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin: 0 0 16px; }
.cc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cc-btn {
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: inherit; letter-spacing: .04em;
  transition: transform .15s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  border: 1px solid transparent;
}
.cc-btn:hover { transform: translateY(-1px); }
.cc-btn-primary { background: var(--accent); color: var(--accent-contrast); }
.cc-btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.cc-btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }
@media (max-width: 500px) {
  .cc-actions { flex-direction: column; }
  .cc-btn { width: 100%; }
}

/* Cookie modal */
.cc-modal-backdrop {
  position: fixed; inset: 0; background: rgba(10, 20, 40, .55);
  z-index: 10000; display: none; align-items: center; justify-content: center;
  padding: 20px; backdrop-filter: blur(4px);
}
.cc-modal-backdrop.cc-visible { display: flex; }
.cc-modal {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); max-width: 560px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  padding: 28px 30px; box-shadow: var(--shadow-lg);
}
.cc-modal h3 { font-size: 22px; margin: 0 0 8px; font-weight: 600; letter-spacing: -0.02em; }
.cc-modal-lede { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin: 0 0 22px; }
.cc-category {
  padding: 16px 0; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; align-items: start;
}
.cc-category:first-of-type { border-top: none; }
.cc-category h4 { font-size: 15px; margin: 0 0 4px; font-weight: 600; }
.cc-category p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; grid-column: 1 / -1; }
.cc-switch {
  position: relative; width: 42px; height: 24px; flex-shrink: 0;
  background: #cbd5e1; border-radius: 12px; cursor: pointer;
  transition: background .2s var(--ease);
}
[data-theme="dark"] .cc-switch { background: #3b4a63; }
.cc-switch::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  transition: transform .2s var(--ease);
}
.cc-switch.cc-on { background: var(--accent); }
.cc-switch.cc-on::after { transform: translateX(18px); }
.cc-switch.cc-locked { opacity: .55; cursor: not-allowed; }
.cc-modal-actions {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.cc-modal-actions .cc-btn { flex: 1; min-width: 140px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
