/* ============================================================
   ZBuDRUG – Dark Theme v3.1
   True dark (neutral, bez zielonego tła) + Logo Glow
   + Hero Grid + Typografia 40+ + Badge Fix
   ============================================================ */

/* ── ZMIENNE KOLORÓW ──────────────────────────────────────── */
:root {
  --bg-primary:   #0b0d10;
  --bg-secondary: #12151a;
  --bg-card:      #161a20;
  --bg-elevated:  #1c222a;
  --text-primary: #e8e8e8;
  --text-secondary: #b8b8b8;
  --border:       rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.12);
  --accent:       hsl(142, 62%, 32%);
  --accent-hover: hsl(142, 62%, 42%);
  --logo-glow:    drop-shadow(0 0 10px rgba(255,255,255,0.25)) drop-shadow(0 0 20px rgba(255,255,255,0.12));
}

/* ── 1. TYPOGRAFIA BAZOWA ─────────────────────────────────── */
html {
  font-size: 18px !important;
}

body {
  background-color: var(--bg-primary) !important;
  color: var(--text-secondary) !important;
  line-height: 1.7 !important;
  font-family: 'Inter', sans-serif !important;
}

h1 { font-size: 3.6rem !important; line-height: 1.15 !important; color: var(--text-primary) !important; }
h2 { font-size: 2.6rem !important; line-height: 1.2  !important; color: var(--text-primary) !important; }
h3 { font-size: 1.9rem !important; line-height: 1.35 !important; color: var(--text-primary) !important; }
h4 { font-size: 1.35rem !important; line-height: 1.4 !important; color: var(--text-primary) !important; }
h5, h6 { font-size: 1.15rem !important; color: var(--text-primary) !important; }

p {
  font-size: 1.15rem !important;
  line-height: 1.75 !important;
  color: var(--text-secondary) !important;
  margin-bottom: 1.2rem !important;
}

a { color: var(--text-secondary); }
li { color: var(--text-secondary); }

/* Nadpisz inline style z HTML (statystyki, about) */
[style*="color:#263a4f"] {
  color: var(--text-secondary) !important;
}

/* ── 2. PRELOADER ─────────────────────────────────────────── */
.site-preloader-wrap {
  background: var(--bg-primary) !important;
}

/* ── 2. LOGO ROZMIAR — INDEX (zmniejszone + bardziej poziome) ── */
.header-logo img {
  height: 150px !important;
  width: 300px !important;
  object-fit: fill !important;
}

.primary-header-inner {
  min-height: 180px !important;
  align-items: center !important;
}

/* ── 3. LOGO GLOW — GLOBALNY ──────────────────────────────── */
.header-logo img,
.widget-content > a > img,
.widget-content > a img {
  filter: var(--logo-glow) !important;
  transition: filter 0.3s ease !important;
}

.header-logo img:hover,
.widget-content > a > img:hover {
  filter: drop-shadow(0 0 14px rgba(255,255,255,0.4)) drop-shadow(0 0 28px rgba(255,255,255,0.2)) !important;
}

.hero-logo {
  filter: var(--logo-glow) !important;
  transition: filter 0.3s ease !important;
}

/* ── 3b. Z-INDEX SYSTEM — GLOBALNY ───────────────────────── */
.sticky-header {
  z-index: 1000 !important;
}

.site-preloader-wrap {
  z-index: 9999 !important;
}

.venobox-overlay,
.vbox-overlay {
  z-index: 2000 !important;
}

#scroll-to-top {
  z-index: 999 !important;
}

.slider-content-wrap .container,
.slider-content-wrap .slider-content {
  position: relative !important;
  z-index: 10 !important;
}

/* ── 4. HEADER / NAV ──────────────────────────────────────── */
.header,
.primary-header {
  background-color: rgba(11, 13, 16, 0.97) !important;
  border-bottom: 1px solid var(--border) !important;
}

