/* =========================================================================
   PRAGOECON Consulting — design systém prototypu
   Barvy dle Figma exportu: navy #00295d, tmavá navy #001e44, žlutá #facc15.
   Font: Bricolage Grotesque (nadpisy) + Lexend (text), systémový fallback offline.
   ========================================================================= */

:root {
  --navy: #00295d;
  --navy-900: #001e44;
  --navy-700: #003a7d;
  --yellow: #facc15;
  --yellow-300: #fde047;
  --ink: #1f2937;
  --muted: #6b7280;
  --muted-2: #9aa3b2;
  --line: #e6e9ef;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-soft-2: #eef2f8;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 64, .06), 0 1px 3px rgba(16, 32, 64, .05);
  --shadow: 0 6px 20px rgba(0, 41, 93, .08), 0 2px 6px rgba(0, 41, 93, .06);
  --shadow-lg: 0 24px 60px rgba(0, 41, 93, .16);
  --container: 1180px;
  --head: "Archivo", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--navy);
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--head);
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 3.1vw, 2.2rem);
  font-weight: 700;
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0 0 1rem;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

.container {
  /*max-width: var(--container);*/
  margin: 0 auto;
  padding: 0 22px;
}

.section {
  padding: clamp(38px, 5vw, 66px) 0;
}

.section-tight {
  padding: clamp(30px, 4vw, 48px) 0;
}

.bg-soft {
  background: var(--bg-soft);
}

.bg-soft-2 {
  background: var(--bg-soft-2);
}

.eyebrow {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--yellow);
  display: inline-block;
}

.lead {
  font-size: 1.12rem;
  color: #40506a;
}

.center {
  text-align: center;
}

.measure {
  max-width: 720px;
}

.measure-c {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- buttons ---------- */


.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--head);
  font-weight: 700;
  font-size: .98rem;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s;
  text-align: center;
  z-index: 1;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary,
.btn-primary:disabled {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(250, 204, 21, .35);
  opacity: 1;
  border: none;
  margin-top: 0;
  pointer-events: all;
}
.wpcf7-acceptance input[type="checkbox"]{
  width:initial;
}

.btn-primary:hover, .btn-check:checked+.btn-primary, .btn-check:active+.btn-primary, .btn-primary:active, .btn-primary.active, .show>.btn-primary.dropdown-toggle {
  border: 1.5px solid transparent;
  color: var(--navy);
  background: var(--yellow-300);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(250, 204, 21, .45);
}

.btn-check:focus+.btn-primary, .btn-primary:focus {
  color: color: var(--navy);
  background-color: var(--yellow-300);
  border-color: 1.5px solid transparent;
  box-shadow: unset);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--navy);
  background: var(--bg-soft);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, .1);
}

.btn .arw {
  transition: transform .2s;
}

.btn:hover .arw {
  transform: translateX(3px);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.03rem;
}

/* ---------- top bar ---------- */
.topbar {
  background: var(--navy-900);
  color: #cdd8ea;
  font-size: .84rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  gap: 12px;
}

.topbar a {
  color: #cdd8ea;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar a:hover {
  color: var(--yellow);
}

.topbar-left {
  display: flex;
  gap: 22px;
}

.topbar-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.topbar-social a {
  font-weight: 600;
}

@media (max-width: 620px) {
  .topbar-left .tb-mail {
    display: none;
  }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 44px;
  width: auto;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name b {
  font-family: var(--head);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: -.01em;
}

.brand-name span {
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav>a, .nav-drop>button {
  font-family: var(--head);
  font-weight: 600;
  font-size: .95rem;
  color: #33415a;
  padding: 9px 13px;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .15s, background .15s;
}

.main-nav>a:hover, .nav-drop>button:hover, .main-nav>a.active {
  color: var(--navy);
  background: var(--bg-soft-2);
}

.main-nav>a.active {
  color: var(--navy);
}

.nav-cta {
  margin-left: 8px;
}

.nav-drop {
  position: relative;
}

.nav-drop .caret {
  transition: transform .2s;
}

.nav-drop:hover .caret, .nav-drop.open .caret {
  transform: rotate(180deg);
}

.drop-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 270px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 7px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .18s ease;
}

.nav-drop:hover .drop-menu, .nav-drop.open .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.drop-menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: .93rem;
  color: #33415a;
  font-family: var(--head);
  font-weight: 600;
}

.drop-menu a svg {
  color: var(--navy);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.drop-menu a:hover {
  background: var(--navy);
  color: #fff;
}

.drop-menu a:hover svg {
  color: var(--yellow);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--navy);
}

.nav-toggle svg {
  margin: auto;
}

.mobile-nav {
  display: none;
}

@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    border-top: 0 solid var(--line);
  }

  .mobile-nav.open {
    max-height: 720px;
    border-top: 1px solid var(--line);
  }

  .mobile-nav .m-inner {
    padding: 12px 0;
  }

  .mobile-nav a, .mobile-nav button {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    font-family: var(--head);
    font-weight: 600;
    color: #33415a;
    padding: 12px 22px;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
  }

  .mobile-nav a:hover {
    background: var(--bg-soft);
  }

  .m-sub {
    display: none;
    padding-left: 12px;
    border-left: 3px solid var(--yellow);
    margin: 2px 0 6px 22px;
  }

  .m-sub.open {
    display: block;
  }

  .m-sub a {
    font-family: var(--body);
    font-weight: 500;
    padding: 9px 12px;
    font-size: .92rem;
  }

  .m-cta {
    padding: 12px 22px;
  }

  .m-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 62%, #001635 100%);
  color: #eaf1fb;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .09) 1px, transparent 0);
  background-size: 26px 26px;
  opacity: .5;
}

.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -8%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(250, 204, 21, .16), transparent 62%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  padding-top: clamp(56px, 8vw, 92px);
  padding-bottom: clamp(56px, 8vw, 92px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(250, 204, 21, .14);
  border: 1px solid rgba(250, 204, 21, .4);
  color: var(--yellow-300);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: .82rem;
  font-weight: 600;
  font-family: var(--head);
  margin-bottom: 22px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 18px;
}

.hero h1 .hl {
  color: var(--yellow);
}

.hero .sub {
  font-size: 1.24rem;
  color: #d5e0f2;
  font-weight: 500;
  max-width: 40ch;
}

.hero .body {
  color: #aebfd8;
  max-width: 52ch;
  margin-top: 8px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding: 0;
}

.hero-note {
  margin-top: 16px;
  font-size: .86rem;
  color: #9fb2d1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note::before {
  content: "✓";
  color: var(--yellow);
  font-weight: 800;
}

.hero-visual {
  position: relative;
  display: grid;
}

.hero-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(4px);
}

.hero-card+.hero-card {
  margin-top: 14px;
}

.hero-card .hc-num {
  font-family: var(--head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--yellow);
}

.hero-card .hc-lbl {
  color: #cdd8ea;
  font-size: .9rem;
}

.hero-photo {
  aspect-ratio: 4/3;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8fa6c9;
  font-size: .85rem;
  text-align: center;
  padding: 20px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-visual {
    order: -1;
  }
}

