#calculator {
  display: none !important;
}

/* ==========================================================================
   1. ZMIENNE I RESET STYLÓW
   ========================================================================== */
:root {
  --primary-color: #a3232b;
  --primary-hover: #c42933;
  --primary-glow: rgba(163, 35, 43, 0.4);
  --bg-dark: #202020;
  --bg-card: #2b2b2b;
  --bg-surface: rgba(45, 45, 45, 0.75);
  --text-main: #f5f5f5;
  --text-muted: #b0b0b0;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Raleway', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --font-number: 'Nunito', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* ==========================================================================
   2. GÓRNY PASEK & NAWIGACJA (FLEXBOX)
   ========================================================================== */
#main-header {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 15px;
  position: relative;
  z-index: 100;
}

/* Pasek z telefonem, mailem i social media */
#top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-number);
  font-size: 0.9rem;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-item a:hover {
  color: var(--primary-color);
}

.top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-social a {
  font-size: 1.1rem;
  color: #ffffff;
  transition: var(--transition-fast);
}

.top-social a:hover {
  color: var(--primary-color);
}

/* Przełącznik językowy PL/EN */
.langbtn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  transition: var(--transition-fast);
}

.langbtn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--primary-color);
}

/* Główna nawigacja: Logo po lewej, menu po prawej */
#navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

#logoDiv {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

#logoDiv a {
  color: #ffffff;
}

#navbts {
  display: flex;
  gap: 10px;
  align-items: center;
}

.navb {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  color: #ffffff;
  transition: var(--transition-fast);
}

.navb:hover {
  color: var(--primary-color);
  background: rgba(163, 35, 43, 0.15);
}

.highlight {
  color: var(--primary-color);
  font-weight: 700;
}

/* ==========================================================================
   3. SEKCJA HERO & CZERWONY TRÓJKĄT (#CLIPPER)
   ========================================================================== */
