:root {
  --bg: #09090b;
  --panel: #18181b;
  --panel-2: #111113;
  --line: rgba(255,255,255,.10);
  --text: #ffffff;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --yellow: #facc15;
  --yellow-2: #fde047;
  --red: #fecaca;
  --green: #bbf7d0;
  --radius: 28px;
  --shadow: 0 28px 80px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(9,9,11,.86);
  backdrop-filter: blur(18px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-with-logo { min-width: 0; }
.site-logo { display: block; width: auto; height: 58px; max-width: min(320px, 58vw); object-fit: contain; }
.brand-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 18px; background: var(--yellow); color: #09090b; font-size: 24px; font-weight: 900; box-shadow: 0 12px 30px rgba(250,204,21,.2); }
.brand strong { display: block; text-transform: uppercase; letter-spacing: -.02em; }
.brand small { display: block; color: var(--yellow-2); font-weight: 800; }
.desktop-nav { display: flex; gap: 28px; font-size: 14px; color: #d4d4d8; }
.desktop-nav a:hover { color: #fff; }
.header-call { border-radius: 999px; background: var(--yellow); color: #09090b; padding: 13px 18px; font-weight: 900; box-shadow: 0 14px 34px rgba(250,204,21,.18); }
.header-call:hover, .btn-primary:hover { background: var(--yellow-2); }

.section-dark { background: var(--bg); }
.section-mid { background: var(--panel); }
.section { padding: 86px 0; }
.hero { position: relative; overflow: hidden; padding: 62px 0 72px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 44px; align-items: center; }
.hero-glow { position: absolute; border-radius: 999px; filter: blur(80px); opacity: .45; pointer-events: none; }
.hero-glow-one { width: 360px; height: 360px; background: rgba(250,204,21,.22); top: -130px; left: -90px; }
.hero-glow-two { width: 460px; height: 460px; background: rgba(217,119,6,.2); right: -150px; bottom: -220px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; border: 1px solid rgba(250,204,21,.25); background: rgba(250,204,21,.08); color: var(--yellow-2); border-radius: 999px; padding: 9px 14px; font-size: 14px; font-weight: 900; }
.eyebrow span { width: 8px; height: 8px; border-radius: 999px; background: var(--yellow); }
.hero h1, .section-heading h2, .contact-grid h2 { margin: 0; letter-spacing: -.055em; line-height: .95; font-size: clamp(44px, 7vw, 82px); }
.hero-lead, .section-heading p, .contact-lead { color: #d4d4d8; font-size: 18px; line-height: 1.75; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; border-radius: 18px; padding: 0 22px; font-weight: 950; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--yellow); color: #09090b; box-shadow: 0 16px 38px rgba(250,204,21,.18); }
.btn-secondary { background: rgba(255,255,255,.05); color: #fff; border-color: var(--line); }
.btn-secondary:hover { background: rgba(255,255,255,.1); }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.hero-points div, .card, .benefits-grid article, .materials-grid article { border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: var(--radius); padding: 20px; }
.hero-points strong { display: block; margin-bottom: 8px; }
.hero-points span { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }

.quote-card { border: 1px solid var(--line); background: rgba(24,24,27,.96); border-radius: 36px; padding: 26px; box-shadow: var(--shadow); }
.form-kicker { margin: 0 0 8px; color: var(--yellow-2); font-size: 13px; text-transform: uppercase; letter-spacing: .18em; font-weight: 950; }
.quote-card h2 { margin: 0; font-size: 28px; letter-spacing: -.035em; }
.form-desc { margin: 10px 0 22px; color: var(--muted); line-height: 1.6; }
.quote-form { display: grid; gap: 15px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
label span { display: block; margin-bottom: 7px; color: #e4e4e7; font-size: 14px; font-weight: 800; }
input, select, textarea { width: 100%; color: #fff; background: #09090b; border: 1px solid var(--line); border-radius: 17px; padding: 13px 14px; outline: none; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--yellow); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.upload-box { position: relative; display: grid; place-items: center; text-align: center; gap: 7px; border: 1px dashed rgba(250,204,21,.45); background: rgba(250,204,21,.06); border-radius: 26px; padding: 26px 14px; cursor: pointer; transition: .2s ease; }
.upload-box:hover, .upload-box.drag-over { background: rgba(250,204,21,.12); border-color: var(--yellow); }
.upload-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-icon { width: 42px; height: 42px; border-radius: 15px; display: grid; place-items: center; background: rgba(250,204,21,.13); color: var(--yellow-2); font-size: 26px; font-weight: 900; }
.upload-box small { color: var(--muted); }
.file-list { display: grid; gap: 8px; }
.file-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 16px; background: #09090b; border: 1px solid var(--line); padding: 10px 12px; color: #e4e4e7; font-size: 14px; }
.file-row button { border: 0; background: rgba(255,255,255,.08); color: #fff; border-radius: 999px; width: 26px; height: 26px; cursor: pointer; }
.consent-row { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start; border: 1px solid var(--line); border-radius: 18px; background: #09090b; padding: 14px; }
.consent-row input { width: 18px; height: 18px; accent-color: var(--yellow); margin-top: 2px; }
.consent-row span { margin: 0; color: #d4d4d8; line-height: 1.55; font-weight: 600; }
.form-status { display: none; border-radius: 16px; padding: 13px 14px; font-size: 14px; font-weight: 800; line-height: 1.5; }
.form-status.is-error { display: block; color: var(--red); background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.3); }
.form-status.is-success { display: block; color: var(--green); background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.3); }
.submit-btn { width: 100%; border: 0; }
.submit-btn:disabled { opacity: .65; cursor: not-allowed; }

.steps-grid, .benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps-grid { grid-template-columns: repeat(3, 1fr); }
.card b { display: block; margin-bottom: 34px; color: rgba(255,255,255,.14); font-size: 44px; line-height: 1; }
.card h3, .benefits-grid h3 { margin: 0 0 12px; font-size: 20px; }
.card p, .benefits-grid p { margin: 0; color: var(--muted); line-height: 1.65; }
.section-heading { max-width: 730px; margin-bottom: 34px; }
.section-heading h2, .contact-grid h2 { font-size: clamp(34px, 5vw, 56px); }
.materials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.materials-grid article { background: #09090b; font-weight: 950; min-height: 112px; display: flex; align-items: end; transition: .2s ease; }
.materials-grid article:hover { border-color: rgba(250,204,21,.55); transform: translateY(-3px); }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 36px; align-items: center; }
.contact-card { font-style: normal; border: 1px solid var(--line); background: #09090b; border-radius: 34px; padding: 28px; box-shadow: var(--shadow); }
.contact-card strong { display: block; font-size: 24px; margin-bottom: 12px; }
.contact-card span { display: block; color: #d4d4d8; line-height: 1.8; }
.contact-card a { color: var(--yellow-2); font-weight: 900; }
.site-footer { padding: 28px 0 90px; background: var(--bg); color: var(--muted-2); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-inner p { margin: 0; }
.footer-inner a:hover { color: #fff; }
.mobile-contact { display: none; }

@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-points, .steps-grid, .benefits-grid, .materials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 22px, 1120px); }
  .header-call { display: none; }
  .brand-icon { width: 42px; height: 42px; }
  .hero { padding: 42px 0 54px; }
  .section { padding: 62px 0; }
  .quote-card { padding: 18px; border-radius: 26px; }
  .form-grid, .hero-points, .steps-grid, .benefits-grid, .materials-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .site-footer { padding-bottom: 96px; }
  .footer-inner { display: block; }
  .footer-inner a { display: inline-block; margin-top: 12px; }
  .mobile-contact { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 70; display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(9,9,11,.95); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
  .mobile-contact a { display: grid; place-items: center; min-height: 52px; font-size: 13px; font-weight: 950; border-left: 1px solid var(--line); }
  .mobile-contact a:first-child { border-left: 0; background: var(--yellow); color: #09090b; }
}


@media (max-width: 520px) {
  .site-logo { height: 46px; max-width: 210px; }
  .header-call { padding: 11px 13px; font-size: 13px; }
}

/* Dodatki: polityka prywatności, mapa Google, SEO update */
.consent-row a { color: var(--yellow-2); text-decoration: underline; text-underline-offset: 3px; }
.contact-side { display: grid; gap: 18px; }
.map-card { overflow: hidden; border: 1px solid var(--line); background: #09090b; border-radius: 34px; box-shadow: var(--shadow); }
.map-card iframe { display: block; width: 100%; min-height: 320px; border: 0; filter: grayscale(.15) contrast(1.02); }
.map-link { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 18px; border-top: 1px solid var(--line); color: var(--yellow-2); font-weight: 950; text-align: center; }
.map-link:hover { background: rgba(250,204,21,.08); }
.footer-links { display: inline-flex; gap: 18px; flex-wrap: wrap; }
.legal-page { padding: 70px 0 96px; }
.legal-container { max-width: 920px; }
.legal-container h1 { margin: 0; font-size: clamp(42px, 7vw, 72px); line-height: .96; letter-spacing: -.055em; }
.legal-lead { margin: 22px 0 32px; color: #d4d4d8; font-size: 18px; line-height: 1.75; }
.legal-card { margin-top: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: 28px; padding: 24px; }
.legal-card h2 { margin: 0 0 12px; font-size: 22px; }
.legal-card p { margin: 0 0 12px; color: #d4d4d8; line-height: 1.75; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card a { color: var(--yellow-2); font-weight: 900; }
.legal-updated { margin: 28px 0; color: var(--muted); }

/* Skup wysyłkowy */
.shipping-section { position: relative; overflow: hidden; }
.shipping-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 36px; align-items: center; }
.shipping-grid h2 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: .98; letter-spacing: -.045em; }
.shipping-lead { margin: 20px 0 0; color: #d4d4d8; font-size: 18px; line-height: 1.75; }
.shipping-card { border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: 34px; padding: 28px; box-shadow: var(--shadow); }
.shipping-card h3 { margin: 0 0 18px; font-size: 24px; }
.shipping-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.shipping-items article { min-height: 86px; display: flex; align-items: end; border: 1px solid rgba(250,204,21,.25); background: rgba(250,204,21,.08); color: #fff; border-radius: 22px; padding: 16px; font-weight: 950; }
.shipping-note { margin-top: 18px; border: 1px solid rgba(250,204,21,.25); background: rgba(250,204,21,.09); border-radius: 22px; padding: 16px; color: #fef3c7; line-height: 1.65; }
.shipping-note strong { color: var(--yellow-2); }
.shipping-steps { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shipping-steps article { border: 1px solid var(--line); background: #09090b; border-radius: 24px; padding: 18px; }
.shipping-steps b { display: block; margin-bottom: 10px; color: var(--yellow-2); font-size: 22px; }
.shipping-steps span { display: block; color: var(--muted); line-height: 1.55; font-size: 14px; }

@media (max-width: 960px) {
  .shipping-grid { grid-template-columns: 1fr; }
  .shipping-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .shipping-items, .shipping-steps { grid-template-columns: 1fr; }
}

/* Sekcje ze zdjęciami firmy */
.facility-section {
  position: relative;
  overflow: hidden;
}

.facility-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 36px;
  align-items: center;
}

.facility-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: .98;
  letter-spacing: -.045em;
}

.facility-stats {
  margin: 28px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.facility-stats article {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  border-radius: 24px;
  padding: 18px;
}

.facility-stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.facility-stats span {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.facility-media {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.facility-media figure,
.gallery-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #09090b;
}

.facility-media img,
.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-main {
  min-height: 560px;
}

.media-stack {
  display: grid;
  gap: 18px;
}

.media-stack figure {
  min-height: 270px;
}

.gallery-section .section-heading {
  margin-bottom: 26px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-card {
  min-height: 300px;
}

.gallery-card-large {
  grid-column: span 2;
  min-height: 420px;
}

.gallery-card::after,
.media-main::after,
.media-stack figure::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.72) 100%);
  pointer-events: none;
}

.gallery-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

.materials-grid article {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 96px;
  padding: 18px;
  font-size: 18px;
}

@media (max-width: 960px) {
  .facility-grid,
  .facility-media {
    grid-template-columns: 1fr;
  }

  .facility-stats,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-card-large {
    grid-column: span 2;
  }

  .media-main,
  .media-stack figure {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .facility-stats,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card-large {
    grid-column: auto;
    min-height: 320px;
  }

  .gallery-card {
    min-height: 260px;
  }

  .media-main,
  .media-stack figure {
    min-height: 260px;
  }
}


/* Mocne zdjęcie w sekcji hero */
.hero-photo-panel {
  position: relative;
  margin: 30px 0 22px;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #09090b;
  box-shadow: var(--shadow);
}

.hero-photo-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  transform: scale(1.01);
}

.hero-photo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,9,11,.78) 0%, rgba(9,9,11,.22) 55%, rgba(9,9,11,.08) 100%),
    linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.72) 100%);
  pointer-events: none;
}

.hero-photo-panel figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  max-width: 520px;
}

.hero-photo-panel strong {
  display: block;
  color: #fff;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.hero-photo-panel span {
  display: block;
  margin-top: 8px;
  color: #e4e4e7;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .hero-photo-panel { min-height: 280px; }
  .hero-photo-panel img { min-height: 280px; }
}

@media (max-width: 640px) {
  .hero-photo-panel {
    margin: 22px 0 18px;
    min-height: 240px;
    border-radius: 26px;
  }

  .hero-photo-panel img { min-height: 240px; }

  .hero-photo-panel figcaption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}


/* Poprawka finalna: nagłówek nie może przykrywać tytułu hero */
.site-header {
  min-height: 96px;
}

.hero {
  padding-top: 92px;
}

.hero-grid {
  align-items: start;
}

.hero-content {
  padding-top: 8px;
}

.hero-content h1 {
  margin-top: 24px;
}

@media (max-width: 960px) {
  .site-header {
    min-height: 82px;
  }

  .hero {
    padding-top: 58px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 42px;
  }

  .hero-content h1 {
    margin-top: 18px;
  }
}


/* Social media / przekierowania */
.social-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  border-radius: 30px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.social-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
}

.social-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.65;
}

.social-links {
  display: grid;
  gap: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(250,204,21,.22);
  background: rgba(250,204,21,.075);
  border-radius: 18px;
  padding: 14px 16px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(250,204,21,.13);
  border-color: rgba(250,204,21,.45);
}

.social-links strong {
  color: #fff;
  font-size: 15px;
}

.social-links span {
  color: var(--yellow-2);
  font-weight: 900;
  font-size: 14px;
}

@media (max-width: 640px) {
  .social-links a {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}


/* Pływające menu mobilne */
.floating-menu-btn {
  display: none;
}

.mobile-menu-backdrop,
.mobile-menu-panel {
  display: none;
}

@media (max-width: 960px) {
  .floating-menu-btn {
    position: fixed;
    right: 14px;
    bottom: 76px;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(250,204,21,.45);
    border-radius: 999px;
    background: var(--yellow);
    color: #09090b;
    box-shadow: 0 18px 45px rgba(0,0,0,.38);
    cursor: pointer;
  }

  .floating-menu-btn span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 3px 0;
    border-radius: 999px;
    background: #09090b;
    transition: transform .18s ease, opacity .18s ease;
  }

  .floating-menu-btn.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .floating-menu-btn.is-open span:nth-child(2) {
    opacity: 0;
  }

  .floating-menu-btn.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: block;
    background: rgba(0,0,0,.58);
    backdrop-filter: blur(8px);
  }

  .mobile-menu-panel {
    position: fixed;
    right: 12px;
    bottom: 142px;
    z-index: 91;
    display: block;
    width: min(360px, calc(100vw - 24px));
    max-height: calc(100vh - 170px);
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(9,9,11,.98);
    box-shadow: 0 24px 70px rgba(0,0,0,.55);
    transform: translateY(14px) scale(.96);
    opacity: 0;
    pointer-events: none;
    transition: transform .18s ease, opacity .18s ease;
  }

  .mobile-menu-panel.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 12px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu-head strong {
    color: #fff;
    font-size: 18px;
    font-weight: 950;
  }

  .mobile-menu-head button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-menu-panel nav {
    display: grid;
    padding: 10px;
  }

  .mobile-menu-panel nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 16px;
    color: #f4f4f5;
    font-weight: 850;
  }

  .mobile-menu-panel nav a:hover {
    background: rgba(250,204,21,.1);
    color: var(--yellow-2);
  }

  .mobile-menu-actions {
    display: grid;
    gap: 10px;
    padding: 0 12px 14px;
  }

  .mobile-menu-actions .btn {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 640px) {
  .floating-menu-btn {
    right: 12px;
    bottom: 76px;
    width: 54px;
    height: 54px;
  }

  .mobile-menu-panel {
    right: 10px;
    left: 10px;
    bottom: 140px;
    width: auto;
  }
}


/* Poprawka: przyciemnione tło menu ma być ukryte, gdy menu jest zamknięte */
.mobile-menu-backdrop[hidden] {
  display: none !important;
}

.mobile-menu-panel[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}

.mobile-menu-panel[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}


/* Poprawka finalna mobile menu: zero mgły, dopóki menu nie jest otwarte */
.mobile-menu-backdrop {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mobile-menu-backdrop.is-open {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.mobile-menu-panel {
  opacity: 0;
  pointer-events: none;
}

.mobile-menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}


/* Rozbudowana oferta: co skupujemy i co oferujemy */
.materials-pro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.materials-pro-grid article,
.service-grid article {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.materials-pro-grid h3,
.service-grid h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
}

.materials-pro-grid ul {
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 22px;
  list-style: none;
}

.materials-pro-grid li {
  position: relative;
  break-inside: avoid;
  padding: 8px 0 8px 20px;
  color: #e4e4e7;
  line-height: 1.45;
}

.materials-pro-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(250,204,21,.12);
}

.service-section {
  position: relative;
  overflow: hidden;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-grid article {
  box-shadow: none;
  background: rgba(255,255,255,.035);
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .materials-pro-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .materials-pro-grid ul {
    columns: 1;
  }
}


.contact-card-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--yellow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}


/* Odchudzona oferta: zakładki zamiast długich sekcji */
.offer-tabs-section {
  position: relative;
  overflow: hidden;
}

.offer-tabs {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  border-radius: 32px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.tabs-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.tab-btn {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  color: #f4f4f5;
  min-height: 54px;
  padding: 0 16px;
  font-weight: 950;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.tab-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(250,204,21,.4);
}

.tab-btn.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #09090b;
}

.tab-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(0,0,0,.18);
  padding: 26px;
}

.tab-content-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 26px;
  align-items: start;
}

.tab-content-grid h3,
.service-compact-grid h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
}

.tab-content-grid p,
.service-compact-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.compact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 28px;
}

.compact-list li {
  position: relative;
  break-inside: avoid;
  padding: 8px 0 8px 20px;
  color: #e4e4e7;
  line-height: 1.45;
}

.compact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(250,204,21,.12);
}

.service-compact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-compact-grid article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.035);
  padding: 18px;
}

.service-compact-grid h3 {
  font-size: 18px;
}

.service-compact-grid p {
  font-size: 14px;
}

.benefits-compact {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 960px) {
  .tab-content-grid,
  .service-compact-grid,
  .benefits-compact {
    grid-template-columns: 1fr;
  }

  .tabs-nav {
    grid-template-columns: 1fr;
  }

  .compact-list {
    columns: 1;
  }

  .tab-panel {
    padding: 20px;
  }
}


/* Górny pasek CTA i osobna podstrona kontaktu */
.top-cta {
  position: relative;
  z-index: 60;
  border-bottom: 1px solid rgba(250,204,21,.22);
  background: linear-gradient(90deg, rgba(250,204,21,.16), rgba(255,255,255,.035));
  backdrop-filter: blur(10px);
}

.top-cta-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #f4f4f5;
  font-size: 14px;
  font-weight: 800;
}

.top-cta-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.top-cta-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(250,204,21,.14);
  color: var(--yellow-2);
  font-weight: 950;
}