/* ---------- generic photo placeholder ---------- */
.photo-ph {
  background: linear-gradient(150deg, #eaf0f8, #dbe6f5);
  border: 1px dashed #b9c8de;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b7599;
  font-size: .82rem;
  text-align: center;
  padding: 18px;
  min-height: 180px;
  font-family: var(--head);
  font-weight: 600;
}

.photo-ph.navy {
  background: linear-gradient(150deg, #0a3466, #001e44);
  border-color: rgba(255, 255, 255, .18);
  color: #9fb6d6;
}

/* ---------- clients strip ---------- */
.clients-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.clients-strip .container {
  padding-top: 26px;
  padding-bottom: 26px;
}

.clients-strip p {
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 16px;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}

.logo-chip {
  font-family: var(--head);
  font-weight: 700;
  color: #55617a;
  letter-spacing: .01em;
  padding: 8px 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .92rem;
  transition: .2s;
}

.logo-chip:hover {
  color: var(--navy);
  border-color: #c3d0e6;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ---------- stats ---------- */
.stats {
  background: var(--navy-900);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.stat {
  padding: 28px 16px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .08);
}

.stat:first-child {
  border-left: none;
}

.stat .v {
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 0;
}

.stat .l {
  color: #a9bcd8;
  font-size: .84rem;
  margin-top: 9px;
  line-height: 1.4;
  margin-bottom: 0;
}

@media (max-width: 999px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat:nth-child(3n+1) {
    border-left: none;
  }

  .stat:nth-child(n+4) {
    border-top: 1px solid rgba(255, 255, 255, .08);
  }
}

@media (max-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 17px 12px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .stat .l {
    font-size: .8rem;
    margin-top: 6px;
  }

  .stat:nth-child(-n+2) {
    border-top: none;
  }

  .stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .08);
  }

  .stat:last-child {
    grid-column: 1 / -1;
    border-right: none;
  }
}

/* ---------- tabulka „firma v číslech“ ---------- */
.facts-wrap {
  overflow-x: auto;
  max-width: 780px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.facts table{
  width: 100%;
  border-collapse: collapse;
  font-size: .96rem;
  border: none;
}

.facts tr+tr {
  border-top: 1px solid var(--line);
}

.facts tr:nth-child(odd) {
  background: var(--bg-soft);
}

.facts td:first-of-type {
  text-align: left;
  font-family: var(--head);
  font-weight: 600;
  color: var(--navy);
  padding: 13px 20px;
  width: 46%;
  border: none;
}

.facts td:last-of-type {
  padding: 13px 20px;
  color: var(--text);
  font-weight: 600;
  border: none;
}

@media (max-width: 560px) {
  .facts table{
    font-size: .89rem;
  }

  .facts th, .facts td {
    padding: 11px 14px;
  }

  .facts td:first-of-type {
    width: 50%;
  }
}

/* ---------- cards / services ---------- */
.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 980px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: block;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #d3ddee;
}

.svc-card {
  display: flex;
  flex-direction: column;
}

.svc-ico {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--navy);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.svc-card h3 {
  margin-bottom: 8px;
}

.svc-card p {
  color: var(--muted);
  font-size: .95rem;
}

.svc-more{
  margin-top: auto;
  font-family: var(--head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /*padding-top: 12px;*/
}

.svc-more p {
  color: var(--navy);
  margin: 0;
}

.svc-more .arw {
  transition: transform .2s;
}

.svc-card:hover .svc-more .arw {
  transform: translateX(4px);
}

/* ---------- split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}

.checklist li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 11px;
  color: #35435c;
}

.checklist li::before {
  content: "✓";
  color: var(--navy);
  background: var(--yellow);
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
}

.trust-card h3 {
  color: #fff;
}

.trust-card p {
  color: #bcccea;
  font-size: .92rem;
  margin: 0;
}

.trust-card+.trust-card {
  margin-top: 16px;
}

.trust-card.soft {
  background: var(--bg-soft-2);
  color: var(--ink);
}

.trust-card.soft h3 {
  color: var(--navy);
}

.trust-card.soft p {
  color: var(--muted);
}

.ico-badge {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--yellow);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- compare table ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: .96rem;
  min-width: 420px;
  background: #fff;
}

table.compare th, table.compare td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}

table.compare thead th {
  background: var(--navy);
  color: #fff;
  font-family: var(--head);
  font-weight: 700;
}

table.compare td:last-child, table.compare th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

table.compare tbody tr:nth-child(even) {
  background: var(--bg-soft);
}

table.compare tr.total td {
  font-weight: 800;
  color: var(--navy);
  background: #fff6d6;
  border-top: 2px solid var(--yellow);
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-sm);
}

.step .n {
  font-family: var(--head);
  font-weight: 800;
  font-size: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step h3 {
  margin-bottom: 6px;
}

.step p {
  color: var(--muted);
  font-size: .93rem;
  margin: 0;
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}

@media (max-width: 820px) {
  .benefit-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .benefit-row {
    grid-template-columns: 1fr;
  }
}

.benefit {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
  color: #35435c;
  font-size: .95rem;
}

.benefit::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--yellow);
  flex-shrink: 0;
  margin-top: 7px;
  transform: rotate(45deg);
}

/* ---------- yellow CTA banner ---------- */
.cta-banner {
  background: var(--yellow);
}

.cta-banner .container {
  padding-top: 32px;
  padding-bottom: 32px;
}

.cta-banner h2 {
  color: var(--navy);
  margin: 0;
}

.cta-banner p {
  color: #5a4a06;
  margin: 4px 0 0;
}
@media (min-width: 992px) {
 .cta-banner .cta-link{
  text-align:right;
 }
}

/* ---------- systems ---------- */
.sys-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.sys-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 20px;
  font-family: var(--head);
  font-weight: 600;
  color: #44506a;
  box-shadow: var(--shadow-sm);
  transition: .2s;
}

.sys-chip:hover {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ---------- testimonials ---------- */
.tst {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.tst .quote {
  font-size: 1.02rem;
  color: #2c3a52;
  font-style: italic;
}

.tst .who {
  margin-top: 14px;
  font-family: var(--head);
  font-weight: 700;
  color: var(--navy);
  font-size: .92rem;
}

.tst .who span {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: .84rem;
}

.ph-badge {
  display: inline-block;
  background: #fff3cd;
  color: #7a5b00;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--head);
  letter-spacing: .04em;
  margin-bottom: 8px;
}

/* ---------- magazine ---------- */
.art-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.art-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.art-card .bar {
  height: 6px;
}

.art-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.art-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.cat {
  font-family: var(--head);
  font-size: .7rem;
  font-weight: 700;
  color: #fff;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: .03em;
}

.cat.legislativa {
  background: #2563eb;
}

.cat.dane {
  background: #059669;
}

.cat.mzdy {
  background: #7c3aed;
}

.cat.bezpecnost {
  background: #dc2626;
}

.cat.ucetnictvi {
  background: var(--navy);
}

.art-date {
  color: var(--muted-2);
  font-size: .8rem;
}

.art-card h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.art-card h3 a {
  color: var(--navy);
}

.art-card p {
  color: var(--muted);
  font-size: .9rem;
  margin: 0 0 14px;
}

.art-card .read {
  margin-top: auto;
  font-family: var(--head);
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-q .ic {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--bg-soft-2);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: .2s;
}

.faq-item.open .faq-q .ic {
  background: var(--navy);
  color: var(--yellow);
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.faq-a .inner {
  padding: 0 22px 18px;
  color: #46536b;
  text-align: left;
}

/* ---------- article ---------- */
.article {
  max-width: 760px;
  margin: 0 auto;
}

.article h2 {
  font-size: 1.5rem;
  margin-top: 1.8em;
}

.article p, .article li {
  color: #2f3d54;
  font-size: 1.06rem;
}

.article ul {
  padding-left: 1.1em;
}

.article li {
  margin-bottom: .5em;
}

.article .perex {
  font-size: 1.2rem;
  color: #40506a;
  font-weight: 500;
  border-left: 4px solid var(--yellow);
  padding-left: 18px;
  margin-bottom: 1.6em;
}

.article .note {
  background: #fff8e1;
  border: 1px solid #f5e2a8;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: .92rem;
  color: #6b5710;
}

.art-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

/* ---------- forms ---------- */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 15px;
  display: block;
}

.field .lbl {
  display: block;
  font-family: var(--head);
  font-weight: 600;
  font-size: .88rem;
  color: #33415a;
  margin-bottom: 6px;
}

.field .lbl .opt {
  color: var(--muted-2);
  font-weight: 400;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 41, 93, .1);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-note {
  font-size: .82rem;
  color: var(--muted);
  margin-top: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--yellow);
}

/* přílohy (životopis, motivační dopis) */
.field input[type="file"] {
  padding: 9px 12px;
  font-size: .88rem;
  cursor: pointer;
}

.field input[type="file"]::file-selector-button {
  font-family: var(--head);
  font-weight: 600;
  font-size: .82rem;
  color: var(--navy);
  background: var(--bg-soft-2);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 12px;
  margin-right: 11px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.field input[type="file"]::file-selector-button:hover {
  background: #fff;
  border-color: var(--navy);
}

.file-note {
  font-size: .8rem;
  color: var(--muted);
  margin: -4px 0 15px;
  line-height: 1.45;
}

.form-msg {
  display: none;
  text-align: center;
  padding: 30px 20px;
}

.form-msg .ok {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e7f7ee;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 14px;
}

.form.sent .form-body {
  display: none;
}

.form.sent .form-msg {
  display: block;
}

.req {
  color: #dc2626;
}

/* ---------- contact aside ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: start;
}

@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 560px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

.cc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.cc h3 {
  font-size: .95rem;
  margin-bottom: 8px;
}

.cc a {
  display: block;
  color: #35435c;
  font-size: .92rem;
  margin-bottom: 3px;
}

.cc a:hover {
  color: var(--navy);
}

/* ---------- calculator ---------- */
.calc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.calc-warn {
  background: #fff8e1;
  border-bottom: 1px solid #f5e2a8;
  color: #6b5710;
  padding: 12px 22px;
  font-size: .86rem;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.calc-body {
  padding: 26px;
}

.calc-step {
  margin-bottom: 22px;
}

.calc-step>label {
  font-family: var(--head);
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 10px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chk {
  position: relative;
}

.chk input {
  position: absolute;
  opacity: 0;
}

.chk span {
  display: inline-block;
  padding: 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--head);
  font-weight: 600;
  font-size: .9rem;
  color: #44506a;
  cursor: pointer;
  transition: .15s;
}

.chk input:checked+span {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.chk input:focus-visible+span {
  box-shadow: 0 0 0 3px rgba(0, 41, 93, .18);
}

.calc-range {
  display: flex;
  align-items: center;
  gap: 14px;
}

.calc-range input[type=range] {
  flex: 1;
  accent-color: var(--navy);
}

.calc-range output {
  font-family: var(--head);
  font-weight: 800;
  color: var(--navy);
  min-width: 60px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.calc-result {
  background: var(--navy);
  color: #fff;
  padding: 24px 26px;
}

.calc-result .rlabel {
  color: #a9bcd8;
  font-size: .85rem;
}

.calc-result .rprice {
  font-family: var(--head);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--yellow);
  line-height: 1.1;
}

.calc-result .rnote {
  color: #bcccea;
  font-size: .82rem;
  margin-top: 6px;
}

.calc-result .btn {
  margin-top: 16px;
}

/* ---------- positions ---------- */
.pos {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.pos h3 {
  margin-bottom: 6px;
}

.pos .tag {
  font-size: .8rem;
  color: var(--muted);
  font-family: var(--head);
  font-weight: 600;
  margin-bottom: 12px;
}

.pos ul {
  padding-left: 1.1em;
  margin: 0;
  color: #45536b;
  font-size: .93rem;
}

.pos li {
  margin-bottom: 5px;
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs .container {
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: .84rem;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--navy);
}

.breadcrumbs .sep {
  margin: 0 8px;
  color: var(--muted-2);
}

.breadcrumbs span[aria-current] {
  color: var(--navy);
  font-weight: 600;
}

/* ---------- page hero (subpages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #eaf1fb;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .08) 1px, transparent 0);
  background-size: 26px 26px;
  opacity: .5;
}

.page-hero .container {
  position: relative;
  padding-top: clamp(44px, 6vw, 72px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

.page-hero h1 {
  color: #fff;
  max-width: 20ch;
}

.page-hero .sub {
  font-size: 1.16rem;
  color: #d5e0f2;
  max-width: 60ch;
  font-weight: 500;
}

.page-hero .trust {
  margin-top: 14px;
  font-size: .84rem;
  color: var(--yellow-300);
  font-family: var(--head);
  font-weight: 600;
  letter-spacing: .01em;
}

.page-hero .hero-cta {
  margin-top: 24px;
}

/* ---------- misc content blocks ---------- */
.answer-first {
  font-size: 1.12rem;
  color: #33415a;
}

.answer-first p:first-child {
  font-size: 1.18rem;
  color: #26344c;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 30px;
}

@media (max-width: 640px) {
  .mini-grid {
    grid-template-columns: 1fr;
  }
}

.mini-grid li {
  color: #35435c;
}

.acc-area {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
}

.acc-area .faq-q .motto {
  display: block;
  font-family: var(--body);
  font-weight: 400;
  font-size: .82rem;
  color: var(--muted);
  margin-top: 2px;
}

.section-head {
  max-width: 720px;
  /*margin-bottom: 26px;*/
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .lead {
  margin-top: 6px;
  margin-bottom: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  background: var(--bg-soft-2);
  color: var(--navy);
  font-family: var(--head);
  font-weight: 600;
  font-size: .84rem;
  padding: 6px 13px;
  border-radius: 8px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  color: #35435c;
}

.info-list li:last-child {
  border-bottom: none;
}

/* ---------- final CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(250, 204, 21, .14), transparent 65%);
}

.final-cta h2 {
  color: #fff;
  position: relative;
}

.final-cta p {
  color: #c2d1ea;
  margin: 0 auto 0px;
  position: relative;
}

.final-cta .hero-cta {
  justify-content: center;
  position: relative;
}
.final-cta .wpcf7 .col-12{
  z-index:100;
}

/* ---------- footer ---------- */
.footer {
  background: var(--navy);
  color: #cdd8ea;
  padding-top: 56px;
}

.footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 40px;
}

@media (max-width: 900px) {
  .footer .cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer .cols {
    grid-template-columns: 1fr;
  }
}

.footer h4 {
  color: #fff;
  font-size: .98rem;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  padding-bottom: 9px;
  margin-bottom: 15px;
}

.footer a {
  color: #b9c8e2;
}

.footer a:hover {
  color: var(--yellow);
}

.footer .f-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .f-list li {
  margin-bottom: 9px;
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: .92rem;
}

.footer .f-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-2px);
}

.footer .f-brand b {
  font-family: var(--head);
  color: #fff;
  font-size: 1.1rem;
}

.footer-logo {
  height: 40px;
  margin-bottom: 14px;
  background: #fff;
  padding: 6px 8px;
  border-radius: 8px;
  display: inline-block;
}

.footer .charity {
  font-size: .84rem;
  color: #93a7c9;
  margin-top: 16px;
}

.footer .newsletter input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  margin-bottom: 9px;
}

.footer .newsletter input::placeholder {
  color: #8ea4c6;
}

.footer .newsletter button {
  width: 100%;
}

.footer .iso-note {
  font-size: .78rem;
  color: #8ea4c6;
  margin-top: 12px;
}

.footer .social-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer .social-row a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cdd8ea;
}

.footer .social-row a:hover {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.footer-bottom {
  background: var(--navy-900);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 22px;
  font-size: .8rem;
  color: #8ea4c6;
}

.footer-bottom a {
  color: #a9bcd8;
}

/* ---------- reveal (progresivní vylepšení: skryté jen když běží JS) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============ obrázkové a doprovodné komponenty (redesign) ============ */
/* page-hero se snímkem vpravo — Bootstrap řádky/sloupce (Areoi bloky) */
.page-hero.has-img .areoi-row {
  gap: 44px;
  align-items: center;
}

@media (max-width: 900px) {
  .page-hero.has-img .areoi-row {
    gap: 26px;
    flex-direction: column-reverse;
  }
}

.page-hero .ph-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5/4;
}

.page-hero .ph-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .ph-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 30, 68, .55));
}