.sticky-header .primary-header {
  background-color: rgba(11, 13, 16, 0.99) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.7) !important;
}

.header-menu-wrap ul li > a {
  color: #c8c8c8 !important;
  font-size: 1rem !important;
  height: 180px !important;
  line-height: 180px !important;
  transition: color 0.2s ease !important;
}

.header-menu-wrap ul li:hover > a,
.header-menu-wrap ul li.active > a {
  color: var(--accent-hover) !important;
}

.header-menu-wrap li ul {
  background-color: var(--bg-secondary) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.8) !important;
  border: 1px solid var(--border) !important;
}

.header-menu-wrap li li > a {
  color: var(--text-secondary) !important;
  font-size: 1rem !important;
}

.header-menu-wrap li li:hover > a {
  background-color: var(--bg-card) !important;
  color: var(--accent-hover) !important;
}

.line-menu {
  background-color: #c8c8c8 !important;
}

.header-right a.menu-btn {
  background-color: var(--accent) !important;
  font-size: 1rem !important;
  line-height: 48px !important;
  padding: 0 24px !important;
  color: #fff !important;
  border-radius: 3px !important;
  transition: background-color 0.2s ease !important;
}

.header-right a.menu-btn:hover {
  background-color: var(--accent-hover) !important;
  opacity: 1 !important;
}

/* ── 4b. HEADER — NO OVERLAP FIX ─────────────────────────── */
.header {
  position: relative !important;
  z-index: 100 !important;
  width: 100% !important;
}

.sticky-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
}

#main-slider {
  position: relative !important;
  z-index: 1 !important;
}

.single-slide {
  position: relative !important;
  overflow: hidden !important;
}

/* ── 5. HERO SLIDER — OVERLAY ─────────────────────────────── */
.single-slide .overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.55) 60%,
    rgba(0,0,0,0.72) 100%
  ) !important;
}

/* ── 6. HERO GRID — STAŁY LAYOUT ─────────────────────────── */
.slider-content-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

.hero-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  gap: 60px !important;
  width: 100% !important;
  position: relative !important;
  z-index: 2 !important;
}

.hero-col-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 12px !important;
}

.hero-col-visual {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2 !important;
}

/* ── 7. HERO LOGO ─────────────────────────────────────────── */
.hero-logo {
  display: block !important;
  width: 100% !important;
  max-width: 380px !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.25))
          drop-shadow(0 0 24px rgba(255,255,255,0.12)) !important;
  transition: filter 0.3s ease !important;
}

/* ── 10. HERO TYPOGRAFIA + DL-CAPTION FLEX FIX ───────────── */
.slider-content-wrap {
  position: relative !important;
}

.dl-slider .slider-content {
  position: relative !important;
  z-index: 10 !important;
}

.dl-slider .dl-caption {
  height: auto !important;
  white-space: normal !important;
  line-height: 1.4 !important;
}

.dl-slider .dl-caption .inner-layer {
  display: block !important;
  overflow: visible !important;
}

.dl-caption.big {
  font-size: clamp(1.8rem, 6vw, 3.2rem) !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6) !important;
  height: auto !important;
  white-space: normal !important;
  line-height: 1.2 !important;
}

.dl-caption.medium {
  font-size: 1.05rem !important;
  letter-spacing: 2px !important;
  color: #d8d8d8 !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5) !important;
  height: auto !important;
  white-space: normal !important;
  line-height: 1.4 !important;
}

.dl-caption.small {
  font-size: 1.15rem !important;
  color: #c8c8c8 !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5) !important;
  height: auto !important;
  white-space: normal !important;
  line-height: 1.5 !important;
}

