/* ============================================
   RefrešOS Landing - Styles
   Flat, minimalistic, white space, green/orange/tech-blue
   Font-size min 16px pro obsah
   ============================================ */

:root {
  --green: #44b749;
  --green-600: #3a9e3f;
  --green-500: #4CAF50;
  --green-400: #66BB6A;
  --green-light: #E8F5E9;
  --green-bg: #F1F8E9;

  --orange: #F57C00;
  --orange-500: #FB8C00;
  --orange-light: #FFF3E0;

  --blue: #1976D2;
  --blue-500: #2196F3;
  --blue-light: #E3F2FD;

  --ink: #0E1A17;
  --ink-2: #1F2D2A;
  --text: #2A3633;
  --muted: #5C6B68;
  --muted-2: #8A9795;
  --line: #E5EBE8;
  --line-2: #EEF2F0;
  --bg: #FFFFFF;
  --bg-soft: #F7FAF8;
  --bg-card: #FFFFFF;

  --shadow-sm: 0 1px 2px rgba(14,26,23,.06), 0 1px 3px rgba(14,26,23,.04);
  --shadow: 0 4px 20px rgba(14,26,23,.08);
  --shadow-lg: 0 20px 60px rgba(14,26,23,.12);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; transition: color .15s; }
a:hover { color: var(--green-500); }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.028em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(38px, 5.2vw, 68px); font-weight: 900; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 900; }
h3 { font-size: clamp(22px, 2.1vw, 28px); font-weight: 900; letter-spacing: -0.025em; }
h4 { font-size: 17px; font-weight: 800; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--green); }
.accent-blue { color: var(--blue); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-lg { padding: 18px 30px; font-size: 17px; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 6px 18px rgba(46,125,50,.28);
}
.btn-primary:hover {
  background: var(--green-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(46,125,50,.35);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-2);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 14px 24px;
  gap: 24px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}
.logo { display: block; }
.logo img { height: 58px; width: auto; display: block; }
.brand-powered {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .02em;
  padding-left: 2px;
}
.brand-powered strong { color: var(--green); font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 16px;
}
.main-nav a:hover { color: var(--green); }
.main-nav a:not(.btn) {
  position: relative;
  padding: 10px 0;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}
.main-nav a:not(.btn).active {
  color: var(--green);
  font-weight: 700;
}
.main-nav a:not(.btn).active::after {
  transform: scaleX(1);
}
.main-nav .btn { margin-left: 6px; }
/* Explicit white text on nav button + hover keeps white */
.btn-nav {
  color: #fff !important;
  background: var(--green);
}
.btn-nav:hover {
  color: #fff !important;
  background: var(--green-600);
}

/* Language switch - segmented control CS/EN */
.main-nav .lang-switch {
  display: inline-flex;
  align-items: stretch;
  padding: 3px;
  background: #f1f5f9;
  border-radius: 999px;
  line-height: 1;
}
.main-nav .lang-switch .lang-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #64748b;
  background: transparent;
  border-radius: 999px;
  text-decoration: none;
  transition: color .15s, background .15s;
}
.main-nav .lang-switch .lang-opt::after {
  display: none;
}
.main-nav .lang-switch .lang-opt:hover {
  color: #0f172a;
}
.main-nav .lang-switch .lang-opt.is-active {
  color: #fff;
  background: var(--green);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
  cursor: default;
}
.main-nav .lang-switch .lang-opt.is-active:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: all .2s;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 60px 0 100px;
  padding-top: clamp(60px, 8vh, 140px);
  padding-bottom: clamp(80px, 10vh, 160px);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(46,125,50,.08), transparent 60%),
    radial-gradient(800px 400px at 0% 80%, rgba(245,124,0,.05), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(76,175,80,.2);
}
.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  margin: 18px 0 34px;
  max-width: 560px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--ink-2);
  font-weight: 500;
}
.hero-bullets svg { color: var(--green); flex-shrink: 0; }