.page-hero .ph-tag {
  position: absolute;
  left: 28px;
  bottom: 14px;
  z-index: 2;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--head);
  font-weight: 700;
  font-size: .78rem;
  padding: 6px 12px;
  border-radius: 8px;
}

/* split obrázek + text */
.feature-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.feature-media.rev .fm-text {
  order: 2;
}

@media (max-width: 860px) {
  .feature-media {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .feature-media.rev .fm-text {
    order: 0;
  }
}

.fm-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
}

.fm-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm-media .fm-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--navy);
  color: #fff;
  padding: 14px 18px;
  border-top-right-radius: 14px;
  max-width: 78%;
}

.fm-media .fm-badge strong {
  font-family: var(--head);
  color: var(--yellow);
  font-size: 1.5rem;
  display: block;
  line-height: 1;
}

.fm-media .fm-badge p {
  font-size: .82rem;
  color: #c8d6ee;
  margin-bottom: 0;
}

/* celoplošný obrazový pás s překryvem */
.media-band {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.media-band img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 30, 68, .94), rgba(0, 41, 93, .72));
}

.media-band .container {
  position: relative;
  z-index: 2;
  color: #fff;
}

.media-band h2 {
  color: #fff;
  max-width: 22ch;
}

.media-band p {
  color: #cdd8ea;
  max-width: 52ch;
}