.dl-btn {
  font-size: 1.05rem !important;
  padding: 14px 32px !important;
  line-height: 1.4 !important;
  min-height: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* ── 11. SEKCJE — TRUE DARK SURFACES ─────────────────────── */
body,
section,
.about-section,
.service-section,
.projects-section,
.contact-section,
.content-section,
.blog-section,
.testimonial-section,
.sponsor-section,
.promo-section,
.team-section,
.widget-section {
  background-color: var(--bg-primary) !important;
}

.about-section {
  background-color: var(--bg-secondary) !important;
}

.bg-grey,
.service-section {
  background-color: var(--bg-card) !important;
}

.projects-section {
  background-color: var(--bg-secondary) !important;
}

.testimonial-section {
  background-color: var(--bg-card) !important;
}

.sponsor-section {
  background-color: var(--bg-secondary) !important;
}

.bg-white,
.bg-light {
  background-color: var(--bg-secondary) !important;
}

/* ── 12. ABOUT SECTION ────────────────────────────────────── */
.about-content p {
  color: var(--text-secondary) !important;
}

.about-promo .about-promo-item {
  border-bottom: 1px solid var(--border) !important;
  padding-bottom: 16px !important;
  margin-bottom: 20px !important;
}

.about-promo .about-promo-item h3 {
  color: var(--text-primary) !important;
}

.about-promo .about-promo-item p {
  color: var(--text-secondary) !important;
}

.about-section h4 {
  color: var(--text-secondary) !important;
  font-size: 0.82rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.about-section span[style*="color:hsl(142"] {
  color: var(--accent-hover) !important;
}

/* ── 13. SERVICE ITEMS ────────────────────────────────────── */
.service-section .dark-bg {
  background-color: var(--bg-primary) !important;
}

.service-item {
  background-color: var(--bg-elevated) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 4px 28px rgba(0,0,0,0.4) !important;
  padding: 52px 28px !important;
  transition: all 0.25s ease !important;
}

.service-item h3 {
  color: var(--text-primary) !important;
  font-size: 1.2rem !important;
}

.service-item p {
  color: var(--text-secondary) !important;
  font-size: 1rem !important;
}

.service-item .service-icon {
  color: #fff !important;
}

.service-item .overlay-icon {
  color: rgba(255,255,255,0.12) !important;
}

.service-item .read-more {
  color: var(--text-secondary) !important;
  font-size: 0.85rem !important;
}

.service-item:hover {
  background-color: var(--accent) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5) !important;
  border-color: transparent !important;
}

.service-item:hover h3,
.service-item:hover p,
.service-item:hover .read-more {
  color: #fff !important;
}

.service-item:hover .service-icon {
  color: var(--accent-hover) !important;
}

.service-item:hover .overlay-icon {
  color: rgba(129, 219, 162, 0.22) !important;
}

/* ── 14. PROJECTS / REALIZACJE ────────────────────────────── */
.project-item .overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.4) 60%,
    rgba(0,0,0,0.1) 100%
  ) !important;
}

.projects-content .category {
  font-size: 0.82rem !important;
  color: var(--accent-hover) !important;
}

.projects-content .tittle {
  font-size: 1.15rem !important;
  color: #fff !important;
}

/* ── 15. CTA SECTION ──────────────────────────────────────── */
.cta-section:before {
  background-color: rgba(0, 0, 0, 0.85) !important;
}

.cta-content span {
  /* CTA span — nie jest section-heading, nie dostaje pill badge */
  color: #a0a8b0 !important;
  font-size: 0.9rem !important;
  display: block !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: auto !important;
  letter-spacing: 1px !important;
}

.cta-content h2 {
  color: var(--text-primary) !important;
  font-size: 2.8rem !important;
  line-height: 1.2 !important;
}

/* ── 16. DEFAULT BUTTONS ──────────────────────────────────── */
.default-btn {
  background-color: var(--accent) !important;
  font-size: 1.05rem !important;
  line-height: 52px !important;
  padding: 0 36px !important;
  min-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 3px !important;
  color: #fff !important;
  transition: all 0.25s ease !important;
}

.default-btn:hover {
  background-color: var(--accent-hover) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(31,132,68,0.35) !important;
}

.default-btn:focus,
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--accent-hover) !important;
  outline-offset: 3px !important;
}

