:root {
  --bg-main: #f5f5f7;
  --text-main: #111111;
  --text-muted: #555555;
  --accent: #e53935;
  --accent-soft: rgba(229, 57, 53, 0.08);
  --border-soft: #e0e0e0;
  --header-height: 72px;
  --max-width: 1120px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background: #ffffff;
  line-height: 1.6;
}

/* HEADER */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.site-header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  height: 32px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 20px;
  font-size: 0.92rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.18s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

.lang-switcher {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
}

.lang-switcher a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.lang-switcher a.is-active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* HERO z paralaksą */

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-main);
  text-align: left;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/starling_wallpaper.jpg");
  background-size: cover;
  background-position: center;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.96),
      rgba(255, 255, 255, 0.88)
    );
  z-index: -1;
}

.hero-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
}

.hero-logo {
  max-width: 230px;
  margin-bottom: 20px;
}

.hero-kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero-lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(229, 57, 53, 0.28);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
}

.hero-meta {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-right {
  align-self: center;
  justify-self: center;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  padding: 22px 20px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-right h2 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
  color: var(--text-muted);
}

.hero-right ul {
  margin: 0 0 12px;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-right-footer {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* SEKCJE */

.section {
  padding: 72px 24px 64px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 16px;
}

.section-lead {
  max-width: 38rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.98rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  border-radius: 18px;
  padding: 20px 18px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
}

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

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

/* FOOTER */

.site-footer {
  padding: 32px 24px 40px;
  border-top: 1px solid #f0f0f0;
  font-size: 0.86rem;
  color: var(--text-muted);
  background: #fafafa;
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

/* RESPONSIVE */

@media (max-width: 840px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 40px;
  }

  .hero {
    text-align: left;
  }

  .main-nav {
    display: none;
  }

  .site-header-inner {
    justify-content: space-between;
  }
}