/* velký statistický callout uvnitř sekce */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

@media (max-width: 700px) {
  .stat-strip {
    grid-template-columns: 1fr;
  }
}

.stat-callout {
  background: var(--bg-soft-2);
  border-radius: 14px;
  padding: 22px 24px;
  border-left: 4px solid var(--yellow);
}

.stat-callout b {
  font-family: var(--head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
  display: block;
}

.stat-callout span {
  color: var(--muted);
  font-size: .9rem;
  margin-top: 6px;
  display: block;
}

/* pull-quote / callout box */
.callout {
  background: linear-gradient(135deg, var(--navy), var(--navy-900));
  color: #eaf1fb;
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
  position: relative;
  overflow: hidden;
}

.callout::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 18px;
  font-family: Georgia, serif;
  font-size: 8rem;
  color: rgba(250, 204, 21, .22);
  line-height: 1;
}

.callout p {
  font-size: 1.2rem;
  position: relative;
  margin: 0;
}

.callout .src {
  margin-top: 12px;
  color: var(--yellow-300);
  font-family: var(--head);
  font-weight: 600;
  font-size: .9rem;
}

/* answer-first se snímkem vedle */
.answer-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .answer-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.answer-split .as-media {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
  border: 1px solid var(--line);
  position: sticky;
  top: 96px;
}

.answer-split .as-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .answer-split .as-media {
    aspect-ratio: 16/9;
    position: static;
  }
}

/* ============ logo wall (reference) ============ */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

@media (max-width: 900px) {
  .logo-wall {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 560px) {
  .logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}

.logo-cell {
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px;
  text-align: center;
}

.logo-cell span {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1rem;
  color: #55617a;
  letter-spacing: -.01em;
  transition: color .2s, transform .2s;
}

.logo-cell:hover span {
  color: var(--navy);
  transform: scale(1.06);
}

.logo-wall.compact .logo-cell {
  aspect-ratio: 2/1;
}

.logo-wall.compact .logo-cell span {
  font-size: .92rem;
}

/* ============ kariéra (dle Figma) ============ */
.kar-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-900));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.kar-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .08) 1px, transparent 0);
  background-size: 26px 26px;
  opacity: .5;
}

.kar-hero .container {
  position: relative;
  padding: clamp(44px, 6vw, 72px) 22px;
}

.kar-hero .eyebrow {
  color: var(--yellow);
}

.kar-hero .eyebrow::before {
  background: var(--yellow);
}

.kar-hero h1 {
  color: #fff;
  margin: 12px 0 10px;
}

.kar-hero p {
  color: #cbd7ec;
  font-size: 1.14rem;
  max-width: 44ch;
}

.kar-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .kar-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 460px) {
  .kar-benefits {
    grid-template-columns: 1fr;
  }
}

.kar-benefit {
  text-align: center;
}

.kar-benefit .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.kar-benefit h3 {
  margin-bottom: 6px;
}

.kar-benefit p {
  color: var(--muted);
  font-size: .9rem;
}

.pos-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pos-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}

.pos-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.pos-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pos-card h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.pos-tags {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pos-tags .pill {
  font-family: var(--head);
  font-size: .74rem;
  font-weight: 600;
  background: var(--accent-soft, var(--bg-soft-2));
  color: var(--navy);
  padding: 4px 11px;
  border-radius: 999px;
}

.pos-tags .loc {
  font-size: .8rem;
  color: var(--muted);
}

.pos-card ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}

.pos-card ul li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #45536b;
  font-size: .93rem;
  margin-bottom: 5px;
}

.pos-card ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  margin-top: 8px;
}

/* GDPR checkbox u formuláře */
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .84rem;
  color: var(--muted);
  margin: 4px 0 14px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--navy);
  flex-shrink: 0;
}

.consent a {
  color: var(--navy);
  text-decoration: underline;
}

/* kontakt bez hero — panel s údaji hned nahoře */
.contact-top {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.contact-top .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

@media (max-width: 820px) {
  .contact-top .container {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* varovný proužek kalkulačky bez emoji */
.calc-warn .wi {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #eab308;
  color: #3a2f10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--head);
  font-weight: 800;
}

/* ============ v3: reálná loga, ISO odznak, Ema, barevný Kontakt ============ */
/* logo v hlavičce bez textu → větší */
.brand-logo {
  height: 50px;
}

.footer-logo {
  height: 46px;
  padding: 7px 10px;
}

/* obrázková loga klientů — barevná, jemná změna na hover */
.logo-cell img {
  max-height: 60%;
  max-width: 84%;
  object-fit: contain;
  opacity: 1;
  transition: filter .25s, transform .25s;
}

.logo-cell:hover img {
  transform: scale(1.08);
  filter: saturate(1.25) brightness(1.05);
}

.logo-chip.has-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  min-width: 96px;
  height: 52px;
}

.logo-chip.logo-chip.has-img figure {
  margin: 0;
}

.logo-chip.has-img img {
  max-height: 32px;
  max-width: 112px;
  object-fit: contain;
  opacity: 1;
  transition: filter .25s, transform .25s;
  width: 90%;
}

.logo-chip.has-img:hover img {
  transform: scale(1.07);
  filter: saturate(1.25);
}

/* loga účetních systémů */
.sys-chip.has-img {
  padding: 12px 18px;
  min-width: 110px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sys-chip.has-img img {
  max-height: 30px;
  max-width: 120px;
  object-fit: contain;
  transition: transform .2s, filter .2s;
}

.sys-chip.has-img:hover img {
  transform: scale(1.07);
  filter: saturate(1.2);
}

/* žlutý highlight klíčové fráze v nadpisu podslužby */
.page-hero h1 .hl {
  color: var(--yellow);
}

/* ISO odznak (O nás) */
.iso-badge-box {
  display: flex;
  align-items: center;
  justify-content: center;
}
.iso-badge-box figure{
  width:100%;
}
.iso-badge-box img {
  max-width: 220px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 41, 93, .18));
  margin-left: auto;
  margin-right: auto;
}

/* Ema — hravá sekce */
.ema-sec {
  background: radial-gradient(120% 120% at 85% 20%, #eef4ff 0%, #f9fbff 55%, #fff 100%);
}

.ema-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 44px;
  align-items: center;
}

@media (max-width: 820px) {
  .ema-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
    text-align: center;
  }

  .ema-wrap .section-head {
    margin-left: auto;
    margin-right: auto;
  }
}