#image-wrapper {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 100%), url('assets/tirr3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Subtelny, bardzo krótki gradient (45px) wygaszający krawędź w przezroczystość */
#image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(32, 32, 32, 0.4) 60%,
    var(--bg-dark, #202020) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Czerwony trójkąt na tle */
#clipper {
  position: absolute;
  top: 0;
  right: 0;
  width: 52vw;
  height: 100%;
  background-color: var(--primary-color, #a3232b);
  opacity: 0.72;
  -webkit-clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  pointer-events: none;
  z-index: 1;
}

/* Ustawienie nagłówka i tekstu nad tłem */
#main-header,
.header {
  position: relative;
  z-index: 10;
}

.header {
  margin: auto 0 auto 8vw;
  max-width: 760px;
  padding: 50px 0;
}

.Btxt {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  margin-bottom: 22px;
}

.Stxt {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  padding: 16px 38px;
  font-size: 1.05rem;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(163, 35, 43, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 16px 38px;
  font-size: 1.05rem;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: white;
  transform: translateY(-3px);
}

/* Skalowanie na mniejszych ekranach (Laptopy / Tablety / Telefony) */
@media (max-width: 1200px) {
  .header {
    max-width: 650px;
  }
  .Btxt {
    font-size: 3rem;
  }
  .Stxt {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .header {
    margin: auto 5vw;
    max-width: 100%;
  }
  .Btxt {
    font-size: 2.2rem;
  }
  .Stxt {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
  }
}
/* ==========================================================================
   4. STATYSTYKI W LICZBACH (AURA GLOW + GLASS CARDS)
   ========================================================================== */
#stats {
  padding: 90px 20px 70px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

/* Aksamitna poświata w tle bez ostrych krawędzi */
#stats::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 250px;
  background: var(--primary-color, #a3232b);
  opacity: 0.18;
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.stats-header {
  position: relative;
  z-index: 2;
}

.stats-header h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.red-line {
  border: none;
  width: 70px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
  margin: 12px auto 55px auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  position: relative;
  z-index: 2;
}

/* Kafelki ze szklanym efektem */
.stat-card {
  background: rgba(35, 35, 35, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: 35px 20px;
  text-align: center;
  transition: all 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.stat-card:hover {
  transform: translateY(-7px);
  background: rgba(45, 45, 45, 0.65);
  border-color: rgba(163, 35, 43, 0.6);
  box-shadow: 0 15px 35px rgba(163, 35, 43, 0.2);
}

.stat-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 15px auto;
  background: rgba(163, 35, 43, 0.12);
  border: 1px solid rgba(163, 35, 43, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-color);
  transition: all 0.35s ease;
}

.stat-card:hover .stat-icon {
  background: var(--primary-color);
  color: #ffffff;
  transform: scale(1.08);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.7rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.stat-suffix {
  color: var(--primary-color);
}

.stat-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 10px;
  font-weight: 500;
}

/* ==========================================================================
   5. KALKULATOR WYCENY
   ========================================================================== */
#calculator {
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.calc-container {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.calc-header {
  text-align: center;
  margin-bottom: 30px;
}

.calc-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary-color);
}

.calc-header p {
  color: var(--text-muted);
}

.calc-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 35px;
}

.progress-step {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 3px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
}

.progress-step.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.calc-step-content {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.calc-step-content.active {
  display: flex;
}

.radio-card input {
  display: none;
}

.card-box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.card-box i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.radio-card input:checked + .card-box {
  border-color: var(--primary-color);
  background: var(--primary-glow);
}

.calc-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

/* ==========================================================================
   6. SEKCJA KONTAKT (ELEGANCKA KARTA ELEKTRO)
   ========================================================================== */
#contact {
  padding: 80px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cały formularz zamknięty w estetycznej "szklanej karcie" */
.contact-container {
  background: linear-gradient(145deg, rgba(35, 35, 35, 0.7) 0%, rgba(25, 25, 25, 0.85) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 50px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.contact-left {
  flex: 1;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-title h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #ffffff;
  font-weight: 700;
}

.contact-title hr {
  border: none;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  margin-top: 8px;
}

.contact-inputs {
  width: 100%;
  padding: 15px 20px;
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  color: white;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.contact-inputs:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(20, 20, 20, 0.8);
  box-shadow: 0 0 15px rgba(163, 35, 43, 0.3);
}

textarea.contact-inputs {
  min-height: 120px;
  resize: vertical;
}

.contact-left button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-heading);
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.contact-left button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(163, 35, 43, 0.5);
}

.contact-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-right img {
  width: 100%;
  max-width: 360px;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.6));
  transition: transform 0.4s ease;
}

.contact-right:hover img {
  transform: translateY(-6px) scale(1.02);
}

/* ==========================================================================
   SEKCJA KLASYCZNEGO KONTAKTU
   ========================================================================== */
#inneformy {
  text-align: center;
  margin: 70px 0 30px;
}

#inneformy h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #ffffff;
  font-weight: 600;
}

.sub-line {
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 12px auto 0;
  border-radius: 2px;
}

#ClassicContact {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-card-classic {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: 25px 35px;
  min-width: 320px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-card-classic:hover {
  transform: translateY(-6px);
  border-color: var(--primary-color);
  box-shadow: 0 12px 35px rgba(163, 35, 43, 0.25);
}