.top-cta-actions a:first-child {
  background: var(--yellow);
  color: #09090b;
}

.contact-teaser {
  padding-bottom: 110px;
}

.contact-teaser-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 32px;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}

.contact-teaser h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -.045em;
}

.contact-teaser-actions {
  display: grid;
  gap: 10px;
  min-width: 260px;
}

.contact-page-hero {
  padding-top: 96px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}

.contact-page-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: .95;
  letter-spacing: -.06em;
}

.contact-page-card {
  min-height: 100%;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-info-box {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 26px;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}

.contact-info-box h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 28px;
  line-height: 1.1;
}

.contact-info-box p,
.contact-info-box li {
  color: var(--muted);
  line-height: 1.7;
}

.contact-info-box ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.map-card-large {
  min-height: 520px;
}

.map-card-large iframe {
  min-height: 520px;
}

@media (max-width: 960px) {
  .top-cta-inner {
    min-height: auto;
    padding-top: 9px;
    padding-bottom: 9px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .top-cta-actions {
    width: 100%;
  }

  .top-cta-actions a {
    flex: 1;
    justify-content: center;
  }

  .contact-teaser-inner,
  .contact-page-grid,
  .contact-details-grid {
    grid-template-columns: 1fr;
  }

  .contact-teaser-actions {
    min-width: 0;
  }

  .contact-page-hero {
    padding-top: 70px;
  }
}

@media (max-width: 640px) {
  .top-cta-inner span {
    line-height: 1.45;
  }

  .top-cta-actions {
    display: none;
  }

  .contact-teaser {
    padding-bottom: 96px;
  }

  .contact-teaser-inner {
    padding: 22px;
    border-radius: 26px;
  }

  .map-card-large,
  .map-card-large iframe {
    min-height: 380px;
  }
}


/* Finalna poprawka: pasek promo i luźniejszy Kontakt */
.top-cta {
  background: linear-gradient(90deg, rgba(250,204,21,.20), rgba(250,204,21,.07), rgba(255,255,255,.025));
  border-bottom: 1px solid rgba(250,204,21,.18);
}

.top-cta-inner {
  min-height: 38px;
  font-size: 13px;
  letter-spacing: .01em;
}

.top-cta-inner strong {
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.top-cta-actions a {
  min-height: 28px;
  padding: 0 14px;
}

.contact-page-hero {
  padding-top: 64px;
  padding-bottom: 54px;
}

.contact-page-hero .eyebrow {
  margin-bottom: 18px;
}

.contact-page-hero h1 {
  font-size: clamp(54px, 9vw, 104px);
  max-width: 720px;
}

.contact-page-grid {
  align-items: stretch;
}

.contact-page-card {
  align-self: stretch;
}

@media (min-width: 961px) {
  .contact-page-hero {
    min-height: auto;
  }

  body:has(.contact-page-hero) .site-header {
    min-height: 86px;
  }

  body:has(.contact-page-hero) .nav {
    min-height: 86px;
  }

  body:has(.contact-page-hero) .brand img {
    width: 64px;
    height: 64px;
  }

  body:has(.contact-page-hero) .brand small {
    display: none;
  }
}

@media (max-width: 960px) {
  .contact-page-hero {
    padding-top: 46px;
    padding-bottom: 42px;
  }

  .top-cta-inner {
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .top-cta-inner {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .top-cta-inner span {
    font-size: 12px;
  }

  .contact-page-hero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }
}

/* Kontakt: header jak na stronie głównej + prostszy pasek informacyjny */
.top-cta-inner span {
  font-weight: 900;
}
.top-cta-actions a:last-child {
  background: rgba(250,204,21,.14);
  color: var(--yellow-2);
}
.contact-page-hero {
  padding-top: 48px;
}
@media (min-width: 961px) {
  .contact-page-hero h1 {
    max-width: 560px;
  }
}


/* Podstrona Jak to działa */
.how-hero {
  padding-top: 72px;
}

.how-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: center;
}

.how-hero h1 {
  margin: 0;
  font-size: clamp(50px, 8vw, 104px);
  line-height: .94;
  letter-spacing: -.06em;
}

.how-hero-card {
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 28px;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}

.how-hero-card > strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 22px;
}

.how-hero-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.how-steps article,
.path-card,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.04);
  padding: 22px;
  box-shadow: var(--shadow);
}