.ema-portrait {
  position: relative;
}

.ema-portrait img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 20px;
  border: 3px solid var(--yellow);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.ema-tag {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--navy);
  color: #fff;
  font-family: var(--head);
  font-weight: 700;
  font-size: .82rem;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.ema-tag::before {
  content: "👋 ";
}

/* microsite pás (neziskovky) */
.microsite-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--navy), var(--navy-900));
  border-radius: 16px;
  padding: 26px 30px;
  color: #fff;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.microsite-band:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.microsite-band .ms-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--head);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  flex-shrink: 0;
}

/* barevný Kontakt */
.contact-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #eaf1fb;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .08) 1px, transparent 0);
  background-size: 26px 26px;
  opacity: .5;
}

.contact-hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -6%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(250, 204, 21, .16), transparent 62%);
}

.contact-hero .container {
  position: relative;
  padding: clamp(40px, 5vw, 60px) 22px;
}

.ch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 860px) {
  .ch-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

.contact-hero .sub {
  color: #cfdcf1;
  font-size: 1.12rem;
  max-width: 46ch;
}

.ch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.ch-actions .btn span {
  font-family: var(--head);
}

.ch-cards {
  display: grid;
  gap: 14px;
}

.cc-color {
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  padding: 16px 18px;
  transition: background .2s, transform .2s;
}

.cc-color:hover {
  background: rgba(255, 255, 255, .14);
  transform: translateX(3px);
}

.cc-color .cc-ico {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--yellow);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cc-color h3 {
  color: #fff;
  font-size: .98rem;
  margin: 0 0 3px;
}

.cc-color a {
  display: block;
  color: #cdd8ea;
  font-size: .9rem;
}

.cc-color a:hover {
  color: var(--yellow);
}

/* ostrý hero snímek na homepage (bez navy overlaye) */
.hero-shot {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--shadow-lg);
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-shot .ph-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--head);
  font-weight: 700;
  font-size: .78rem;
  padding: 6px 12px;
  border-radius: 8px;
}

/* ============ v6: callback (homepage) + formulář předběžné nabídky (kalkulace) ============ */
.callback-card {
  background: var(--bg-soft-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 34px);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 30px;
  align-items: center;
}

@media (max-width: 780px) {
  .callback-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.callback-card .cb-text h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.callback-card .cb-text p {
  color: var(--muted);
  margin: 0;
}

.cb-form .cb-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

@media (max-width: 620px) {
  .cb-form .cb-fields {
    grid-template-columns: 1fr;
  }

  .cb-form .cb-fields .btn {
    width: 100%;
    justify-content: center;
  }
}

.cb-form .field {
  margin-bottom: 0;
}

.cb-form .cb-fields .btn {
  height: 48px;
  white-space: nowrap;
}

.cb-form .form-msg {
  display: none;
  background: #fff;
  border-radius: 12px;
}

.cb-form.sent .cb-fields {
  display: none;
}

.cb-form.sent .form-msg {
  display: block;
}

/* formulář předběžné nabídky */
.offer-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #eaf1fb;
  position: relative;
  overflow: hidden;
}

.offer-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0);
  background-size: 26px 26px;
  opacity: .5;
}

.offer-hero .container {
  position: relative;
  padding-top: clamp(40px, 5vw, 60px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.offer-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 26px;
}

.offer-head .eyebrow {
  justify-content: center;
}

.offer-head h1 {
  color: #fff;
  margin: 12px 0 10px;
}

.offer-head .sub {
  color: #cfdcf1;
  font-size: 1.12rem;
}

.offer-form {
  max-width: 860px;
  margin: 0 auto;
}

.offer-split-label {
  font-family: var(--head);
  font-weight: 600;
  color: var(--navy);
  margin: 6px 0 12px;
  font-size: .96rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 4px;
}

@media (max-width: 620px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
}

.offer-svc {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 8px 16px 14px;
  margin: 0;
  min-width: 0;
}

.offer-svc legend {
  padding: 0 4px;
}

.svc-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--head);
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.svc-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}

.svc-check span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.svc-check svg {
  width: 18px;
  height: 18px;
  color: var(--navy);
}

/* ============ v2: starosti→řešení, proč my, side-note ============ */
.pain-list {
  display: grid;
  gap: 14px;
}

.pain-item {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}

.pain-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

@media (max-width: 780px) {
  .pain-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.pain-q {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  font-style: italic;
  position: relative;
  padding-left: 16px;
}

.pain-q::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  bottom: .2em;
  width: 4px;
  border-radius: 2px;
  background: var(--yellow);
}

.pain-a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pain-a .pa-ico {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--navy);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pain-a .pa-ico svg {
  width: 18px;
  height: 18px;
}

.pain-a p {
  margin: 0;
  color: #35435c;
  font-size: .96rem;
}

.why-card {
  text-align: left;
}

.why-card .svc-ico {
  margin-bottom: 14px;
}

.why-card h3 {
  margin-bottom: 6px;
}

.why-card p {
  color: var(--muted);
  font-size: .95rem;
  margin: 0;
}

.side-note {
  background: var(--bg-soft-2);
  border-radius: 14px;
  padding: 22px 24px;
  border-left: 4px solid var(--yellow);
}

.side-note h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.side-note p {
  margin: 0;
  color: #35435c;
  font-size: .95rem;
}

.side-note a {
  font-weight: 600;
}

/* rychlý kontakt v patičce */
.cb-footer .cb-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.cb-footer .field .lbl {
  color: #cdd8ea;
  font-size: .82rem;
}

.cb-footer .field input {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
}

.cb-footer .field input::placeholder {
  color: #8ea4c6;
}

.cb-footer .field input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, .18);
}

.cb-footer .btn {
  width: 100%;
  justify-content: center;
}

.cb-footer .form-msg {
  padding: 16px 12px;
}

.cb-footer .form-msg h3 {
  color: #fff;
  font-size: 1rem;
}

.cb-footer .form-msg p {
  color: #bcccea;
  font-size: .88rem;
}

.cb-footer .form-msg .ok {
  width: 40px;
  height: 40px;
  font-size: 1.3rem;
}

/* ============ v3: sjednocený rychlý kontakt ============ */
/* jednotná komponenta — varianty: .qc-card (světlá karta), .qc-dark (v tmavém bloku), .qc-footer (patička) */
.qc {
  border-radius: 18px;
}

.qc-head h2, .qc-head h3 {
  margin: 0 0 6px;
}

.qc-head p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

.qc-form {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(190px, 1fr) auto;
  gap: 14px;
  align-items: end;
}

@media (max-width: 860px) {
  .qc-form {
    grid-template-columns: 1fr 1fr;
  }

  .qc-form .qc-btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .qc-form {
    grid-template-columns: 1fr;
  }
}

.qc-form .field {
  margin-bottom: 0;
  min-width: 0;
}

.qc-form .field input {
  height: 52px;
  font-size: 1.02rem;
  padding: 12px 16px;
}

.qc-form .qc-btn {
  height: 52px;
  white-space: nowrap;
  justify-content: center;
}

.qc-note {
  margin: 12px 0 0;
  font-size: .84rem;
  color: var(--muted);
}