.contact-card-classic .card-icon {
  width: 58px;
  height: 58px;
  background: rgba(163, 35, 43, 0.12);
  border: 1px solid rgba(163, 35, 43, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-card-classic:hover .card-icon {
  background: var(--primary-color);
  color: #ffffff;
}

.contact-card-classic .card-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.contact-card-classic .card-label {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-card-classic .card-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
}

/* ==========================================================================
   7. SEKCJA O NAS (GLASS CARDS + PŁYWAJĄCE ETYKIETY)
   ========================================================================== */
#about {
  padding: 100px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-header h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  color: #ffffff;
  margin-top: 6px;
  font-weight: 700;
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-card {
  background: rgba(35, 35, 35, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.about-card:hover {
  border-color: rgba(163, 35, 43, 0.5);
  transform: translateY(-4px);
}

.about-card.reverse {
  grid-template-columns: 1fr 1fr;
}

.card-tag {
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.about-content p {
  color: #d0d0d0;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
}

.about-list li i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Stylizacja zdjęć z nakładanymi badge'ami */
.about-image-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.about-image-wrapper img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-card:hover .about-image-wrapper img {
  transform: scale(1.06);
}

.image-overlay-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--primary-color);
  padding: 8px 16px;
  border-radius: 30px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.image-overlay-badge i {
  color: var(--primary-color);
}

/* Responsywność */
@media (max-width: 992px) {
  .about-card, .about-card.reverse {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .about-card.reverse .about-image-wrapper {
    order: 2;
  }
}
/* ==========================================================================
   8. PRZYCISK TO-TOP I STOPKA
   ========================================================================== */
/* ==========================================================================
   PRZYCISK TO-TOP (GLASSMORPHISM & ACCENT GLOW)
   ========================================================================== */
.to-top {
  position: fixed;
  bottom: 35px;
  right: 35px;
  width: 48px;
  height: 48px;
  background: rgba(25, 25, 25, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary-color);
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 900;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.to-top.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top i {
  transition: transform 0.3s ease;
}

/* Efekt najechania: podświetlenie czerwoną poświatą i delikatny ruch strzałki do góry */
.to-top:hover {
  background: rgba(35, 35, 35, 0.9);
  border-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(163, 35, 43, 0.5);
  transform: translateY(-4px);
}

.to-top:hover i {
  transform: translateY(-2px);
}
#copyright {
  text-align: center;
  padding: 30px;
  background: #151515;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 60px;
}

/* ==========================================================================
   SEKCJA SPECJALIZACJE (MODERN TABS & GLASS CARD)
   ========================================================================== */
#trans {
  padding: 80px 20px 100px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services-header {
  margin-bottom: 35px;
}

.services-header h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  color: #ffffff;
  margin-top: 6px;
  font-weight: 700;
}

/* Przełącznik zakładek (Pill Tabs) */
.services-toggle-wrapper {
  display: inline-flex;
  background: rgba(35, 35, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px;
  border-radius: 40px;
  gap: 8px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
}

.service-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 12px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-tab:hover {
  color: #ffffff;
}

.service-tab.active-btn {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--primary-glow);
}

/* Szklana Karta Treści Usługi */
.service-glass-card {
  background: rgba(35, 35, 35, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 45px 50px;
  text-align: left;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-icon {
  width: 65px;
  height: 65px;
  background: rgba(163, 35, 43, 0.15);
  border: 1px solid rgba(163, 35, 43, 0.4);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.service-title-group h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.service-subtitle {
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-text {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #d8d8d8;
  margin-bottom: 30px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e0e0e0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stag i {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .service-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .service-glass-card {
    padding: 30px 20px;
  }
  .services-toggle-wrapper {
    flex-direction: column;
    width: 100%;
    border-radius: 20px;
  }
  .service-tab {
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================================================
   EFEKTOWNE PODŚWIETLANIE NAGŁÓWKÓW (HOVER + SCROLL ACTIVE)
   ========================================================================== */
.stats-header h2,
.about-header h2,
.services-header h2,
.contact-title h2,
#inneformy h2 {
  transition: color 0.6s ease, text-shadow 0.6s ease, transform 0.6s ease;
  cursor: default;
}

/* Stan aktywny (po najechaniu LUB po zeszczelinowaniu do sekcji) */
.stats-header h2:hover,
.about-header h2:hover,
.services-header h2:hover,
.contact-title h2:hover,
#inneformy h2:hover,
.stats-header h2.heading-active,
.about-header h2.heading-active,
.services-header h2.heading-active,
.contact-title h2.heading-active,
#inneformy h2.heading-active {
  color: #ffffff !important;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.65), 0 0 30px rgba(163, 35, 43, 0.4);
  transform: translateY(-2px);
}

/* ==========================================================================
   PIONOWA NAWIGACJA BOCZNA (POWIĘKSZONA O ~8-10%)
   ========================================================================== */
.side-nav {
  position: fixed;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.side-nav.visible {
  opacity: 1;
  pointer-events: auto;
}

.side-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  position: relative;
}

/* Kropka powiększona z 9px do 10px */
.side-nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.side-nav-item:hover .side-nav-dot {
  background: #ffffff;
  transform: scale(1.25);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.side-nav-item.active .side-nav-dot {
  background: var(--primary-color, #a3232b);
  border-color: var(--primary-color, #a3232b);
  box-shadow: 0 0 12px var(--primary-color, #a3232b);
  transform: scale(1.35);
}

/* Czcionka powiększona z 0.78rem do 0.83rem, zwiększony wewnętrzny odstęp */
.side-nav-tooltip {
  background: rgba(25, 25, 25, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  padding: 6px 15px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  opacity: 0.65;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.side-nav-item:hover .side-nav-tooltip {
  opacity: 1;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(2px);
}

.side-nav-item.active .side-nav-tooltip {
  opacity: 1;
  color: #ffffff;
  background: rgba(25, 25, 25, 0.9);
  border-color: var(--primary-color, #a3232b);
  box-shadow: 0 0 15px rgba(163, 35, 43, 0.35);
}

@media (max-width: 1100px) {
  .side-nav {
    display: none !important;
  }
}

/* ==========================================================================
   STYLIZACJA CHECKBOXA RODO I LINKU POLITYKI PRYWATNOŚCI
   ========================================================================== */
#label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  margin: 10px 0 5px;
}

/* 1. Nowoczesny, szklany Checkbox */
.check {
  appearance: none;
  -webkit-appearance: none;
  width: 21px;
  height: 21px;
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

/* Efekt najechania na checkbox */
.check:hover {
  border-color: var(--primary-color);
  background: rgba(30, 30, 30, 0.8);
  box-shadow: 0 0 10px rgba(163, 35, 43, 0.3);
}

/* Stan zaznaczony (Czerwone tło + poświata) */
.check:checked {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 14px rgba(163, 35, 43, 0.6);
}

/* Rysowanie białej fajki (Checkmark) wewnątrz */
.check:checked::after {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -55%) rotate(45deg);
}

/* 2. Dyskretne i czytelne wyciągnięcie Linku do Polityki */
a.policy, .policy {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--primary-color);
  text-underline-offset: 4px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease, text-shadow 0.3s ease;
}

/* Płynne przejście w jasną czerwień z poświatą po najechaniu */
a.policy:hover, .policy:hover {
  color: #ff525d; /* Jasna, soczysta czerwień */
  text-decoration-color: #ff525d;
  text-shadow: 0 0 10px rgba(255, 82, 93, 0.5);
}

/* ==========================================================================
   9. RESPONSYWNOŚĆ (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
  #top-bar {
    justify-content: center;
    text-align: center;
  }

  .top-info, .top-right {
    justify-content: center;
    width: 100%;
  }

  #navbar {
    flex-direction: column;
    gap: 15px;
  }

  #navbts {
    flex-wrap: wrap;
    justify-content: center;
  }

  .Btxt {
    font-size: 2.4rem;
  }
  
  .contact-container, #kto, #dlaczego {
    flex-direction: column;
    text-align: center;
  }

  .header {
    margin: auto 20px;
  }
}

@media (max-width: 600px) {
  #main-header {
    padding: 10px 15px 0 15px;
  }

  .top-info {
    flex-direction: column;
    gap: 6px;
  }

  .top-right {
    flex-direction: column;
    gap: 10px;
  }

  #logoDiv {
    font-size: 1.8rem;
  }

  .navb {
    font-size: 0.85rem;
    padding: 6px 12px;
  }

  .Btxt {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
  }
}