.how-steps b,
.path-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(250,204,21,.14);
  color: var(--yellow);
  font-weight: 950;
}

.how-steps h3,
.path-card h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
}

.how-steps p,
.path-card p,
.faq-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.path-card h2 {
  font-size: 28px;
}

.how-document-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 28px;
  align-items: center;
}

.document-preview {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  color: #111;
  box-shadow: var(--shadow);
}

.doc-line {
  height: 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
}

.doc-title {
  width: 68%;
  height: 20px;
  background: rgba(0,0,0,.28);
}

.doc-line.short {
  width: 45%;
}

.doc-box {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.doc-box span {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,.08);
  font-weight: 800;
}

.doc-sign {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 2px solid rgba(0,0,0,.35);
  color: rgba(0,0,0,.65);
  font-weight: 900;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-grid summary {
  cursor: pointer;
  color: #fff;
  font-weight: 950;
  font-size: 18px;
  line-height: 1.35;
}

.faq-grid p {
  margin-top: 14px;
}

@media (max-width: 1100px) {
  .how-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .paths-grid,
  .how-document-grid,
  .how-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .how-hero {
    padding-top: 46px;
  }

  .how-steps,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .how-hero-card,
  .how-steps article,
  .path-card,
  .document-preview,
  .faq-grid details {
    border-radius: 22px;
    padding: 20px;
  }
}



/* Logo: jeden plik do podmiany w całej stronie */
.brand-with-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.site-logo {
  display: block;
  width: auto;
  height: 64px;
  max-width: 260px;
  object-fit: contain;
}

@media (max-width: 960px) {
  .site-logo {
    height: 56px;
    max-width: 230px;
  }
}

@media (max-width: 640px) {
  .site-logo {
    height: 46px;
    max-width: 205px;
  }
}


/* Profesjonalna galeria z filtrowaniem i podglądem */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.gallery-filter-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: #f4f4f5;
  min-height: 42px;
  padding: 0 16px;
  font-weight: 900;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.gallery-filter-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(250,204,21,.45);
}