.qc .form-msg {
  display: none;
  text-align: center;
  padding: 26px 18px;
}

.qc.sent .qc-form, .qc.sent .qc-note {
  display: none;
}

.qc.sent .form-msg {
  display: block;
}

/* varianta: světlá karta (homepage, O nás, Kontakt) */
.qc-card {
  background: var(--bg-soft-2);
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 34px);
  /*display: grid;*/
  grid-template-columns: minmax(230px, .8fr) 1.2fr;
  gap: 30px;
  align-items: center;
}

@media (max-width: 900px) {
  .qc-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* varianta: uvnitř tmavého CTA bloku */
.qc-dark {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: clamp(22px, 3vw, 30px);
  max-width: 760px;
  margin: 30px auto 0;
  text-align: left;
}

.qc-dark .qc-head h3 {
  color: #fff;
}

.qc-dark .qc-head p {
  color: #bcccea;
}

.qc-dark .field .lbl {
  color: #dbe6f7;
}

.qc-dark .field input {
  background: rgba(255, 255, 255, .96);
  border-color: transparent;
  color: var(--ink);
}

.qc-dark .qc-note {
  color: #9fb2d1;
}

.qc-dark .form-msg h3 {
  color: #fff;
}

.qc-dark .form-msg p {
  color: #bcccea;
}

/* varianta: patička */
.qc-footer .qc-form {
  grid-template-columns: 1fr;
  gap: 10px;
}

.qc-footer .field .lbl {
  color: #cdd8ea;
  font-size: .82rem;
}

.qc-footer .field input {
  height: 46px;
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
  font-size: .96rem;
}

.qc-footer .field input::placeholder {
  color: #8ea4c6;
}

.qc-footer .field input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, .18);
}

.qc-footer .qc-btn {
  width: 100%;
  height: 46px;
}

.qc-footer .form-msg {
  padding: 14px 10px;
}

.qc-footer .form-msg h3 {
  color: #fff;
  font-size: 1rem;
}

.qc-footer .form-msg p {
  color: #bcccea;
  font-size: .86rem;
}

.qc-footer .form-msg .ok {
  width: 38px;
  height: 38px;
  font-size: 1.2rem;
}

/* ============ v3: „Znáte to?" — kompaktní pásy ============ */
.pain-strip {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.pain-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: 12px;
  padding: 16px 20px;
  transition: transform .18s, box-shadow .18s;
}

.pain-row:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 700px) {
  .pain-row {
    grid-template-columns: 36px 1fr;
  }

  .pain-row .pr-fix {
    grid-column: 1 / -1;
    padding-left: 52px;
  }
}

.pain-row .pr-ico {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--bg-soft-2);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pain-row .pr-q {
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}

.pain-row .pr-fix {
  font-family: var(--head);
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy);
  background: #fff6d6;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .pain-row .pr-fix {
    white-space: normal;
    text-align: left;
  }
}

/* ============ v3: „Proč si firmy vybírají" — číslované řádky ============ */
.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 40px;
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .why-list {
    grid-template-columns: 1fr;
  }
}

.why-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.why-row .wr-n {
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--yellow);
  line-height: 1;
  -webkit-text-stroke: .5px rgba(0, 41, 93, .25);
}

.why-row h3 {
  font-size: 1.02rem;
  margin: 0 0 4px;
}

.why-row p {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
}

/* ============ v3: systémy v jednom řádku ============ */
.sys-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 26px);
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 6px 2px 10px;
}

.sys-line::-webkit-scrollbar {
  height: 6px;
}

.sys-line::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}

.sys-line .sys-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
}

.sys-line .sys-item img {
  max-height: 34px;
  max-width: 110px;
  object-fit: contain;
  transition: transform .2s, filter .2s;
}

.sys-line .sys-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.2);
}

.sys-line .sys-item span {
  font-family: var(--head);
  font-weight: 700;
  color: #55617a;
  font-size: .95rem;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .sys-line {
    justify-content: flex-start;
  }

  .sys-line .sys-item img {
    max-height: 26px;
    max-width: 84px;
  }
}

/* ============ v3: microsite landing (školy, neziskovky) ============ */
.ms-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #eaf1fb;
  position: relative;
  overflow: hidden;
}

.ms-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .08) 1px, transparent 0);
  background-size: 26px 26px;
  opacity: .5;
}

.ms-hero .container {
  position: relative;
  padding: clamp(44px, 6vw, 74px) 22px;
  align-items: center;
}

@media (max-width: 900px) {
  .ms-hero .container {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ms-hero .ms-art {
    order: -1;
  }
}

.ms-hero h1 {
  color: #fff;
}

.ms-hero .sub {
  color: #d5e0f2;
  font-size: 1.16rem;
  max-width: 52ch;
}

.ms-art img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--shadow-lg);
}

.ms-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 820px) {
  .ms-points {
    grid-template-columns: 1fr;
  }
}

.ms-point {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.ms-point .mp-ico {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--navy);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ms-point h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.ms-point p {
  color: var(--muted);
  font-size: .94rem;
  margin: 0;
}

.ms-cta {
  background: linear-gradient(120deg, var(--navy), var(--navy-900));
  border-radius: 18px;
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ms-cta::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(250, 204, 21, .16), transparent 62%);
}

.ms-cta h2 {
  color: #fff;
  position: relative;
}

.ms-cta p {
  color: #cdd8ea;
  max-width: 60ch;
  margin: 0 auto 22px;
  position: relative;
}

.ms-cta .ms-url {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.06rem;
  padding: 15px 30px;
  border-radius: 12px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}

.ms-cta .ms-url:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(250, 204, 21, .35);
}

/* ============ v3: tým s fotkami ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.team-photo {
  aspect-ratio: 1/1;
  background: linear-gradient(150deg, #e8eef8, #d4e0f2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.team-photo svg {
  width: 46%;
  height: 46%;
  color: #a9bdd8;
}

.team-photo .tp-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 41, 93, .85);
  color: #fff;
  font-size: .66rem;
  font-family: var(--head);
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: .03em;
}

.team-body {
  padding: 16px 18px;
}

.team-body h3 {
  font-size: 1rem;
  margin: 0 0 3px;
}

.team-body p {
  margin: 0;
  color: var(--muted);
  font-size: .87rem;
}

/* ============ v3: karty pozic → odkaz na detail ============ */
.pos-card h3 a {
  color: var(--navy);
}

.pos-card h3 a:hover {
  color: var(--navy-700);
  text-decoration: underline;
}

.pos-detail-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-900));
  color: #fff;
}

.pos-detail-hero .container {
  padding: clamp(38px, 5vw, 60px) 22px;
}

.pos-detail-hero h1 {
  color: #fff;
  margin-bottom: 10px;
}

.pos-detail-hero .pos-tags {
  margin-top: 14px;
}

.pos-detail-hero .pos-tags .pill {
  background: rgba(250, 204, 21, .18);
  color: var(--yellow-300);
}

.pos-detail-hero .pos-tags .loc {
  color: #bcccea;
}

.pos-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .pos-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

.pos-apply {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 96px;
}

@media (max-width: 900px) {
  .pos-apply {
    position: static;
  }
}

.pos-apply h3 {
  margin-bottom: 4px;
}

.pos-apply .pa-note {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 16px;
}

/* newsletter box (magazín) */
.news-box {
  background: var(--navy);
  border-radius: 18px;
  padding: clamp(26px, 4vw, 40px);
  text-align: center;
  color: #fff;
}

.news-box h3 {
  color: #fff;
  font-size: 1.4rem;
}

.news-box p {
  color: #bcccea;
  max-width: 52ch;
  margin: 6px auto 20px;
}

.news-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  max-width: 540px;
  margin: 0 auto;
}

