:root {
  --bg: #0b0b0b;
  --text: #f5f5f5;
  --muted: #9aa0a6;
  --card: #121212;
  --line: #222;
  --brand: #7A0F1A;
  --brand-2: #5c0b14;
  --white: #fff;
  --black: #000;
  --bg-muted: #d0d0d0; /* NOVÉ: Tmavší šedá pro výraznější kontrast oproti bílé (#fff) */
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #111;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 115px !important;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
  text-decoration: none;
  font-weight: 600;
}

.brand img {
  height: 78px !important;
  max-height: 78px !important;
}

.brand span {
  display: none !important;
}

.main-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #333;
  text-decoration: none;
}

.header-cta .btn {
  margin-left: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-2);
}

.btn-outline {
  background: #fff;
  color: var(--brand);
}

.btn-outline:hover {
  background: #fff;
  border-color: var(--brand-2);
  color: var(--brand-2);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  padding: 80px 0 100px !important;
  background: #0f0f10;
  color: #fff;
  overflow: hidden;
  border-bottom: 4px solid var(--brand); /* NOVÉ: Barevná hranice pro výraznější oddělení od následující sekce */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-abstract {
  position: absolute;
  inset: -10%;
  background: radial-gradient(60% 60% at 70% 30%, rgba(122,15,26,.5), transparent 60%), radial-gradient(40% 40% at 20% 80%, rgba(255,255,255,.06), transparent 60%);
  filter: blur(20px);
  opacity: .7;
}

.hero-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  mix-blend-mode: screen;
  background-size: cover;
  background-position: center;
  transition: opacity .8s ease;
}

.hero-content {
  position: relative;
}

.claim {
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.subclaim {
  max-width: 740px;
  margin: 0 0 22px;
  color: #e3e3e3;
  font-size: 18px;
}

.cta-row {
  display: flex;
  gap: 12px;
}

/* Sections */
section {
  padding: 96px 0;
  position: relative;
}

section::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,0.06);
}

section h2 {
  font-size: 32px;
  margin: 0 0 26px;
  position: relative;
}

section h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 12px;
  background: var(--brand);
  border-radius: 999px;
  opacity: .9;
}

/* Cards */
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(12,1fr);
}

.card {
  grid-column: span 6;
  background: #fff;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

.card-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 18px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.card p {
  margin: 0;
  color: #444;
}

/* Benefits */
.benefit-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  background: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06) !important;
  transition: transform .2s ease, box-shadow .2s ease;
}

.benefit-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

@media (min-width: 920px) {
  .benefit-list {
    grid-template-columns: repeat(3,1fr);
  }
}

/* References */
.refs .ref {
  background: #fff;
  border: none;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.refs .ref:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

.refs .ref h3 {
  margin: 10px 0 6px;
}

/* CTA block */
.cta-block {
  background: #0f0f10;
  color: #fff;
  text-align: center;
  border-top: 4px solid var(--brand); /* NOVÉ: Barevná hranice pro výraznější oddělení od předchozí sekce */
}

.cta-block h2 {
  font-size: 28px;
  margin: 0 0 10px;
}

.cta-block h2::after {
  display: none !important;
}

.cta-block p {
  opacity: .9;
  margin: 0 0 18px;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.contact-form input, .contact-form textarea {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 12px;
  font: inherit;
}

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

/* Footer */
.site-footer {
  border-top: 1px solid #eee;
  background: #fff;
  color: #555;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.footer-inner a {
  color: #555;
  text-decoration: none;
}

/* Section backgrounds */
.services, .references {
  background: var(--bg-muted); /* Nyní tmavší pro kontrast */
  border-top: 2px solid rgba(122,15,26,0.2); /* NOVÉ: Lehký brand tón hranice pro akcent */
}

.benefits, .contact {
  background: #fff;
}

/* Gradient transitions for muted sections */
section.services,
section.references {
  position: relative;
}

section.services::before,
section.references::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px; /* NOVÉ: Delší gradient pro výraznější přechod (z 72px) */
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.12), rgba(0,0,0,0)); /* NOVÉ: Silnější opacity pro viditelnější efekt */
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .brand img {
    height: 54px !important;
    max-height: 54px !important;
  }
  .header-inner {
    height: 92px !important;
  }
  .hero {
    padding-top: 70px !important;
  }
}

@media (min-width: 920px) {
  .card {
    grid-column: span 6;
    background: #fff;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    transition: transform .25s ease, box-shadow .25s ease;
  }
}

@media (max-width: 920px) {
  section {
    padding: 96px 0;
  }
}

.bg-muted {
  background: var(--bg-muted) !important;
}