.gallery-filter-btn.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #09090b;
}

.enhanced-gallery .gallery-card {
  transition: opacity .18s ease, transform .18s ease;
}

.enhanced-gallery .gallery-card.is-hidden {
  display: none;
}

.gallery-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.gallery-open img {
  transition: transform .32s ease, filter .32s ease;
}

.gallery-open:hover img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(10px);
}

.gallery-lightbox[hidden] {
  display: none !important;
}

.gallery-lightbox img {
  display: block;
  max-width: min(1100px, 94vw);
  max-height: 78vh;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 100px rgba(0,0,0,.55);
  object-fit: contain;
}

.gallery-lightbox p {
  margin: 16px 0 0;
  max-width: min(900px, 94vw);
  color: #fff;
  font-weight: 900;
  text-align: center;
}

.gallery-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 640px) {
  .gallery-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .gallery-filter-btn {
    flex: 0 0 auto;
  }

  .gallery-lightbox {
    padding: 14px;
  }

  .gallery-lightbox-close {
    top: 10px;
    right: 10px;
  }
}


/* Osobna podstrona galerii i lżejszy podgląd na stronie głównej */
.gallery-preview-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-page-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.gallery-page-hero {
  padding-top: 68px;
}

.gallery-page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .96;
  letter-spacing: -.05em;
}

