/* ============================================================
   M.A.R.S. — Główny arkusz stylów
   Fonty: Barlow Condensed (nagłówki) + Barlow (body)
   Paleta: #E22020 (czerwień), #111111 (czerń), #FFFFFF (biel)
   ============================================================ */

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #E22020;
  --red-dark:  #B81A1A;
  --red-light: #FF3D3D;
  --black:     #111111;
  --black2:    #1A1A1A;
  --black3:    #222222;
  --gray-dark: #333333;
  --gray:      #666666;
  --gray-light:#AAAAAA;
  --off-white: #F5F5F3;
  --white:     #FFFFFF;
  --border:    rgba(255,255,255,0.08);
  --border-light: rgba(0,0,0,0.08);

  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  --container: 1180px;
  --header-h:  72px;

  --transition: 0.25s ease;
  --radius:     6px;
  --radius-lg:  12px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; font-family: inherit; }

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

/* ============================================================
   HEADER / NAWIGACJA
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(17,17,17,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

/* --- Logo header (PNG) --- */
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-logo-img {
  width: auto;
  height: 44px;         /* wysokość skaluje się automatycznie */
  max-width: 180px;     /* górna granica szerokości */
  object-fit: contain;
  transition: opacity var(--transition);
}
.header-logo:hover .header-logo-img { opacity: 0.85; }

/* Fallback tekstowy (gdy brak pliku PNG) */
.logo-fallback {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}
.logo-fallback em { color: var(--red); font-style: normal; }

/* --- Nav --- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-list a {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  position: relative;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.nav-list a:hover,
.nav-list a.active {
  color: var(--white);
}
.nav-list a:hover::after,
.nav-list a.active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================================
   CALL BUBBLE
   ============================================================ */
.call-bubble {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  padding: 10px 18px 10px 14px;
  border-radius: 36px;
  box-shadow: 0 4px 24px rgba(226,32,32,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.call-bubble:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(226,32,32,0.55);
}
.call-bubble svg { flex-shrink: 0; }
.bubble-text    { display: flex; flex-direction: column; }
.bubble-label   { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; line-height: 1; }
.bubble-phone   { font-family: var(--font-head); font-size: 17px; font-weight: 700; line-height: 1.2; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--black);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-shapes::before {
  content: '';
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%) skewX(-8deg);
  width: 45%;
  height: 120%;
  background: var(--red);
  opacity: 0.08;
}
.hero-bg-shapes::after {
  content: '';
  position: absolute;
  right: 80px; top: 50%;
  transform: translateY(-50%) skewX(-8deg);
  width: 28%;
  height: 80%;
  background: var(--red);
  opacity: 0.05;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.hero-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hero-h1 span { color: var(--red); }

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   PRZYCISKI
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226,32,32,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover {
  background: var(--black3);
  transform: translateY(-2px);
}

/* ============================================================
   LICZNIKI (STATS BAR)
   ============================================================ */
.stats-bar {
  background: var(--red);
  padding: 0;
}
.stats-inner {
  display: flex;
  align-items: stretch;
}
.stat-item {
  flex: 1;
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
  display: block;
}
.stat-google-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.9);
  margin-top: 6px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   SEKCJE OGÓLNE
   ============================================================ */
.section {
  padding: 96px 0;
}
.section-sm { padding: 64px 0; }
.section-dark { background: var(--off-white); }
.section-black { background: var(--black); color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-black .section-title { color: var(--white); }
.section-black .section-sub   { color: rgba(255,255,255,0.6); }

/* ============================================================
   USŁUGI GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--red);
  transition: width 0.35s ease;
}
.svc-card:hover {
  border-color: rgba(226,32,32,0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.svc-card:hover::before { width: 100%; }

.svc-icon {
  width: 44px; height: 44px;
  background: rgba(226,32,32,0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--red);
}
.svc-icon svg { width: 22px; height: 22px; }
.svc-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.svc-desc { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ============================================================
   PROJEKTY GRID
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.proj-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.proj-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.proj-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--off-white);
}
.proj-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.proj-card:hover .proj-card-img img { transform: scale(1.04); }
.proj-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f0f0ee, #e8e8e4);
  color: var(--gray-light);
  font-size: 40px;
}
.proj-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.proj-card:hover .proj-card-overlay { opacity: 1; }

.proj-card-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.proj-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.proj-card-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 8px;
}
.proj-card-meta {
  font-size: 13px;
  color: var(--gray);
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.projects-more {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   STRONA PROJEKTÓW
   ============================================================ */
.projects-page-header {
  background: var(--black);
  padding: 80px 0 56px;
  margin-top: var(--header-h);
  text-align: center;
}
.projects-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-btn {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--gray);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ============================================================
   SZCZEGÓŁ PROJEKTU
   ============================================================ */
.project-detail-header {
  background: var(--black);
  padding: 80px 0 48px;
  margin-top: var(--header-h);
}
.project-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  transition: color var(--transition);
}
.project-back:hover { color: var(--white); }

.project-meta-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.meta-chip {
  font-size: 13px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 4px 12px;
  color: rgba(255,255,255,0.8);
}
.meta-chip strong { color: var(--red); }

/* Karuzela */
.project-carousel {
  position: relative;
  background: var(--black2);
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel-slide {
  min-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--black3);
}
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  z-index: 2;
}
.carousel-btn:hover { background: var(--red); border-color: var(--red); }
.carousel-btn-prev { left: 16px; }
.carousel-btn-next { right: 16px; }
.carousel-dots {
  display: flex; justify-content: center; gap: 8px;
  padding: 16px;
  background: var(--black2);
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}
.carousel-dot.active {
  background: var(--red);
  transform: scale(1.3);
}