.hero-visual {
  position: relative;
}
.hero-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--bg-soft);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: #fff;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line-2);
}
.hero-badge-num {
  font-family: 'Arial Black', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  letter-spacing: -.04em;
  -webkit-text-stroke: 2.5px var(--green);
  paint-order: stroke fill;
}
.hero-badge-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.3;
}
.hero-badge-text strong { color: var(--ink); font-weight: 700; }

/* ============ SECTION HEAD ============ */
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  padding: 6px 14px;
  background: var(--green-light);
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow-blue {
  color: var(--blue);
  background: var(--blue-light);
}
.eyebrow-light {
  color: #fff;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
}
.section-lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 620px;
}
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ============ PROBLEM / SOLUTION - STATS INFOGRAFIKA ============ */
.problem-solution {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  overflow: hidden;
}
.ps-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ps-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .45;
}
.ps-blob-1 {
  width: 520px; height: 520px;
  top: -140px; left: -160px;
  background: radial-gradient(circle, rgba(245,124,0,.18), transparent 70%);
}
.ps-blob-2 {
  width: 660px; height: 660px;
  bottom: -200px; right: -200px;
  background: radial-gradient(circle, rgba(76,175,80,.22), transparent 70%);
}

.problem-solution .section-head { position: relative; margin-bottom: 64px; }

/* Refresos KPI panel - dashboard-like tabulka s před/po */
.ps-panel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(14,26,23,.10), 0 4px 12px rgba(14,26,23,.04);
  overflow: hidden;
}

.ps-panel-header {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.3fr;
  gap: 12px;
  padding: 18px 32px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.ps-panel-header .ps-col-before { color: var(--orange); }
.ps-panel-header .ps-col-after { color: var(--green); }
.ps-panel-header .ps-col-delta { text-align: right; }

.ps-row {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.3fr;
  gap: 12px;
  padding: 28px 32px;
  align-items: center;
  border-bottom: 1px solid var(--line-2);
  transition: background .18s;
}
.ps-row:last-child { border-bottom: 0; }
.ps-row:hover { background: var(--bg-soft); }

.ps-col { display: flex; flex-direction: column; }

.ps-col-topic {
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.ps-row-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ps-row-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1.2;
}

.ps-row-big {
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 6px;
}
.ps-row-big-before {
  color: #9EA6A3;
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: rgba(245,124,0,.65);
}
.ps-row-big-after {
  color: var(--green);
}
.ps-row-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}
.ps-col-after .ps-row-note { color: var(--ink-2); font-weight: 600; }

.ps-col-delta { align-items: flex-end; }
.ps-delta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.ps-delta-down {
  background: var(--green-light);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(46,125,50,.2);
}
.ps-delta-up {
  background: var(--blue-light);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(25,118,210,.2);
}
.ps-delta::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: currentColor;
  opacity: .25;
}



/* ============ BENEFIT TABLE (pred/po srovnani) ============ */
.b-table {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #eee;
  margin-top: 0;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.b-table-pills {
  display: grid;
  grid-template-columns: minmax(0,1fr) 260px minmax(0,1fr);
  max-width: 820px;
  margin: 48px auto 16px;
}
.b-table-pills .header-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.5px;
  min-width: 200px;
  padding: 14px 40px;
  border-radius: 999px;
}
.b-table-pills .header-pill.before {
  background: #fdeaea;
  color: #d32f2f;
}
.b-table-pills .header-pill.after {
  background: var(--green-light);
  color: #44b749;
  grid-column: 3;
}