.gallery-quick-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.gallery-quick-categories article {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}

.gallery-quick-categories strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 17px;
}

.gallery-quick-categories span {
  color: var(--muted);
  font-size: 14px;
}

.gallery-page-section .gallery-grid {
  margin-top: 6px;
}

@media (max-width: 960px) {
  .gallery-preview-grid,
  .gallery-quick-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-preview-grid,
  .gallery-quick-categories {
    grid-template-columns: 1fr;
  }

  .gallery-page-cta {
    flex-direction: column;
  }

  .gallery-page-cta .btn {
    width: 100%;
    justify-content: center;
  }
}


/* Premium galeria: na stronie głównej bez zdjęć */
.gallery-front-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 32px;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}

.gallery-front-cta h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -.045em;
}

.gallery-front-cta p {
  max-width: 720px;
}

@media (max-width: 900px) {
  .gallery-front-cta {
    grid-template-columns: 1fr;
  }
}


/* Poprawka galerii: filtrowanie i wyraźniejsze miniatury */
.enhanced-gallery [data-gallery-item][style*="display: none"] {
  display: none !important;
}

.gallery-card img,
.gallery-open img {
  image-rendering: auto;
  backface-visibility: hidden;
}

.gallery-card::after {
  pointer-events: none;
}

.gallery-page-section .gallery-card {
  min-height: 270px;
}