/* ── 17. SECTION HEADINGS — BADGE FIX ────────────────────── */
/*
  main.css ustawia na .section-heading span::before:
    position: absolute; width: 20px; height: 30px; border: 3px solid accent
  To tworzy "kwadrat" niezależny od długości tekstu.
  Fix: usuwamy pseudo-element i zastępujemy pill badge.
*/

/* Krok 1: usuń kwadrat ::before */
.section-heading span::before {
  display: none !important;
  content: none !important;
}

/* Krok 2: pill badge — dynamiczny, dopasowany do tekstu */
.section-heading span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  height: auto !important;
  white-space: nowrap !important;
  padding: 5px 16px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: var(--accent-hover) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  position: relative !important;
  z-index: auto !important;
  margin-bottom: 12px !important;
}

.section-heading h2 {
  color: var(--text-primary) !important;
}

/* Dark background variant */
.section-heading.dark-background span {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.15) !important;
  color: var(--accent-hover) !important;
}

/* Inline span labels poza .section-heading (about, content-info, service-content) */
.about-content > span,
.content-info > span,
.service-content > span {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  height: auto !important;
  white-space: nowrap !important;
  padding: 5px 16px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: var(--accent-hover) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
  position: static !important;
}

/* ── 18. CONTACT SECTION ──────────────────────────────────── */
.contact-section {
  background-color: var(--bg-secondary) !important;
}

.contact-section .contact-info {
  background-color: var(--bg-elevated) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  padding: 40px !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45) !important;
}

.contact-info h3 {
  color: var(--text-primary) !important;
  font-size: 1.6rem !important;
}

.contact-info h4 {
  color: var(--text-primary) !important;
  font-size: 1.1rem !important;
}

.contact-info p,
.contact-info a {
  color: var(--text-secondary) !important;
  font-size: 1.05rem !important;
}

.contact-info a:hover {
  color: var(--accent-hover) !important;
}

/* Mapa */
#google-map {
  width: 100% !important;
  height: 0 !important;
  padding-bottom: 56.25% !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45) !important;
  margin-top: 24px !important;
}

#google-map iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
}

/* Formularz */
#contact-form {
  background-color: var(--bg-elevated) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  padding: 44px !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45) !important;
}

/* ── 19. FORM CONTROLS ────────────────────────────────────── */
.form-control {
  background-color: var(--bg-card) !important;
  border: 1px solid var(--border-light) !important;
  color: var(--text-primary) !important;
  font-size: 1.1rem !important;
  padding: 14px 16px !important;
  border-radius: 4px !important;
}

.form-control:focus {
  border-color: var(--accent-hover) !important;
  background-color: var(--bg-elevated) !important;
  box-shadow: 0 0 0 3px rgba(31,132,68,0.18) !important;
}

.form-control::placeholder {
  color: #505860 !important;
}

/* ── 20. FOOTER WIDGET ────────────────────────────────────── */
.widget-section {
  background-color: var(--bg-primary) !important;
  border-top: 1px solid var(--border) !important;
}

.widget-section .widget-content h4 {
  color: var(--text-primary) !important;
  font-size: 1.1rem !important;
  margin-bottom: 16px !important;
}

.widget-content p,
.widget-content span {
  color: var(--text-secondary) !important;
  font-size: 1rem !important;
}

.widget-content .widget-links li a {
  color: var(--text-secondary) !important;
  font-size: 1rem !important;
  line-height: 2.2 !important;
  transition: color 0.2s ease !important;
}

.widget-content .widget-links li a:hover {
  color: var(--accent-hover) !important;
}

/* ── 21. FOOTER ───────────────────────────────────────────── */
.footer-section {
  background-color: #070809 !important;
  border-top: 1px solid var(--border) !important;
}

.footer-section p {
  color: #505860 !important;
  font-size: 0.9rem !important;
}