.b-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) 260px minmax(0,1fr);
  align-items: end;
  padding: 18px 16px;
  border-bottom: 1px solid #f0f0f0;
  transition: background .15s;
}
.b-row:last-child { border-bottom: none; }
.b-row:hover { background: #fafffe; }

/* Before column */
.b-col-before { text-align: center; }
.b-col-before .num {
  font-size: 33px;
  font-weight: 900;
  color: #888;
  line-height: 1;
  position: relative;
  display: inline-block;
}
.b-col-before .num::after {
  content: '';
  position: absolute;
  left: -6px;
  right: -6px;
  top: 50%;
  height: 2px;
  background: #c62828;
  transform: rotate(-12deg);
  border-radius: 2px;
}
.b-col-before .label {
  font-size: 13px;
  color: #999;
  margin-top: 2px;
}

/* Center column */
.b-col-center { text-align: center; padding: 0 16px; }
.b-col-center .b-icon-center {
  width: 52px;
  height: 52px;
  margin: 0 auto 6px;
  color: #f15a24;
}
.b-col-center .title {
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
  -webkit-text-stroke: .4px currentColor;
}
.b-col-center .desc {
  font-size: 15px;
  color: #888;
  line-height: 1.4;
}

/* After column */
.b-col-after { text-align: center; }
.b-col-after .num {
  font-size: 37px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.b-col-after .label {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

/* Bonus row */
.b-row.bonus {
  background: #1a1a2e;
  color: #fff;
  border-bottom: none;
  padding: 36px 16px 32px;
  border-radius: 0 0 20px 20px;
}
.b-row.bonus { align-items: center; }
.b-row.bonus:hover { background: #22223a; }
.b-row.bonus .b-col-before .num { color: #aaa; }
.b-row.bonus .b-col-before .num::after { background: #e57373; }
.b-row.bonus .b-col-center .title { color: #f0f0f0; }
.b-row.bonus .b-col-center .b-icon-center { color: #888; display: block; margin: 0 auto 8px; }
.b-row.bonus .b-col-center .desc { color: #aaa; }
.b-row.bonus .b-col-after .num { color: var(--green); font-size: 52px; }
.b-row.bonus .b-col-after .label { color: #aaa; }
.b-row.bonus .b-col-before .label { color: #888; }

.bonus-tag {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background: #f15a24;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 2px 10px;
  border-radius: 10px;
  margin-bottom: 20px;
}

@media (max-width: 700px) {
  .b-table-header {
    grid-template-columns: 80px 1fr 80px;
    padding: 16px 8px;
  }
  .b-table-header span { font-size: 13px; }
  .b-row {
    grid-template-columns: 80px 1fr 80px;
    padding: 20px 16px;
  }
  .b-col-before .num { font-size: 24px; }
  .b-col-after .num { font-size: 32px; }
  .b-col-center .desc { display: none; }
}

/* ============ PILLARS ============ */
.pillars {
  padding: 100px 0;
  background: var(--bg-soft);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pillar {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-2);
  transition: transform .22s, box-shadow .22s;
  display: flex;
  flex-direction: column;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.pillar-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--green-bg);
}
.pillar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Fotka s hodinami - kompromis: hlava v horní části, hodiny v dolní třetině
   (originál má hodiny ve středu a hlavu nad nimi, container je landscape
   a musí se cropnout) */
.pillar-photo-hodiny img { object-position: center 22%; }
.pillar-num {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255,255,255,.96);
  color: var(--green);
  font-weight: 900;
  font-size: 18px;
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  letter-spacing: -.02em;
}
.pillar-body { padding: 30px 28px 34px; }
.pillar-body h3 { margin-bottom: 12px; }
.pillar-body p { color: var(--muted); font-size: 16px; }
.pillar-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  border-top: 1px solid var(--line-2);
  padding-top: 20px;
}
.pillar-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
}
.pillar-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 8px; height: 8px;
  background: var(--green-500);
  border-radius: 50%;
}

/* ============ OBCHODNI MODEL ============ */
.model {
  padding: 100px 0;
  background: #fff;
}
.model-breakdown {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin: 0 auto 30px;
  max-width: 1080px;
}
.model-item {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s;
}
.model-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.model-item-total {
  background: linear-gradient(135deg, var(--blue-light), #fff);
  border-color: var(--blue-light);
}
.model-icon {
  width: 76px; height: 76px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.model-icon svg { width: auto; height: 44px; max-width: 54px; }
.model-icon-green { background: var(--green-light); color: var(--green); }
.model-icon-orange { background: var(--orange-light); color: var(--orange); }
.model-icon-blue { background: var(--blue-light); color: var(--blue); }
.model-item h3 { font-size: 19px; margin-bottom: 8px; }
.model-item p { font-size: 15px; color: var(--muted); margin: 0; }
.model-plus, .model-equal {
  font-size: 36px;
  font-weight: 900;
  color: var(--muted-2);
  text-align: center;
}

/* ============ INVOICE SAMPLE (utrzeny) ============ */
.invoice-sample-wrap {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.invoice-sample-label { display: none; }
.invoice-sample {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 40px auto 0;
  background: #ffffff;
  padding: 44px 50px 56px;
  font-family: var(--font);
  color: var(--ink-1);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(14, 26, 23, .06),
    0 8px 20px rgba(14, 26, 23, .10),
    0 24px 60px rgba(14, 26, 23, .16);
  transform: rotate(-1.2deg);
  zoom: 0.78;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.invoice-logo-img {
  display: block;
  height: 38px;
  width: auto;
}

.invoice-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid var(--ink-1);
  padding-bottom: 18px;
  margin-bottom: 24px;
}
.invoice-logo-mark {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--ink-1);
}
.invoice-logo-os {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 6px;
  letter-spacing: 0;
}
.invoice-tag {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: .04em;
}
.invoice-meta { text-align: right; }
.invoice-meta-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  font-weight: 800;
}
.invoice-meta-value {
  font-size: 20px;
  font-weight: 900;
  color: var(--ink-1);
  margin-top: 4px;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

.invoice-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 22px;
}
.invoice-party-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 6px;
}
.invoice-party-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-1);
  margin-bottom: 4px;
}
.invoice-party-line {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}

.invoice-dates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 14px 18px;
  background: #F7F8F7;
  border-radius: 10px;
  margin-bottom: 22px;
  border: 1px solid var(--line-2);
}
.invoice-dates > div {
  display: flex;
  flex-direction: column;
}
.invoice-dates span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 800;
}
.invoice-dates strong {
  font-size: 13px;
  color: var(--ink-1);
  font-weight: 700;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.invoice-table th {
  text-align: left;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 800;
  padding: 10px 8px;
  border-bottom: 1.5px solid var(--ink-1);
}
.invoice-table th.num { text-align: right; }
.invoice-table td {
  padding: 16px 8px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
.invoice-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}
.invoice-table td strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-1);
}
.invoice-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.45;
}
.invoice-table tfoot td {
  padding: 10px 8px;
  border: none;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.invoice-table tfoot tr.invoice-subtotal td {
  padding-top: 18px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 600;
}
.invoice-table tfoot tr.invoice-vat td {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 600;
  border-bottom: 1.5px solid var(--ink-1);
  padding-bottom: 12px;
}
.invoice-table tfoot tr.invoice-total td {
  padding-top: 14px;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink-1);
  letter-spacing: -.01em;
}