.gallery-page-section .gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Twarda poprawka filtrowania galerii */
.enhanced-gallery [data-gallery-item][hidden],
.enhanced-gallery .gallery-card.is-hidden {
  display: none !important;
}

.gallery-filter-btn {
  user-select: none;
}


/* Galeria: niezależne filtrowanie i efekt przełączania */
.enhanced-gallery [data-gallery-item][hidden],
.enhanced-gallery .gallery-card.is-hidden {
  display: none !important;
}

.enhanced-gallery .gallery-card {
  animation: galleryFadeIn .22s ease both;
}

@keyframes galleryFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gallery-opened {
  overflow: hidden;
}


/* Strzałki przewijania zdjęć w podglądzie galerii */
.gallery-lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 122;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(250,204,21,.35);
  border-radius: 999px;
  background: rgba(9,9,11,.72);
  color: var(--yellow);
  font-size: 54px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}

.gallery-lightbox-nav:hover {
  background: rgba(250,204,21,.95);
  color: #09090b;
  border-color: var(--yellow);
  transform: translateY(-50%) scale(1.04);
}

.gallery-lightbox-prev {
  left: 22px;
}

.gallery-lightbox-next {
  right: 22px;
}

@media (max-width: 640px) {
  .gallery-lightbox-nav {
    width: 46px;
    height: 46px;
    font-size: 42px;
  }

  .gallery-lightbox-prev {
    left: 10px;
  }

  .gallery-lightbox-next {
    right: 10px;
  }

  .gallery-lightbox img {
    max-width: 92vw;
    max-height: 72vh;
  }
}