/* ── 22. SCROLL TO TOP ────────────────────────────────────── */
#scroll-to-top {
  background-color: var(--accent) !important;
  width: 50px !important;
  height: 50px !important;
  line-height: 50px !important;
  font-size: 16px !important;
  transition: all 0.25s ease !important;
}

#scroll-to-top:hover {
  background-color: var(--accent-hover) !important;
  opacity: 1 !important;
  transform: translateY(-3px) !important;
}

/* ── 23. WORK PROCESS SECTION ─────────────────────────────── */
.work-pro-section:before {
  background-color: rgba(0, 0, 0, 0.85) !important;
}

.work-pro-item h3 {
  color: var(--text-primary) !important;
  font-size: 1.3rem !important;
}

.work-pro-item p {
  color: var(--text-secondary) !important;
  font-size: 1.05rem !important;
}

/* ── 24. COUNTER SECTION ──────────────────────────────────── */
.counter-section:before {
  background-color: rgba(0, 0, 0, 0.80) !important;
}

.counter-content .counter {
  color: var(--accent-hover) !important;
  font-size: 3.2rem !important;
}

.counter-content h4 {
  color: var(--text-secondary) !important;
  font-size: 0.85rem !important;
}

/* ── 25. TESTIMONIALS ─────────────────────────────────────── */
.testi-item {
  background-color: var(--bg-elevated) !important;
  border-left: 4px solid var(--accent) !important;
  box-shadow: 0 4px 28px rgba(0,0,0,0.45) !important;
  padding: 36px !important;
}

.testi-content p {
  color: var(--text-secondary) !important;
  font-size: 1.1rem !important;
}

.testi-content h3 {
  color: var(--text-primary) !important;
  font-size: 1.1rem !important;
}

/* ── 26. PAGE HEADER ──────────────────────────────────────── */
.page-header:before {
  background-color: rgba(0, 0, 0, 0.72) !important;
}

/* ── 27. OWL CAROUSEL NAV ─────────────────────────────────── */
.service-carousel .owl-nav div,
.projects-carousel .owl-nav div {
  background-color: var(--bg-elevated) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-light) !important;
  transition: all 0.25s ease !important;
}

.service-carousel .owl-nav div:hover,
.projects-carousel .owl-nav div:hover {
  background-color: var(--accent) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* ── 28. SPONSOR ITEMS ────────────────────────────────────── */
.sponsor-item img {
  opacity: 0.35 !important;
  filter: brightness(0.8) grayscale(0.4) !important;
  transition: all 0.3s ease !important;
}

.sponsor-item:hover img {
  opacity: 0.75 !important;
  filter: brightness(1.1) grayscale(0) !important;
}

/* ── 29. PROJECT ITEM — WIĘKSZE ZDJĘCIA (zadanie 4) ──────── */
.project-item img {
  width: 100% !important;
  height: 320px !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}

.project-item:hover img {
  transform: scale(1.05) !important;
}

/* ── 31. CONTACT SECTION — NOWY UKŁAD ────────────────────── */
.contact-section .contact-info {
  max-width: 1100px !important;
  margin: 0 auto !important;
  background-color: var(--bg-elevated) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 40px 44px !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45) !important;
}

/* Trzy kafelki z danymi kontaktowymi */
.contact-info-top {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin-bottom: 36px !important;
}

.contact-info-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 8px !important;
  padding: 28px 24px !important;
  text-align: center !important;
  transition: border-color 0.2s ease !important;
}

.contact-info-card:hover {
  border-color: var(--accent) !important;
}

.contact-info-card .contact-icon {
  font-size: 1.8rem !important;
  color: var(--accent-hover) !important;
  margin-bottom: 14px !important;
}

.contact-info-card h4 {
  color: var(--text-primary) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin-bottom: 10px !important;
}

.contact-info-card p,
.contact-info-card a {
  color: var(--text-secondary) !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

.contact-info-card a:hover {
  color: var(--accent-hover) !important;
}

/* Mapa — duża, pełna szerokość */
#google-map {
  width: 100% !important;
  height: 480px !important;
  padding-bottom: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45) !important;
  margin-top: 0 !important;
}

