:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f6f8;
  --color-text: #1c1f24;
  --color-text-muted: #5a6270;
  --color-accent: #2456d6;
  --color-border: #e4e6eb;
  --max-width: 1100px;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

h1, h2, h3 { line-height: 1.25; margin-top: 0; }

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: var(--color-bg);
  z-index: 10;
}

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

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-text);
}
.logo:hover { text-decoration: none; }

.logo-img {
  height: 36px;
  max-height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.nav a {
  margin-left: 24px;
  color: var(--color-text);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.hero {
  position: relative;
  padding: 140px 0;
  background:
    linear-gradient(180deg, rgba(10, 16, 26, 0.62), rgba(10, 16, 26, 0.72)),
    url("../img/hero-bg.jpg") center / cover no-repeat;
  background-color: var(--color-bg-alt);
  text-align: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.4rem;
  max-width: 700px;
  margin: 0 auto 16px;
  color: #fff;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
}
.btn:hover { text-decoration: none; opacity: 0.9; }

.section { padding: 64px 0; }
.section-alt { background: var(--color-bg-alt); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}
.contact-list li { margin-bottom: 8px; }

.section-image {
  position: relative;
  background:
    linear-gradient(180deg, rgba(10, 16, 26, 0.72), rgba(10, 16, 26, 0.72)),
    url("../img/kontakt-bg.jpg") center / cover no-repeat;
  background-color: var(--color-bg-alt);
  color: #fff;
}

.section-image h2,
.section-image p {
  color: #fff;
}

.section-image .contact-list a {
  color: #fff;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 16px 24px;
  }
  .nav.open { display: flex; }
  .nav a { margin: 8px 0; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 1.8rem; }
}
