:root {
  --navy: #0b0f1d;
  --ink: #e5e7eb;
  --cream: #1a1f2e;
  --paper: #0b0f1d;
  --muted: #6b7280;
  --accent: #e7d7bf;
  --primary: #c6b28f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}
.skip-link {
  position: absolute; left: -9999px; top: auto;
}
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.site-header .header-inner {
  display: flex; align-items: center; gap: 16px; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-text { font-weight: 700; letter-spacing: .08em; }
.nav { display: flex; gap: 18px; }
.nav a { color: #e5e7eb; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.nav a:hover { color: #fff; }
.nav .mobile-phone { display: none; }
.header-cta .btn-primary { background: var(--primary); color: #111; }

.nav-toggle { display: none; background: #ffffff1a; color: #fff; border: 1px solid #ffffff33; border-radius: 8px; padding: 8px 12px; font-size: 18px; cursor: pointer; }

.hero {
  background: linear-gradient(180deg, var(--navy), #141a2b 60%, var(--paper) 60%);
  color: #fff;
  padding: 0;
}
.hero-content { text-align: center; }
.hero-content h1 { font-size: clamp(28px, 6vw, 48px); margin: 12px 0 8px; letter-spacing: .04em; }
.hero-content h1 small { display: block; font-size: .55em; font-weight: 400; opacity: .9; }
.hero .lead { color: #e5e7eb; margin: 8px 0 20px; }
.slider { position: relative; margin: 0 auto 8px; width: min(980px, 92%); aspect-ratio: 16/7; border-radius: 14px; overflow: hidden; border: 1px solid #2b3248; background: #0b0f1d; }
.slider-full { width: 100vw; max-width: 100%; margin-left: 50%; transform: translateX(-50%); border-radius: 0; border: none; }
.slider::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); pointer-events: none; z-index: 1; }
.slides { height: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; transition: transform .6s ease; }
.slide { height: 100%; display: grid; place-items: center; padding: 0; margin: 0; position: relative; }
.slide > img:not(.slide-logo) { width: 100%; height: 100%; object-fit: cover; }
.slide-logo { position: absolute; inset: 0; margin: auto; width: min(520px, 42vw); height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.55)); pointer-events: none; z-index: 2; }

/* Logo intro/outro animation for ALL slides */
.slide-logo { opacity: 0; transform: scale(.95); transition: opacity .6s ease, transform .6s ease; }
.slide.is-active .slide-logo.show { opacity: 1; transform: scale(1); }
.slide.is-active .slide-logo.hide { opacity: 0; transform: scale(.98); }

/* Position logo ~100px from top on ALL slides */
.slider .slide .slide-logo { inset: auto; top: 100px; left: 50%; right: auto; bottom: auto; margin: 0; transform: translateX(-50%) scale(1.04); }
.slider .slide.is-active .slide-logo.show { transform: translateX(-50%) scale(1.08); }
.slider .slide.is-active .slide-logo.hide { transform: translateX(-50%) scale(.98); }

.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.9); border: none; width: 38px; height: 38px; border-radius: 999px; font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.25); z-index: 3; }
.slider-btn:hover { background: #fff; }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }
.dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 10px; display: flex; gap: 8px; z-index: 3; }
.dots button { width: 10px; height: 10px; border-radius: 999px; border: none; background: rgba(255,255,255,.6); cursor: pointer; }
.dots button[aria-selected="true"] { background: #fff; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-drop { opacity: .9; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 8px; border: 1px solid #d1d5db; background: #fff; color: #111; text-decoration: none; font-weight: 700; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn:hover { filter: brightness(.97); }

.section { padding: 56px 0; }
.section.alt { background: #0f1526; }
.section h2 { font-size: clamp(22px, 4.8vw, 34px); margin: 0 0 20px; letter-spacing: .02em; }

.grid { display: grid; gap: 16px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card { background: #111827; border: 1px solid #2b3248; border-radius: 12px; padding: 18px; box-shadow: 0 1px 6px rgba(0,0,0,.25); }
.card h3 { margin-top: 8px; margin-bottom: 10px; font-size: 20px; color: #fff; }
.card p { color: #cbd5e1; }
.card .icon { width: 36px; height: 36px; display: inline-block; vertical-align: middle; margin-right: 8px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.4)); }
.card ul { padding-left: 18px; margin: 8px 0 0; }
.card .note { color: #9aa2b2; font-size: .92rem; }

.gallery { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.img-slot { aspect-ratio: 4/3; background: repeating-linear-gradient(45deg, #eceff4, #eceff4 10px, #e5e7eb 10px, #e5e7eb 20px); border: 1px dashed #c7cdd8; border-radius: 10px; }
.img-slot::after { content: "Dodaj grafikę"; display: grid; place-items: center; color: #6b7280; font-weight: 700; height: 100%; }

.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: start; }
.contact-phones { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.contact-phone { display: flex; align-items: center; gap: 12px; padding: 16px 20px; text-decoration: none; transition: all 0.3s ease; }
.contact-phone:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(198, 178, 143, 0.3); }
.phone-icon { font-size: 24px; }
.phone-info { display: flex; flex-direction: column; gap: 2px; }
.phone-name { font-weight: 700; font-size: 16px; }
.phone-number { font-size: 18px; font-weight: 600; }
.map { width: 100%; height: 360px; border-radius: 12px; border: 1px solid #2b3248; }
.map-embed iframe { width: 100%; height: 100%; display: block; border: 0; }

.site-footer { background: var(--navy); color: #c7cdd8; }
.site-footer .footer-inner { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 18px 0; }
.site-footer a { color: #c7cdd8; }

@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .contact-phones { margin: 20px 0; }
  .contact-phone { padding: 20px; }
}

/* Mobile adjustments */
@media (max-width: 760px) {
  body { overflow-x: hidden; }
  .site-header .header-inner { gap: 10px; }
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 56px 0 auto 0; background: var(--navy); padding: max(20px, env(safe-area-inset-top)) 4% 12px; display: grid; gap: 12px; transform: translateY(-150%); transition: transform .3s ease; border-bottom: 1px solid #2f354a; }
  .nav.is-open { transform: translateY(0); }
  .nav .mobile-phone { display: inline-flex; background: var(--primary); color: #111; padding: 8px 12px; border-radius: 6px; font-weight: 700; }
  .header-cta { display: none; }
  .hero { padding-top: 0; }
  .slider { aspect-ratio: 16/10; width: 100%; }
  .map { height: 280px; }
}