.project-body {
  padding: 64px 0;
}
.project-desc {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-dark);
  max-width: 800px;
}
.project-actions {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ============================================================
   O NAS
   ============================================================ */
.about-hero {
  background: var(--black);
  padding: 80px 0 64px;
  margin-top: var(--header-h);
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 24px;
}
.about-text p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px;
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.value-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border-left: 3px solid var(--red);
}
.value-card h4 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.value-card p { font-size: 14px; color: var(--gray); }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-page-header {
  background: var(--black);
  padding: 80px 0 56px;
  margin-top: var(--header-h);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 40px; height: 40px;
  background: rgba(226,32,32,0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; }
.ci-label { font-size: 12px; color: var(--gray); margin-bottom: 2px; }
.ci-val {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
}
.ci-val a { color: var(--black); transition: color var(--transition); }
.ci-val a:hover { color: var(--red); }

.contact-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.contact-map-wrapper iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}
.google-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 20px;
  padding: 10px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--black);
  transition: border-color var(--transition);
}
.google-stars:hover { border-color: var(--red); }
.google-stars .stars { color: #F5A623; letter-spacing: 2px; }

/* ============================================================
   STOPKA
   ============================================================ */
.site-footer {
  background: var(--black2);
  color: var(--white);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 24px 48px;
}

/* --- Logo footer (PNG) --- */
.footer-logo { display: inline-block; }
.footer-logo-img {
  width: auto;
  height: 52px;         /* nieco większe w stopce */
  max-width: 200px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity var(--transition);
  /* Jeśli PNG ma ciemne tło: odfiltruj do bieli */
  filter: brightness(0) invert(1);
  /* Usuń filter jeśli PNG jest już jasne / ma przezroczyste tło */
}
.footer-logo:hover .footer-logo-img { opacity: 1; }

/* Fallback tekstowy w stopce */
.logo-fallback-footer {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  display: none; /* pokazuje się przez JS gdy brak pliku */
}
.logo-fallback-footer em { color: var(--red); font-style: normal; }

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
  letter-spacing: 0.04em;
}
.footer-nav-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-nav ul li,
.footer-nav ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 2;
  transition: color var(--transition);
}
.footer-nav ul a:hover { color: var(--white); }

.footer-contact p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 2;
}
.footer-contact a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--red); }
.google-review-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: #F5A623;
  transition: opacity var(--transition);
}
.google-review-link:hover { opacity: 0.8; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom span { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   PANEL ADMINA
   ============================================================ */
.admin-wrapper {
  min-height: 100vh;
  background: #0f0f1a;
  color: var(--white);
  display: flex;
  flex-direction: column;
}
.admin-header {
  background: #1a1a2e;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-logo-text {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
}
.admin-logo-text em { color: var(--red); font-style: normal; }

.admin-layout {
  display: flex;
  flex: 1;
}
.admin-sidebar {
  width: 220px;
  background: #15152a;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  flex-shrink: 0;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.admin-nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.admin-nav-item:hover,
.admin-nav-item.active {
  color: var(--white);
  background: rgba(226,32,32,0.12);
  border-right: 2px solid var(--red);
}

.admin-content {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
}
.admin-content h1 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

/* Tabela admin */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
}
.admin-table td {
  padding: 12px 14px;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.admin-table tr:hover td { background: rgba(255,255,255,0.03); }

/* Formularze admin */
.admin-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.admin-form input[type="text"],
.admin-form input[type="number"],
.admin-form input[type="email"],
.admin-form select,
.admin-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color var(--transition);
}
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: var(--red);
}
.admin-form textarea { min-height: 160px; resize: vertical; }

/* Upload strefy */
.upload-zone {
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--red);
  background: rgba(226,32,32,0.05);
}
.upload-zone p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}
.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.upload-preview-item {
  position: relative;
  width: 80px; height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.upload-preview-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.upload-remove {
  position: absolute;
  top: 3px; right: 3px;
  width: 18px; height: 18px;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  border: none;
  color: var(--white);
  font-size: 11px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* Admin badge statusu */
.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.status-badge.pub  { background: rgba(34,187,100,0.15); color: #22bb64; }
.status-badge.szkic{ background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.4); }

/* ============================================================
   RESPONSYWNOŚĆ
   ============================================================ */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li a {
    display: block;
    padding: 14px 24px;
    font-size: 18px;
    border-bottom: 1px solid var(--border);
  }
  .nav-cta { margin: 16px 24px; }

  .stats-inner    { flex-wrap: wrap; }
  .stat-item      { flex: 1 1 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }

  .services-grid  { grid-template-columns: 1fr 1fr; }
  .projects-grid  { grid-template-columns: 1fr; }
  .footer-inner   { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 32px; }
  .values-grid    { grid-template-columns: 1fr; }

  .hero-h1 { font-size: 40px; }
  .section  { padding: 64px 0; }

  .call-bubble { bottom: 16px; right: 16px; padding: 8px 14px 8px 12px; }
  .bubble-label { display: none; }
  .bubble-phone { font-size: 15px; }

  .admin-sidebar { width: 56px; }
  .admin-nav-item span { display: none; }
  .admin-content { padding: 20px 16px; }

  .project-actions { flex-direction: column; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn { justify-content: center; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
}

/* ============================================================
   ANIMACJE
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
