:root {
  --bg: #f5f7fb;
  --bg-soft: #ffffff;
  --text: #142033;
  --muted: #5c667a;
  --line: #dfe5ee;
  --primary: #1463ff;
  --primary-dark: #0f3f9f;
  --accent: #18b6a7;
  --shadow: 0 20px 50px rgba(20, 32, 51, .12);
  --radius: 22px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}
.narrow { max-width: 850px; }
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-light { background: var(--bg-soft); }
.section-heading { max-width: 760px; margin-bottom: 36px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 18px; }
h1 { font-size: clamp(2.35rem, 6vw, 5.2rem); letter-spacing: -0.06em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.045em; }
h3 { font-size: clamp(1.18rem, 2vw, 1.45rem); }
p { margin: 0 0 18px; color: var(--muted); }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 670px; }
.eyebrow {
  margin-bottom: 12px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(223, 229, 238, .75);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.02em;
}
.brand-logo { width: 128px; height: 42px; object-fit: contain; }
.brand-text { font-size: 1.35rem; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  text-decoration: none;
  padding: 10px 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--muted);
}
.main-nav a:hover { background: #edf3ff; color: var(--primary-dark); }
.nav-cta { background: var(--text) !important; color: #fff !important; }
.nav-toggle { display: none; }
.hamburger { display: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s ease; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(20, 99, 255, .22), transparent 34rem),
    linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 620px;
  height: 620px;
  background: rgba(24, 182, 167, .16);
  border-radius: 999px;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 12px 25px rgba(20, 99, 255, .25); }
.btn-secondary { background: #fff; color: var(--text); border: 1px solid var(--line); }
.hero-card {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.stat {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.stat strong { display: block; font-size: 1.12rem; }
.stat span { color: var(--muted); }

.service-grid, .reference-grid, .two-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.service-card, .panel, .contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(20, 32, 51, .06);
}
.service-card {
  min-height: 210px;
  padding: 26px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(20, 99, 255, .35); }
.icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; background: #edf3ff; border-radius: 16px; font-size: 1.5rem; }

.content-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 72px); align-items: start; }
.content-grid.reverse { grid-template-columns: 1fr 1fr; }
.panel { padding: clamp(22px, 3vw, 34px); }
.accent-panel { background: linear-gradient(135deg, #0e2450, #143c88); color: #fff; border: none; }
.accent-panel p, .accent-panel li { color: rgba(255,255,255,.82); }
.check-list { padding: 0; margin: 0 0 24px; list-style: none; display: grid; gap: 12px; }
.check-list:last-child { margin-bottom: 0; }
.check-list li { position: relative; padding-left: 30px; color: var(--muted); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.5);
}
.check-list.big { gap: 18px; font-size: 1.05rem; }
.two-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
.references { margin-top: 44px; }
.reference-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.reference-grid a {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  color: var(--primary-dark);
}
.reference-grid a:hover { border-color: var(--primary); background: #f4f8ff; }

.contact-section { background: linear-gradient(135deg, #10213f, #132f66); }
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: clamp(26px, 5vw, 48px);
}
.contact-list p { margin-bottom: 14px; }
.contact-list a { color: var(--primary-dark); font-weight: 800; }
.site-footer { padding: 28px 0; background: #071329; color: rgba(255,255,255,.75); }
.footer-wrap { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.site-footer p { margin: 0; color: rgba(255,255,255,.72); }
.site-footer a { color: #fff; font-weight: 800; text-decoration: none; }

@media (max-width: 920px) {
  .hamburger { display: inline-flex; }
  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .main-nav a { padding: 14px 16px; border-radius: 12px; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .nav-toggle:checked + .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-grid, .content-grid, .content-grid.reverse, .contact-card { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 56px 0; }
  .hero-actions, .footer-wrap { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .service-grid, .two-cards, .reference-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .brand-logo { width: 36px; height: 36px; }
}

.web-reference-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.web-reference-card {
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.web-reference-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.13);
}

.web-reference-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.web-reference-content {
    padding: 22px 24px 24px;
}

.web-reference-content h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.web-reference-content p {
    margin: 0 0 16px;
    color: var(--muted-text, #64748b);
    line-height: 1.6;
}

.reference-link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: var(--primary, #2563eb);
    text-decoration: none;
}

.reference-link:hover {
    text-decoration: underline;
}

@media (max-width: 760px) {
    .web-reference-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .web-reference-content {
        padding: 18px;
    }
}

/* Moje vlastní styly */

#sub_footer {
	clear: both;
	height: auto;
	width: 100%;	
	border-top: 1px solid #111111;
	background: #060606;
}

#sub_footer_content {
	/* max-width: 1120px; */
	margin: 0 auto;
	padding: 2px 16px;
	color: #aaa;
	font-size: 0.6em;
	text-align: right;
}