@media (max-width: 560px) {
  .news-form {
    grid-template-columns: 1fr;
  }
}

.news-form input {
  height: 52px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
}

.news-form input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, .2);
}

.news-form .btn {
  height: 52px;
  justify-content: center;
}

.news-note {
  color: #9fb2d1;
  font-size: .82rem;
  margin-top: 12px;
}

.news-box .form-msg {
  display: none;
}

.news-box.sent .news-form, .news-box.sent .news-note {
  display: none;
}

.news-box.sent .form-msg {
  display: block;
}

.news-box .form-msg h3 {
  color: #fff;
}

.news-box .form-msg p {
  color: #bcccea;
}

/* ============ v4: alternativy k rychlému kontaktu + související služby ============ */
/* telefonní číslo se nikde nesmí zalomit uprostřed */
a[href^="tel:"], a[href^="tel:"] span {
  white-space: nowrap;
}

.qc-alt {
  margin: 14px 0 0;
  font-size: .9rem;
  color: var(--muted);
}

.qc-alt a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qc-alt a:hover {
  color: var(--navy-700);
}

.qc-alt .qc-sep {
  margin: 0 8px;
  opacity: .5;
}

.qc-dark .qc-alt {
  color: #a9bcd8;
}

.qc-dark .qc-alt a {
  color: var(--yellow-300);
}
form label {
  width:100%;
}
form input{
  width:100%
}
form input[type="submit"]{
  margin: 28px 0 0 0;
}
.qc-dark .qc-alt a:hover {
  color: #fff;
}

@media (max-width: 520px) {
  .qc-alt .qc-sep {
    display: block;
    height: 0;
    overflow: hidden;
    margin: 4px 0;
  }
}

/* rychlý kontakt uvnitř tmavého CTA — zarovnání na střed bloku */
.final-cta .qc-dark {
  text-align: left;
}

.final-cta .qc-dark .qc-note, .final-cta .qc-dark .qc-alt {
  text-align: center;
}

/* rychlý kontakt v patičce — přímé odkazy místo dalšího formuláře */
.f-quick {
  display: grid;
  gap: 10px;
  margin: 14px 0 4px;
}

.fq-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 11px;
  padding: 12px 14px;
  color: #fff;
  transition: background .2s, border-color .2s, transform .2s;
}

.fq-btn:hover {
  background: rgba(255, 255, 255, .15);
  border-color: var(--yellow);
  transform: translateX(3px);
  color: #fff;
}

.fq-btn svg {
  flex-shrink: 0;
  color: var(--yellow);
  width: 18px;
  height: 18px;
}

.fq-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  font-family: var(--head);
  font-weight: 700;
  font-size: .95rem;
}

.fq-btn small {
  font-family: var(--body);
  font-weight: 400;
  font-size: .74rem;
  color: #9fb2d1;
  letter-spacing: .02em;
}

/* pruh souvisejících služeb */
.rel-label {
  font-family: var(--head);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.rel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rel-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 16px;
  font-family: var(--head);
  font-weight: 600;
  font-size: .93rem;
  color: #33415a;
  transition: border-color .2s, transform .2s, color .2s;
}

.rel-link svg {
  width: 18px;
  height: 18px;
  color: var(--navy);
  flex-shrink: 0;
}

.rel-link .arw {
  width: 14px;
  height: 14px;
  color: var(--muted-2);
}

.rel-link:hover {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-2px);
}

.rel-link:hover .arw {
  color: var(--navy);
  transform: translateX(3px);
}

/* ============ v5: porovnávací infografika „Znáte to?" ============ */
.cmp {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.cmp-head {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  align-items: center;
  background: var(--bg-soft-2);
  border-bottom: 1px solid var(--line);
}

.cmp-head span,
.cmp-head p {
  padding: 12px 18px;
  font-family: var(--head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cmp-h-pain {
  color: var(--muted);
}
.cmp-h-pain p,
.cmp-h-fix p{
  margin: 0;
}

.cmp-h-fix {
  color: var(--navy);
  background: rgba(250, 204, 21, .14);
  box-shadow: inset 3px 0 0 var(--yellow);
}

.cmp-row {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.cmp-row:first-of-type {
  border-top: none;
}

.cmp-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--bg-soft);
}

.cmp-ico svg {
  width: 20px;
  height: 20px;
}

.cmp-pain, .cmp-fix {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 18px 18px;
  height: 100%;
}

.cmp-fix {
  background: rgba(250, 204, 21, .07);
  box-shadow: inset 3px 0 0 var(--yellow);
}

.cmp-pain p, .cmp-fix p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
}

.cmp-pain p {
  color: var(--muted);
}

.cmp-fix p {
  color: var(--ink);
  font-weight: 500;
}

.cmp-mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 800;
  margin-top: 1px;
}

.cmp-x {
  background: #eef1f6;
  color: #93a0b4;
}

.cmp-v {
  background: var(--yellow);
  color: var(--navy);
}

@media (max-width: 760px) {
  .cmp-head {
    display: none;
  }

  .cmp-row {
    grid-template-columns: 1fr;
    border-top: 8px solid var(--bg-soft);
  }

  .cmp-ico {
    display: none;
  }

  .cmp-pain, .cmp-fix {
    padding: 14px 16px;
  }

  .cmp-fix {
    box-shadow: inset 0 3px 0 var(--yellow);
  }
}

/* ============ v5: mobilní optimalizace (kratší scroll, čitelnější) ============ */
@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 34px 0;
  }

  .section-tight {
    padding: 26px 0;
  }

  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.2rem);
  }

  h2 {
    font-size: clamp(1.3rem, 5.6vw, 1.7rem);
  }

  .section-head {
    margin-bottom: 18px;
  }

  .lead {
    font-size: 1rem;
  }

  /* HERO: text první, vizuál pod ním a nižší */
  .hero .container {
    padding-top: 30px;
    padding-bottom: 34px;
  }

  .hero-grid {
    gap: 22px;
  }

  .hero-visual {
    order: 0;
  }

  .hero .sub {
    font-size: 1.06rem;
  }

  .hero .body {
    font-size: .95rem;
  }

  .hero-shot {
    aspect-ratio: 16/10;
  }

  .hero-badge {
    margin-bottom: 14px;
    font-size: .76rem;
    padding: 6px 12px;
  }

  .hero-cta {
    gap: 10px;
  }

  .hero-cta .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .hero-card {
    padding: 16px;
  }

  .hero-card .hc-num {
    font-size: 1.1rem !important;
  }

  /* podstránkové hero */
  .page-hero .container {
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .page-hero.has-img .container {
    gap: 20px;
  }

  .page-hero .ph-media {
    aspect-ratio: 16/10;
  }

  .page-hero .sub {
    font-size: 1.02rem;
  }

  .ms-hero .container {
    padding: 30px 16px;
  }

  /* mřížky: méně bílého místa */
  .grid {
    gap: 14px;
  }

  .card {
    padding: 20px;
  }

  .steps {
    gap: 12px;
  }

  .step {
    padding: 20px;
  }

  .benefit-row {
    gap: 12px;
    margin-top: 18px;
  }

  .checklist li {
    margin-bottom: 9px;
  }

  .mini-grid {
    gap: 8px 20px;
  }

  /* obrazové sekce nižší */
  .fm-media, .as-media {
    aspect-ratio: 16/10 !important;
  }

  .feature-media {
    gap: 20px;
  }

  .iso-badge-box img {
    max-width: 160px;
  }

  /* formuláře přes celou šířku a dost velké na dotek */
  .qc-card {
    padding: 20px;
    gap: 16px;
  }

  .qc-dark {
    padding: 20px;
    margin-top: 22px;
  }

  .qc-form .field input {
    height: 50px;
  }

  .qc-form .qc-btn {
    height: 50px;
  }

  .form {
    padding: 20px;
  }

  .offer-hero .container {
    padding-top: 30px;
    padding-bottom: 34px;
  }

  .offer-head {
    margin-bottom: 18px;
  }

  /* patička kompaktnější */
  .footer {
    padding-top: 34px;
  }

  .footer .cols {
    gap: 26px;
    padding-bottom: 26px;
  }

  /* tabulky a loga */
  .logo-row {
    gap: 8px;
  }

  .logo-chip.has-img {
    min-width: 78px;
    height: 44px;
    padding: 8px 12px;
  }

  .logo-chip.has-img img {
    max-height: 24px;
    max-width: 88px;
  }

  .final-cta .qc-dark {
    text-align: center;
  }
}

