/* ====== Light Modern Theme ====== */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #fbfcff;

  --text: #0f172a;     /* slate-900 */
  --muted: #475569;    /* slate-600 */
  --muted2: #64748b;   /* slate-500 */

  --border: rgba(15, 23, 42, 0.10);

  --brand: #2563eb;    /* blue-600 */
  --brand2: #7c3aed;   /* violet-600 */
  --brand-soft: rgba(37, 99, 235, 0.10);

  --radius: 18px;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.08);

  --container: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(900px 600px at 15% 10%, rgba(37, 99, 235, 0.10), transparent 60%),
    radial-gradient(900px 600px at 85% 20%, rgba(124, 58, 237, 0.10), transparent 55%),
    radial-gradient(900px 600px at 50% 95%, rgba(37, 99, 235, 0.06), transparent 55%),
    var(--bg);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--container), calc(100% - 2 * 20px));
  margin-inline: auto;
}

.muted { color: var(--muted); }
.lead { font-size: 1.05rem; color: var(--muted); }

.eyebrow {
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--muted2);
}

/* ====== Topbar ====== */
.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  gap: 12px;
}

.topbar__badge { font-size: 0.9rem; color: var(--muted); }
.topbar__link { font-size: 0.9rem; color: var(--text); opacity: 0.85; }
.topbar__link:hover { opacity: 1; }

/* ====== Header ====== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(246, 247, 251, 0.65);
  backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }

.brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, rgba(37, 99, 235, 1), rgba(124, 58, 237, 1));
  color: white;
  box-shadow: var(--shadow-soft);
}

.brand__name { font-weight: 850; letter-spacing: -0.01em; }

.nav { display: flex; align-items: center; gap: 14px; }

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 160ms ease, color 160ms ease;
}

.nav a:hover { background: rgba(15, 23, 42, 0.04); color: var(--text); }

.nav a.is-active {
  color: var(--text);
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(37, 99, 235, 0.14);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  width: 46px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background: rgba(15, 23, 42, 0.8);
  margin: 5px auto;
  border-radius: 2px;
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-weight: 750;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(15, 23, 42, 0.14);
}

.btn--primary {
  border-color: rgba(37, 99, 235, 0.25);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.10));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.12);
}

.btn--ghost { background: transparent; }
.btn--sm { padding: 10px 12px; border-radius: 12px; }

/* ====== Hero ====== */
.hero { position: relative; padding: 56px 0 28px; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.0rem, 2.2vw + 1.2rem, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero__cta { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero__stats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.stat__num { font-weight: 900; letter-spacing: -0.02em; }
.stat__label { color: var(--muted2); font-size: 0.9rem; }

.hero__media { position: relative; display: grid; gap: 14px; }

.media-card {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.media-card--floating {
  width: 88%;
  margin-left: auto;
  transform: translateY(-18px);
  box-shadow: var(--shadow-soft);
}

.hero__bg {
  position: absolute;
  inset: -40px 0 auto 0;
  height: 420px;
  background:
    radial-gradient(500px 240px at 40% 30%, rgba(37, 99, 235, 0.12), transparent 60%),
    radial-gradient(480px 240px at 70% 40%, rgba(124, 58, 237, 0.10), transparent 60%);
  pointer-events: none;
}

/* ====== Sections ====== */
.section { padding: 54px 0; }

.section--alt {
  background: rgba(255, 255, 255, 0.65);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__head { margin-bottom: 18px; }

.section__head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 1.2vw + 1.1rem, 2.1rem);
  letter-spacing: -0.02em;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.card {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: start;
}

.panel {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.panel h3 { margin: 0 0 8px; }

/* Checklist */
.checklist { margin: 16px 0 18px; display: grid; gap: 10px; }
.checklist__item { display: flex; align-items: start; gap: 10px; color: var(--text); }
.check {
  width: 26px; height: 26px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--brand);
  flex: 0 0 auto;
}

/* Content grid */
.content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: start;
  margin-top: 14px;
}

.content p { margin: 0 0 12px; color: var(--text); }

.aside {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.aside__media {
  margin-top: 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.aside__media img { width: 100%; height: 240px; object-fit: cover; }

.bullets { padding-left: 18px; margin: 10px 0 0; color: var(--text); }
.bullets li { margin: 6px 0; color: var(--muted); }

/* Banner */
.banner {
  margin-top: 20px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.06));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.10);
}
.banner h3 { margin: 0 0 6px; }
.banner p { margin: 0; }

/* Accordion */
.accordion { display: grid; gap: 10px; margin-top: 14px; }

.accordion__item {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  padding: 12px 14px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}
.accordion__item summary { cursor: pointer; font-weight: 800; list-style: none; color: var(--text); }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item p { margin: 10px 0 0; color: var(--muted); }

/* Tables (for cennik) */
.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}
.table th, .table td {
  padding: 14px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.table th { color: var(--muted2); font-weight: 800; font-size: 0.9rem; }
.table tr:last-child td { border-bottom: none; }

/* Contact */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.contact-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.contact-card__title { color: var(--muted2); font-size: 0.9rem; }
.contact-card__value { margin-top: 6px; font-weight: 900; letter-spacing: -0.01em; }

.contact-card a { color: var(--brand); }
.contact-card a:hover { text-decoration: underline; }

/* Form */
.form { display: grid; gap: 12px; }

.form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
  font-size: 0.95rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  outline: none;
}

.form input:focus,
.form textarea:focus {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form__note { margin: 0; font-size: 0.9rem; color: var(--muted2); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  background: rgba(255, 255, 255, 0.65);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.footer__right { display: flex; gap: 14px; color: var(--muted); }
.footer__right a:hover { color: var(--text); }

.brand--footer .brand__logo { width: 34px; height: 34px; border-radius: 12px; }

/* ====== Responsive ====== */
@media (max-width: 980px) {
  .hero__grid, .split, .content-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; }
  .media-card img { height: 280px; }

  .banner { flex-direction: column; align-items: stretch; }

  .nav__toggle { display: inline-block; }

  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 66px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav--open { display: flex; }

  .nav a { padding: 10px 12px; color: var(--text); }}
  
  
  /* ===== Lightbox (lekki, bez bibliotek) ===== */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  z-index: 9999;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__dialog {
  width: min(980px, 92vw);
  max-height: 88vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
}

.lightbox__title {
  font-size: 14px;
  color: rgba(15, 23, 42, 0.80);
  line-height: 1.35;
  margin: 0;
}

.lightbox__close {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
}

.lightbox__close:hover {
  background: rgba(248, 250, 252, 1);
}

.lightbox__body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 14px;
}

.lightbox__img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  border-radius: 12px;
}

.lightbox__hint {
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.70);
  background: rgba(248, 250, 252, 0.9);
  border-top: 1px solid rgba(15, 23, 42, 0.10);
}




.section__head h1 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 1.2vw + 1.1rem, 2.1rem);
  letter-spacing: -0.02em;
}