/* ============ PRICING ============ */
.pricing { margin-top: 120px; }
.pricing-title {
  text-align: center;
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 900;
  letter-spacing: -.025em;
  margin-bottom: 10px;
}
.pricing-sub {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 48px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 34px;
}
.price-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.price-card:hover {
  border-color: var(--green-400);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.price-card-featured {
  border-color: var(--green);
  background: linear-gradient(180deg, var(--green-bg), #fff 40%);
  box-shadow: 0 20px 50px rgba(46,125,50,.12);
  transform: scale(1.03);
}
.price-card-featured:hover { transform: scale(1.03) translateY(-3px); }
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(68,183,73,.3);
}
.price-head { margin-bottom: 22px; }
.price-name {
  font-size: 28px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.025em;
}
.price-sub {
  font-size: 15px;
  color: var(--muted);
  margin-top: 4px;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.price-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1;
}
.price-from {
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
  margin-right: 2px;
}
.price-unit {
  font-size: 16px;
  color: var(--muted);
}
.price-visits {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.price-card-featured .price-visits {
  background: #fff;
  border-color: var(--green-400);
  color: var(--green);
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex-grow: 1;
}
.price-features li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 16px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-2);
}
.price-features li:last-child { border-bottom: 0; }
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.pricing-note {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
}
.pricing-examples {
  margin: 60px auto 40px;
  max-width: 980px;
  background: var(--bg-soft);
  border: 1px solid #E2EAE6;
  border-radius: 16px;
  padding: 36px 36px 30px;
}
.pricing-examples-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  text-align: center;
}
.pricing-examples-lead {
  font-size: 16px;
  color: var(--muted);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.55;
}
.pricing-examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.pricing-example {
  background: #fff;
  border: 1px solid #E2EAE6;
  border-radius: 12px;
  padding: 20px 18px;
  text-align: center;
}
.pricing-example-featured {
  border-color: var(--green);
  box-shadow: 0 4px 12px rgba(68, 183, 73, 0.12);
}
.pricing-example-tier {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.pricing-example-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}
.pricing-example-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}
.pricing-examples-note {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin: 0;
}
.pricing-onboarding {
  max-width: 980px;
  margin: 0 auto 36px;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green-bg) 100%);
  border: 1px solid var(--green);
  border-radius: 16px;
  padding: 32px 36px;
  text-align: center;
}
.pricing-onboarding-badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.pricing-onboarding h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}
.pricing-onboarding p {
  font-size: 16px;
  color: var(--text);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .pricing-examples { padding: 26px 20px 22px; }
  .pricing-examples-grid { grid-template-columns: 1fr; }
  .pricing-onboarding { padding: 26px 22px; }
}