/* --- mobil: zkrácení scrollu u nejdelších sekcí --- */
@media (max-width: 720px) {

  /* karty služeb kompaktněji (6 karet pod sebou byl nejdelší blok) */
  .svc-card {
    padding: 16px 18px;
  }

  .svc-card .svc-ico {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    margin-bottom: 10px;
  }

  .svc-card .svc-ico svg {
    width: 18px;
    height: 18px;
  }

  .svc-card h3 {
    font-size: 1.02rem;
    margin-bottom: 5px;
  }

  .svc-card p {
    font-size: .89rem;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .svc-card .svc-more {
    font-size: .84rem;
    padding-top: 6px;
  }

  /* magazín: na mobilu stačí 3 nejnovější články */
  .art-card:nth-child(n+4) {
    display: none;
  }

  .art-body {
    padding: 16px;
  }

  .art-card h3 {
    font-size: 1rem;
  }

  .art-card p {
    font-size: .86rem;
  }

  /* kroky spolupráce kompaktněji */
  .step {
    padding: 16px 18px;
  }

  .step .n {
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    font-size: .92rem;
  }

  .step h3 {
    font-size: 1.02rem;
  }

  .step p {
    font-size: .89rem;
  }

  /* „proč my" — užší řádky */
  .why-row {
    padding: 13px 0;
    gap: 12px;
    grid-template-columns: 40px 1fr;
  }

  .why-row .wr-n {
    font-size: 1.2rem;
  }

  .why-row h3 {
    font-size: .98rem;
  }

  .why-row p {
    font-size: .88rem;
  }

  /* hodnoty / karty v mřížce */
  .card h3 {
    font-size: 1.02rem;
  }

  .valueCards, .grid-4 .card p {
    font-size: .89rem;
  }

  /* zeď log: menší dlaždice, ať sekce není nekonečná */
  .logo-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .logo-cell {
    aspect-ratio: 3/2;
    padding: 10px;
  }
}

/* --- mobil: cílené zkrácení nejdelších bloků --- */
@media (max-width: 720px) {

  /* HERO: na malé obrazovce stačí nadpis + podnadpis + akce.
     Podrobný odstavec a bonusová karta se opakují níž na stránce. */
  .hero .body {
    display: none;
  }

  .hero .hero-card {
    display: none;
  }

  .hero-shot {
    aspect-ratio: 16/9;
  }

  /* pás log na homepage: na mobilu zkrácený výběr (kompletní je na Referencích) */
  .section .logo-row .logo-chip:nth-child(n+13) {
    display: none;
  }
}

/* od 440 px vejdou dvě karty vedle sebe — ušetří skoro obrazovku scrollu */
@media (min-width: 440px) and (max-width: 720px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .kar-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .ms-points {
    grid-template-columns: repeat(2, 1fr);
  }

  .ms-points .ms-point:last-child {
    grid-column: 1 / -1;
  }
}

/* velmi malé displeje (do 400 px) */
@media (max-width: 400px) {
  .container {
    padding: 0 14px;
  }

  .section {
    padding: 28px 0;
  }

  h1 {
    font-size: 1.6rem;
  }

  .hero-shot {
    aspect-ratio: 4/3;
  }

  .stat {
    padding: 20px 12px;
  }

  .stat .v {
    font-size: 1.3rem;
  }

  .stat .l {
    font-size: .78rem;
  }
}

/* dotyková zařízení: hover efekty nemají smysl a „zasekávají" se */
@media (hover: none) {
  .card:hover, .art-card:hover, .pos-card:hover, .ms-point:hover, .team-card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }

  .rel-link:hover, .fq-btn:hover, .cmp-row:hover {
    transform: none;
  }
}

/* ============ v6: rozložení sekcí a vizuálů ============ */

/* --- HERO: vizuál patří mezi nadpis a podnadpis (na užších obrazovkách) --- */
@media (max-width: 900px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-grid>div:first-child {
    display: contents;
  }

  .hero-badge {
    order: 1;
    margin-bottom: 14px;
  }

  .hero h1 {
    order: 2;
    margin-bottom: 18px;
  }

  .hero-visual {
    order: 3;
    margin-bottom: 20px;
  }

  .hero .sub {
    order: 4;
    margin-bottom: 10px;
  }

  .hero .body {
    order: 5;
  }

  .hero-cta {
    order: 6;
    margin-top: 4px;
  }

  .hero-note {
    order: 7;
  }

}

/* --- sekce vedle sebe dřív (dlouhý sloupec pod sebou působil nekonečně) --- */
@media (min-width: 560px) {
  .why-list {
    grid-template-columns: 1fr 1fr;
    gap: 4px 28px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .steps .step:last-child {
    grid-column: 1 / -1;
  }

  .benefit-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .steps .step:last-child {
    grid-column: auto;
  }
}

@media (min-width: 560px) and (max-width: 720px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .kar-benefits, .ms-points {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- microsite (školy, neziskovky): ilustrace mezi text a tlačítka --- */
@media (max-width: 900px) {
  .ms-hero .container {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .ms-hero .container>div:first-child {
    display: contents;
  }

  .ms-hero h1 {
    order: 1;
    margin-bottom: 12px;
  }

  .ms-hero .sub {
    order: 2;
    margin-bottom: 10px;
  }

  .ms-hero .trust {
    order: 3;
    margin: 0 0 18px;
  }

  .ms-hero .ms-art {
    order: 4;
    margin-bottom: 20px;
  }

  .ms-hero .hero-cta {
    order: 5;
    margin-top: 0;
  }

  .ms-art img {
    max-height: 240px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    object-fit: contain;
  }

  .clients-strip .logo-chip.has-img {
    flex-basis: calc((100% - 42px)/4);
  }
}

@media (max-width: 560px) {
  .ms-art img {
    max-height: 190px;
  }

  .clients-strip .logo-chip.has-img {
    flex-basis: calc((100% - 14px)/2);
  }
}

/* --- ilustrace obecně: na mobilu nemají zabírat celou obrazovku --- */
@media (max-width: 720px) {
  .page-hero .ph-media {
    aspect-ratio: auto;
    max-height: 240px;
  }

  .page-hero .ph-media img {
    height: 240px;
    object-fit: cover;
  }

  .fm-media {
    max-height: 230px;
  }

  .fm-media img {
    height: 100%;
    object-fit: cover;
  }

  .hero-shot {
    max-height: 250px;
  }
}

/* placeholder značky [DOPLNIT]/[OVĚŘIT]/[FOTO] */
mark.ph {
  background: #fff3cd;
  color: #7a5b00;
  padding: 0 4px;
  border-radius: 4px;
  font-size: .92em;
  font-family: var(--head);
  font-weight: 600;
  box-decoration-break: clone;
}

.trust-card mark.ph, .final-cta mark.ph, .page-hero mark.ph, .hero mark.ph {
  background: rgba(250, 204, 21, .22);
  color: var(--yellow-300);
}

/* skip link */
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}

.skip:focus {
  left: 0;
}