#google-map iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
}

@media (max-width: 768px) {
  .contact-info-top {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .contact-section .contact-info {
    padding: 24px 18px !important;
  }

  #google-map {
    height: 300px !important;
  }
}

/* ── 30. RESPONSIVE — MOBILE ──────────────────────────────── */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    text-align: center !important;
  }

  .hero-col-content {
    align-items: center !important;
    order: 1 !important;
  }

  .hero-col-visual {
    order: 2 !important;
  }

  .hero-logo {
    max-width: 220px !important;
    margin: 0 auto !important;
  }

  .contact-section .col-lg-5,
  .contact-section .col-lg-7 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .contact-section .contact-info {
    margin-bottom: 24px !important;
  }
}

@media (max-width: 768px) {
  html { font-size: 16px !important; }
  h1   { font-size: 2.6rem !important; }
  h2   { font-size: 2rem !important; }
  h3   { font-size: 1.5rem !important; }

  .cta-content h2   { font-size: 2rem !important; }
  .dl-caption.big   { font-size: 2.2rem !important; }
  .service-item     { padding: 36px 20px !important; }

  .hero-logo {
    max-width: 180px !important;
  }
}

@media (max-width: 480px) {
  html { font-size: 15px !important; }
  h1   { font-size: 2rem !important; }
  h2   { font-size: 1.7rem !important; }

  .hero-logo {
    max-width: 160px !important;
  }
}

/* ── 32. NAVBAR MOBILE FIX ────────────────────────────────── */
@media (max-width: 992px) {

  /* Zmniejsz wysokość headera */
  .primary-header-inner {
    min-height: 64px !important;
    padding: 0 16px !important;
  }

  /* Zmniejsz logo */
  .header-logo img {
    height: 52px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  /* Burger — widoczny na ciemnym tle */
  .line-menu {
    background-color: #c8c8c8 !important;
  }

  /* Dropdown menu — ciemne tło, czytelny tekst */
  .header-menu-wrap {
    background-color: var(--bg-secondary) !important;
    border-top: 1px solid var(--border) !important;
    border-bottom: 1px solid var(--border) !important;
    top: 64px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.7) !important;
  }

  /* Linki w menu mobilnym */
  .header-menu-wrap ul li > a {
    color: var(--text-primary) !important;
    font-size: 0.95rem !important;
    height: auto !important;
    line-height: 1.4 !important;
    padding: 14px 16px !important;
  }

  .header-menu-wrap ul li {
    border-bottom: 1px solid var(--border) !important;
  }

  .header-menu-wrap ul li:first-child {
    border-top: none !important;
  }

  /* Submenu */
  .header-menu-wrap ul li ul li > a {
    color: var(--text-secondary) !important;
    font-size: 0.9rem !important;
  }

  /* Przycisk CTA w headerze */
  .header-right a.menu-btn {
    font-size: 0.8rem !important;
    line-height: 36px !important;
    padding: 0 14px !important;
    white-space: nowrap !important;
  }

  /* Dropdown plus (strzałka rozwijania) */
  .dropdown-plus::before,
  .dropdown-plus::after {
    background-color: #c8c8c8 !important;
  }

  /* Wyrównanie prawej strony headera */
  .primary-header-inner .header-right {
    line-height: 64px !important;
    margin-left: 12px !important;
  }
}

@media (max-width: 580px) {
  .primary-header-inner {
    min-height: 56px !important;
  }

  .header-logo img {
    height: 44px !important;
  }

  .header-menu-wrap {
    top: 56px !important;
  }

  .primary-header-inner .header-right {
    line-height: 56px !important;
  }

  .header-right a.menu-btn {
    font-size: 0.75rem !important;
    padding: 0 10px !important;
    line-height: 32px !important;
  }
}
