:root {
  color-scheme: dark;
  --bg: #0b1120;
  --panel: #111b2d;
  --text: #f4f7fb;
  --muted: #a8b4c8;
  --accent: #74e0c1;
  --line: rgba(255,255,255,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.topbar {
  max-width: 1200px; margin: auto; padding: 22px 6%;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; }
.brand b { color: var(--muted); font-weight: 500; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; background: var(--accent); color: #08151a; font-weight: 900;
}
nav { display: flex; flex-wrap: wrap; gap: 28px; color: var(--muted); font-size: 14px; }
nav a:hover, footer a:hover { color: var(--accent); }
.hero {
  max-width: 1200px; margin: auto; padding: 110px 6% 100px;
  background: radial-gradient(ellipse at 75% 35%, rgba(72,133,164,.16), transparent 48%);
}
.eyebrow { color: var(--accent); font-size: 11px; letter-spacing: .19em; font-weight: 800; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; }
h1 { margin: 24px 0; font-size: clamp(42px, 7vw, 82px); line-height: 1.05; letter-spacing: -.055em; }
h1 span { color: var(--accent); }
.intro { max-width: 650px; color: var(--muted); font-size: 18px; }
.cta {
  display: inline-flex; gap: 26px; align-items: center; margin-top: 25px;
  padding: 14px 20px; border-radius: 9px; background: var(--accent);
  color: #07151a; font-weight: 800; font-size: 14px;
}
.cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.hero-note { margin-top: 75px; color: #697a91; font-size: 10px; letter-spacing: .2em; }
.section, .about, .contact { max-width: 1200px; margin: auto; padding: 75px 6%; }
.section-heading h2, .about h2, .contact h2 { margin: 10px 0 28px; font-size: clamp(28px, 4vw, 44px); line-height: 1.2; letter-spacing: -.035em; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tile { padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.tile-icon { color: var(--accent); font-size: 30px; }
.tile-no { color: #8292aa; font-size: 10px; letter-spacing: .16em; }
.tile h3 { font-size: 21px; }
.tile p:last-child, .about > p:last-child { color: var(--muted); }
.about { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about > p:last-child { max-width: 740px; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.contact h2 { max-width: 650px; margin-bottom: 0; }
.secondary { flex-shrink: 0; }
footer {
  max-width: 1200px; margin: auto; padding: 25px 6% 35px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 12px;
}
.footer-brand { color: var(--text); }
@media (max-width: 720px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  nav { gap: 18px; }
  .hero { padding-top: 75px; }
  .cards { grid-template-columns: 1fr; }
  .contact, footer { align-items: flex-start; flex-direction: column; }
  .hero-note { margin-top: 48px; }
}


/* KoralDan: wielojęzyczny przełącznik */
.kd-translate-wrap { position: relative; display: inline-flex; z-index: 1000; }
.kd-translate-button {
  cursor: pointer; border: 1px solid var(--line, #344054);
  border-radius: 9px; padding: 10px 14px;
  color: var(--text, #f5f7fa); background: var(--panel, #111827);
  font: inherit; font-weight: 700;
}
.kd-translate-button:hover { border-color: var(--accent, #48d3a4); }
.kd-translate-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 180px; padding: 6px;
  background: var(--panel, #111827); border: 1px solid var(--line, #344054);
  border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.kd-translate-menu[hidden] { display: none !important; }
.kd-translate-menu button {
  display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 10px 12px; border: 0; border-radius: 6px;
  color: var(--text, #f5f7fa); background: transparent; font: inherit;
}
.kd-translate-menu button:hover { background: var(--line, #344054); }
.kd-google-translate { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.goog-te-banner-frame, .skiptranslate iframe { max-height: 0 !important; }
body { top: 0 !important; }
@media (max-width: 720px) {
  .kd-translate-wrap { align-self: flex-start; }
  .kd-translate-menu { right: auto; left: 0; }
}