/* ============ DASHBOARD ============ */
.dashboard {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.check-list { list-style: none; padding: 0; margin: 24px 0 30px; }
.check-list li {
  padding: 8px 0;
  font-size: 16px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 12px;
}
.check { color: var(--blue); font-weight: 900; }
.dashboard-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.dashboard-demo-note {
  font-size: 14px;
  color: var(--muted);
}

.dashboard-mock {
  perspective: 1200px;
}
.mock-window {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(14,26,23,.18);
  border: 1px solid var(--line);
  overflow: hidden;
  transform: rotate(1.2deg);
  cursor: zoom-in;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-2);
}
.mock-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line);
}
.mock-dot:first-child { background: #ff6259; }
.mock-dot:nth-child(2) { background: #ffbd2e; }
.mock-dot:nth-child(3) { background: #28c940; }
.mock-url {
  margin-left: 14px;
  padding: 5px 14px;
  background: #fff;
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
  flex-grow: 1;
  text-align: center;
}
.mock-content { padding: 24px; }
.mock-content-img {
  padding: 0;
}
.mock-content-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 10px 10px;
}

/* Bare variant - bez prohlížečové hlavičky, screenshot už má vlastní app header */
.mock-window-bare {
  border-radius: 16px;
}
.mock-window-bare .mock-content-img img {
  border-radius: 16px;
}

/* ============ PROCUREMENT ============ */
.procurement {
  padding: 100px 0;
  background: var(--bg);
}
.proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.proc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform .2s, box-shadow .2s;
}
.proc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.proc-icon {
  width: 72px; height: 72px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.proc-icon svg { width: 40px; height: 40px; }
.proc-card h3 { font-size: 19px; margin-bottom: 10px; }
.proc-card p { font-size: 15px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ============ REFERENCES ============ */
.references {
  padding: 100px 0;
  background: var(--bg-soft);
}
.logos-carousel {
  max-width: 980px;
  margin: 0 auto 60px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.logos-track {
  display: flex;
  gap: 96px;
  align-items: center;
  animation: logos-scroll 30s linear infinite;
  width: max-content;
}
.client-logo {
  height: 36px;
  max-height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: .7;
  transition: opacity .3s;
  flex-shrink: 0;
}
.client-logo:hover {
  opacity: 1;
}
@keyframes logos-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.testimonial {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 44px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}
.testimonial blockquote {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
  font-style: italic;
}
.testimonial-author {
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
}
.testimonial-carousel {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.testimonial-carousel .testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s;
  margin: 0;
}
.testimonial-carousel .testimonial-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease, visibility 0s linear 0s;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.testimonial-dot:hover { background: var(--muted-2); }
.testimonial-dot.is-active {
  background: var(--green);
  transform: scale(1.25);
}
.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .18s, color .18s, box-shadow .18s, transform .18s;
  z-index: 2;
}
.testimonial-arrow:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: var(--shadow);
}
.testimonial-arrow-prev { left: -22px; }
.testimonial-arrow-next { right: -22px; }
@media (max-width: 720px) {
  .testimonial-arrow-prev { left: 6px; }
  .testimonial-arrow-next { right: 6px; }
}

/* ============ FAQ ============ */
.faq {
  padding: 100px 0;
  background: #fff;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.faq-copy h2 { margin-bottom: 16px; }
.faq-copy p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 30px;
}
.faq-photo {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-top: 20px;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.faq-item[open] {
  background: #fff;
  border-color: var(--green-400);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--green);
  line-height: 1;
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer {
  padding: 0 24px 22px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
}

/* ============ CONTACT ============ */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--ink) 0%, #15302A 100%);
  color: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact h2 { color: #fff; }
.contact-lead {
  font-size: 18px;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  margin-bottom: 30px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  padding: 10px 0;
  font-size: 16px;
  color: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.contact-list li strong { color: #fff; margin-right: 8px; }
.contact-list a { color: var(--green-400); }
.contact-list a:hover { color: var(--green-500); }

.contact-form {
  background: #fff;
  color: var(--text);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.form-row { margin-bottom: 18px; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.contact-form label > span {
  display: block;
  margin-bottom: 6px;
}
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .15s, background .15s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--green);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 20px;
  font-weight: 400;
}
.form-consent input { margin-top: 3px; }
.form-status {
  margin-top: 14px;
  font-size: 15px;
  text-align: center;
}
.form-status.success { color: var(--green); font-weight: 600; }
.form-status.error { color: #D32F2F; font-weight: 600; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: 60px 0 30px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
.footer-tagline {
  margin-top: 16px;
  color: rgba(255,255,255,.6);
  font-size: 14px;
}
.footer-tagline a { color: var(--green-400); }
.site-footer h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer ul li {
  padding: 6px 0;
  font-size: 15px;
}
.site-footer ul a { color: rgba(255,255,255,.72); }
.site-footer ul a:hover { color: var(--green-400); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,.5);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-photo { max-width: 520px; margin: 0 auto; }
  .ps-panel { border-radius: 20px; }
  .ps-panel-header { display: none; }
  .ps-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "topic topic"
      "before after"
      "delta delta";
    gap: 18px;
    padding: 26px 24px;
  }
  .ps-col-topic { grid-area: topic; }
  .ps-col-before { grid-area: before; }
  .ps-col-after { grid-area: after; }
  .ps-col-delta { grid-area: delta; align-items: stretch; }
  .ps-col-delta .ps-delta { align-self: flex-start; }
  .ps-row-big { font-size: 38px; }
  .ps-col-before::before { content: "Dnes"; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); margin-bottom: 4px; }
  .ps-col-after::before { content: "S RefrešOS"; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin-bottom: 4px; }
  .pillars-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .model-breakdown { grid-template-columns: 1fr; gap: 12px; }
  .model-plus, .model-equal { font-size: 28px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto 34px; }
  .price-card-featured { transform: none; }
  .price-card-featured:hover { transform: translateY(-3px); }
  .dashboard-grid { grid-template-columns: 1fr; gap: 50px; }
  .proc-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  /* logos-row removed - using logos-carousel */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    gap: 4px;
    display: none;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
  .main-nav a:last-child { border-bottom: 0; margin-top: 10px; text-align: center; }
  .main-nav .lang-switch {
    align-self: center;
    margin-top: 8px;
  }
  .main-nav .lang-switch .lang-opt {
    border-bottom: 0;
    padding: 8px 18px;
  }

  .hero { padding: 40px 0 70px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-badge { left: 0; bottom: -20px; padding: 14px 18px; }

  .problem-solution,
  .pillars,
  .model,
  .dashboard,
  .procurement,
  .references,
  .faq,
  .contact { padding: 70px 0; }

  .ps-stat-card { padding: 24px 20px 26px; }
  .ps-stat-compare { gap: 8px; }
  .ps-stat-value { font-size: 38px; }
  .pillar-body { padding: 24px 22px 28px; }

  .proc-grid { grid-template-columns: 1fr; }
  /* logos-row removed */
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .form-row-2 { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }

  .testimonial { padding: 32px 24px; }
  .testimonial blockquote { font-size: 19px; }
}

/* ============ LIGHTBOX ============ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.82);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity .25s ease;
  padding: 24px;
}
.lightbox-overlay.is-visible { opacity: 1; }
.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0,0,0,.5);
}

/* ============ CITAČNÍ ODKAZY (sup "i") A MODAL ============ */
.cite-ref {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: super;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Times New Roman', Georgia, serif;
  font-style: italic;
  line-height: 1;
  width: 19px;
  height: 19px;
  margin-left: 6px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: #475569;
  color: #fff;
  cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s;
  position: relative;
  top: -2px;
  box-shadow: 0 0 0 0 rgba(71, 85, 105, 0.5);
  animation: cite-pulse 2.4s ease-out infinite;
}
.cite-ref:hover,
.cite-ref:focus-visible {
  background: #1F2937;
  transform: scale(1.15);
  outline: none;
  animation: none;
  box-shadow: 0 4px 12px rgba(31, 41, 55, 0.4);
}
@keyframes cite-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(71, 85, 105, 0.5); }
  60%  { box-shadow: 0 0 0 10px rgba(71, 85, 105, 0);   }
  100% { box-shadow: 0 0 0 0   rgba(71, 85, 105, 0);   }
}
@media (prefers-reduced-motion: reduce) {
  .cite-ref { animation: none; }
}

.cite-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
}
.cite-modal[hidden] { display: none; }
.cite-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(2px);
  animation: cite-fade-in .18s ease-out;
  pointer-events: none;
}
.cite-modal-panel {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 36px 40px 32px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 25px 80px rgba(15, 23, 42, .25);
  color: #1D4ED8;
  animation: cite-pop-in .22s cubic-bezier(.2,.8,.3,1.2);
  pointer-events: auto;
}
.cite-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #64748B;
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s, color .15s;
}
.cite-modal-close:hover {
  background: #F1F5F9;
  color: #1D4ED8;
}
.cite-modal-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #2563EB;
  margin-bottom: 14px;
}
.cite-modal-quote {
  font-size: 18px;
  line-height: 1.55;
  color: #334155;
  font-weight: 500;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  font-style: italic;
}
.cite-modal-claim {
  font-size: 18px;
  line-height: 1.5;
  color: #0F172A;
  font-weight: 700;
  margin: 0 0 24px;
  padding: 12px 0 12px 16px;
  border-left: 3px solid #44b749;
}
.cite-modal-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cite-modal-link {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #3B82F6;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: underline dashed #3B82F6;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.cite-modal-link:hover {
  color: #2563EB;
  text-decoration-style: solid;
}
.cite-modal-link-arrow {
  display: inline-block;
  margin-right: 8px;
  text-decoration: none;
  font-weight: 700;
}
@keyframes cite-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes cite-pop-in {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 560px) {
  .cite-modal-panel { padding: 28px 24px 24px; }
  .cite-modal-quote { font-size: 16px; }
  .cite-modal-claim { font-size: 16px; }
}

/* ============ COOKIE INFO BANNER ============ */
.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  animation: cookie-slide-in .3s ease-out;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, .1);
  padding: 6px 6px 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.3;
}
.cookie-banner-text {
  margin: 0;
  color: #475569;
  white-space: nowrap;
}
.cookie-banner-text strong { color: #0f172a; font-weight: 600; }
.cookie-banner-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cookie-banner-link {
  font-size: 12px;
  color: #64748b;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-link:hover { color: #44b749; }
.cookie-banner-btn {
  border: 0;
  background: #0f172a;
  color: #ffffff;
  font: 600 12px/1 Inter, system-ui, sans-serif;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease;
}
.cookie-banner-btn:hover { background: #44b749; }
.cookie-banner-btn:focus-visible {
  outline: 2px solid #44b749;
  outline-offset: 2px;
}
@keyframes cookie-slide-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 560px) {
  .cookie-banner { right: 8px; bottom: 8px; left: 8px; }
  .cookie-banner-inner { padding: 8px 8px 8px 12px; flex-wrap: wrap; }
  .cookie-banner-text { white-space: normal; flex: 1 1 auto; }
}