/* Kosmetyka kontaktu po usunięciu bloku wyceny */
.contact-details-single {
  grid-template-columns: minmax(280px, 720px);
  justify-content: center;
}

.contact-details-single .contact-info-box {
  width: 100%;
}


/* Final UX: jedna oferta, 8 przejrzystych informacji */
.tabs-nav-pro {
  grid-template-columns: repeat(4, 1fr);
}

.offer-tabs-pro .tab-btn {
  min-height: 58px;
  font-size: 14px;
}

.info-panel {
  max-width: 980px;
}

.info-panel h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.info-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 18px;
}

.info-panel-actions {
  margin-top: 22px;
}

@media (max-width: 1100px) {
  .tabs-nav-pro {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .tabs-nav-pro {
    grid-template-columns: 1fr;
  }

  .info-panel p {
    font-size: 16px;
  }
}

/* Dłuższy proces na stronie Jak to działa */
.how-steps {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1100px) {
  .how-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .how-steps {
    grid-template-columns: 1fr;
  }
}


/* Galeria: usunięte podwójne kafle kategorii */
.gallery-page-hero {
  padding-bottom: 46px;
}

.gallery-page-section {
  padding-top: 52px;
}


/* Oferta: dodana zakładka Złom i elementy */
.tabs-nav-pro {
  grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 1200px) {
  .tabs-nav-pro {
    grid-template-columns: repeat(5, 1fr);
  }
}


/* Final: materiały rozdzielone na metale kolorowe / złom i elementy / obsługę */
.tabs-nav-pro {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-tabs-pro .tab-btn {
  min-height: 62px;
}

.service-grid-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-grid-compact article {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background: rgba(255,255,255,.04);
}

.service-grid-compact h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
}

.service-grid-compact p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.offer-tabs-section .tab-panel {
  overflow: hidden;
}

.offer-tabs-section .tab-content-grid {
  align-items: start;
}

@media (max-width: 1100px) {
  .service-grid-compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .tabs-nav-pro,
  .service-grid-compact {
    grid-template-columns: 1fr;
  }
}


/* Obsługa: 8 kafelków informacyjnych */
.service-grid-eight {
  grid-template-columns: repeat(4, 1fr);
}

.service-grid-eight article {
  min-height: 210px;
}

.service-grid-eight h3 {
  font-size: 20px;
}

.service-grid-eight p {
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 1200px) {
  .service-grid-eight {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .service-grid-eight {
    grid-template-columns: 1fr;
  }

  .service-grid-eight article {
    min-height: auto;
  }
}


/* Skup wysyłkowy: profesjonalna osobna sekcja */
.shipping-hero-page {
  padding-top: 76px;
}

.shipping-summary-card {
  border: 1px solid rgba(250,204,21,.28);
  border-radius: 34px;
  padding: 30px;
  background: linear-gradient(145deg, rgba(250,204,21,.10), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
}

.shipping-summary-card h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.shipping-summary-card p {
  color: var(--muted);
  line-height: 1.7;
}

.shipping-materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.shipping-materials-grid span {
  display: flex;
  align-items: center;
  min-height: 64px;
  border: 1px solid rgba(250,204,21,.35);
  border-radius: 18px;
  padding: 16px 18px;
  color: #fff;
  font-weight: 900;
  background: rgba(0,0,0,.20);
}

.how-steps-pro {
  grid-template-columns: repeat(4, 1fr);
}

.shipping-rules-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
  .how-steps-pro,
  .shipping-rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .shipping-materials-grid,
  .how-steps-pro,
  .shipping-rules-grid {
    grid-template-columns: 1fr;
  }
}


/* Poprawka mobilna: pełne informacje i działające menu na wszystkich podstronach */
body.mobile-menu-is-open { overflow: hidden; }

.mobile-menu-panel { z-index: 1001; max-height: 100vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile-menu-backdrop { z-index: 1000; }
.floating-menu-btn, .mobile-contact { z-index: 1002; }

@media (max-width: 760px) {
  .site-header { min-height: 86px; }
  .desktop-nav, .header-call { display: none !important; }

  .offer-tabs-section { padding-top: 52px; }
  .offer-tabs-section .section-heading h2 {
    font-size: clamp(34px, 12vw, 54px);
    line-height: .95;
  }

  .tabs-nav-pro {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .offer-tabs-pro .tab-btn {
    width: 100%;
    min-height: 56px;
    white-space: normal;
    text-align: center;
    padding: 14px 16px;
  }

  .offer-tabs-section .tab-panel { overflow: visible !important; }
  .offer-tabs-section .tab-content-grid { grid-template-columns: 1fr !important; gap: 22px; }
  .compact-list { grid-template-columns: 1fr !important; }

  .compact-list li {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 15px;
  }

  .service-grid,
  .service-grid-compact,
  .service-grid-eight,
  .shipping-rules-grid,
  .how-steps-pro {
    grid-template-columns: 1fr !important;
  }

  .service-grid-eight article,
  .service-grid-compact article,
  .service-grid article {
    min-height: auto !important;
  }

  .mobile-menu-panel nav a {
    font-size: 18px;
    padding: 15px 0;
  }

  .mobile-menu-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.footer-copy { display:flex; flex-direction:column; gap:8px; }
.footer-photo-note { margin:0; max-width:640px; font-size:14px; line-height:1.5; color: var(--muted); }
.gallery-copyright { margin-top: 28px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,0.03); }
.gallery-copyright p { margin: 0; color: var(--muted-2); line-height: 1.6; }
@media (max-width: 900px) { .footer-copy { margin-bottom: 14px; } }


/* Pasek cookies */
.cookie-banner {
  position: fixed;
  left: 22px;
  right: 22px;
  bottom: 88px;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(250, 204, 21, .28);
  border-radius: 22px;
  background: rgba(10, 10, 12, .96);
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-text strong {
  display: block;
  color: #fff;
  font-size: 17px;
  margin-bottom: 5px;
}

.cookie-banner-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner-actions a {
  color: var(--yellow);
  font-weight: 800;
  white-space: nowrap;
}

.cookie-banner-actions button {
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--yellow);
  color: #070707;
  font-weight: 900;
  cursor: pointer;
}

.cookie-banner-actions button:hover {
  filter: brightness(1.05);
}

@media (max-width: 760px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 88px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .cookie-banner-actions {
    justify-content: space-between;
  }

  .cookie-banner-actions button {
    min-width: 130px;
  }
}


/* Logo jako znak wodny na zdjęciach galerii */
.gallery-open {
  position: relative;
  overflow: hidden;
}

.gallery-open::before {
  content: "";
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 3;
  width: 82px;
  height: 46px;
  background: url("images/logo.png") center / contain no-repeat;
  opacity: .78;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.65));
}

.gallery-lightbox::after {
  content: "";
  position: fixed;
  right: 34px;
  bottom: 34px;
  z-index: 123;
  width: 130px;
  height: 74px;
  background: url("images/logo.png") center / contain no-repeat;
  opacity: .82;
  pointer-events: none;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.75));
}

@media (max-width: 640px) {
  .gallery-open::before {
    right: 10px;
    top: 10px;
    width: 64px;
    height: 36px;
  }

  .gallery-lightbox::after {
    right: 18px;
    bottom: 28px;
    width: 92px;
    height: 52px;
  }
}


/* Logo widoczne także po powiększeniu zdjęcia w galerii */
.gallery-lightbox {
  position: fixed;
}

.gallery-lightbox::after {
  content: "";
  position: fixed;
  right: clamp(22px, 4vw, 56px);
  bottom: clamp(42px, 7vw, 76px);
  z-index: 124;
  width: clamp(96px, 12vw, 160px);
  height: clamp(54px, 7vw, 90px);
  background: url("images/logo.png") center / contain no-repeat;
  opacity: .86;
  pointer-events: none;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.85));
}

@media (max-width: 640px) {
  .gallery-lightbox::after {
    right: 18px;
    bottom: 54px;
    width: 92px;
    height: 52px;
    opacity: .84;
  }
}

/* Poprawka formularza zdjęć */
.file-row.is-too-big { border-color: rgba(239,68,68,.45); color: #fecaca; background: rgba(239,68,68,.10); }
.submit-btn:disabled { opacity: .65; cursor: progress; }


/* mailfix form-message */
.form-message{
  border-radius:18px;
  padding:14px 16px;
  font-weight:800;
  line-height:1.45;
  margin-top:14px;
}
.form-message-success{
  background:rgba(34,197,94,.14);
  color:#dcfce7;
  border:1px solid rgba(34,197,94,.35);
}
.form-message-error{
  background:rgba(239,68,68,.14);
  color:#fee2e2;
  border:1px solid rgba(239,68,68,.35);
}
.form-message-info{
  background:rgba(250,204,21,.14);
  color:#fef9c3;
  border:1px solid rgba(250,204,21,.35);
}


/* techfix-map-consent-v2 */
.map-consent{
  min-height:420px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.12);
  border-radius:24px;
  background:linear-gradient(135deg, rgba(250,204,21,.14), rgba(255,255,255,.04)), #111113;
  padding:24px;
  text-align:center;
}
.map-consent strong{display:block;font-size:22px;color:#fff;margin-bottom:8px}
.map-consent p{max-width:620px;color:#a1a1aa;margin:0 auto 18px}
