:root {
  --primary-color: #1b1918;
  /* Dark Charcoal (from truck/uniform) */
  --accent-color: #e55a00;
  /* Vibrant Orange (from logo background/house) */
  --accent-hover: #cc5000;
  --bg-color: #ffffff;
  --bg-secondary: #fff8f3;
  /* Warmer background for the orange theme */
  --text-main: #333333;
  --text-muted: #666666;
  --border-color: #e2e8f0;
  --white: #ffffff;
  --black: #000000;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;

  /* Container width */
  --container-width: 1200px;
  --border-radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rubik', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Utilities / DRY Helpers */
.text-center {
  text-align: center;
}

.ml-10 {
  margin-left: 10px;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.pt-60 {
  padding-top: 60px;
}

.pt-80 {
  padding-top: 80px;
}

.bg-white {
  background-color: var(--white) !important;
}

/* Obrazki */
.brand-logo-img {
  height: 65px;
  width: auto;
  max-width: 250px;
}

/* Layout helpers */
.justify-center {
  justify-content: center;
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

/* Breadcrumbs (Okruszki podstron) */
.breadcrumb-bar {
  background-color: var(--bg-secondary);
  padding: 15px 0;
  border-bottom: 2px solid var(--border-color);
}

@media (max-width: 768px) {
  .breadcrumb-bar {
    padding: 8px 0;
  }
}

.breadcrumb-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.breadcrumb-link {
  color: var(--primary-color);
  transition: var(--transition);
}

.breadcrumb-link:hover {
  color: var(--accent-color);
}

.breadcrumb-current {
  color: var(--accent-color);
  font-weight: 700;
}

/* Podstrony Hero Modifiers */
.hero-sm {
  padding: 60px 0;
}

.hero-content-center {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-content-center h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 24px;
}

.hero-lead-wide {
  max-width: 100%;
  margin: 0 auto 40px auto;
  font-size: 1.15rem;
  color: var(--text-main);
  font-weight: 500;
}

/* Grid Modifiers dla podstron */
.services-grid-2col {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
}

.service-icon-number {
  font-size: 1.5rem;
  font-weight: 800;
}

@media (max-width: 768px) {
  .services-grid-2col {
    grid-template-columns: 1fr;
  }
}

.services-bullet-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 1.1rem;
  font-weight: 500;
}

.checkmark-accent {
  color: var(--accent-color);
}

.checkmark-primary {
  color: var(--primary-color);
}

.service-note {
  margin-top: 25px;
  font-weight: 700;
  color: var(--accent-color);
  font-size: 1.1rem;
  border-top: 2px solid var(--border-color);
  padding-top: 20px;
}

/* Tags/Pills Components */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  max-width: 900px;
  margin: 40px auto;
}

.tag-item-primary {
  padding: 15px 25px;
  background: var(--bg-secondary);
  border: 3px solid var(--primary-color);
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 6px 6px 0px var(--primary-color);
  transition: var(--transition);
}

.tag-item-primary:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0px var(--primary-color);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Kanit', sans-serif;
  color: var(--primary-color);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  font-style: italic;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  font-style: italic;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

/* Nie-semantyczne nagłówki dla SEO */
.fake-h3, .footer-heading {
  font-family: 'Kanit', sans-serif;
  color: inherit;
  line-height: 1.2;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.fake-h4 {
  font-family: 'Kanit', sans-serif;
  color: inherit;
  line-height: 1.2;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 800;
  text-transform: uppercase;
  font-style: italic;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 3px solid var(--primary-color);
  text-align: center;
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--white);
  box-shadow: 6px 6px 0px var(--primary-color);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 10px 10px 0px var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
  background-color: #000000;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.6);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.4);
}

.btn-white:hover {
  background-color: #f3f4f6;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.6);
}

/* Section 0: Sticky Bar */
.sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  color: var(--white);
  z-index: 1001;
  /* Wyższy niż header */
  padding: 10px 0;
  font-size: 0.9rem;
}

.sticky-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sticky-links {
  display: flex;
  gap: 20px;
}

.sticky-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.sticky-link:hover {
  color: var(--accent-color);
}

.sticky-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Section 1: Header / Nav */
.header {
  position: fixed;
  top: 42px;
  /* Wysokość sticky-bar */
  left: 0;
  width: 100%;
  padding: 15px 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  padding: 6px 0 !important;
  box-shadow: var(--shadow-md) !important;
}

.header.scrolled .brand-link img {
  height: 55px !important;
}

.header.scrolled .btn {
  padding: 8px 18px !important;
  font-size: 0.9rem !important;
  box-shadow: 3px 3px 0px var(--primary-color) !important;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  color: var(--primary-color);
}

.brand-link img {
  height: 80px;
  width: auto;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-square {
  width: 48px;
  height: 48px;
  background-color: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.nav-menu {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  padding: 10px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent-color);
}

.nav-link.highlight {
  font-weight: 700;
  color: var(--accent-color) !important;
  position: relative;
}

.nav-link.highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

/* Dropdowns & Mega Menu */
.nav-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 3px solid var(--primary-color);
  box-shadow: 6px 6px 0px var(--primary-color);
  border-radius: 8px;
  padding: 10px 8px;
  display: none;
  min-width: 300px;
  z-index: 1000;
  margin-top: 5px;
}

.nav-item:hover .dropdown-menu {
  display: block;
  animation: fadeIn 0.2s ease-out forwards;
}

.mega-menu {
  width: 450px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.nav-item:hover .mega-menu {
  display: grid;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  color: var(--text-main);
  font-weight: 500;
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition);
  white-space: nowrap;
}

.dropdown-link::before {
  content: '›';
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.dropdown-link:hover {
  background: var(--bg-secondary);
  color: var(--accent-color);
  transform: translateX(5px);
  font-weight: 600;
}

.dropdown-link:hover::before {
  color: var(--accent-color);
  transform: translateX(2px);
}

.dropdown-link.active-link {
  color: var(--accent-color);
  font-weight: 700;
  background: var(--bg-secondary);
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -3px;
}

.dropdown-submenu:hover>.dropdown-menu {
  display: block;
  animation: fadeIn 0.2s ease-out forwards;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin-bottom: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero Section */
.hero {
  margin-top: 152px;
  /* Przestrzeń pod sticky header (bar + nav) na desktop! */
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.home-hero {
  padding-top: 40px !important;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Subpage hero: wider left column for text, narrower right for image */
.hero-subpage-grid {
  grid-template-columns: 1.2fr 1fr !important;
  gap: 40px !important;
}

/* Badge above H1 on subpages */
.badge-accent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-secondary);
  color: var(--accent-color);
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  margin-bottom: 12px;
  border: 1.5px solid var(--accent-color);
}

.hero:not(.home-hero) .container {
  padding-top: 40px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: var(--primary-color);
  line-height: 1.1;
  margin-bottom: 12px;
  /* tighter gap under h1 */
}

.hero h1 span {
  color: var(--accent-color);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  /* reduced from 32 */
  max-width: 540px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  gap: 15px;
  /* reduced from 20 */
  margin-bottom: 20px;
  /* reduced from 32 */
  flex-wrap: wrap;
}

/* badges-row: neutral wrapper on desktop, flex row on mobile */
.badges-row {
  display: contents;
}

/* badges-calc-btn: hidden on desktop */
.badges-calc-btn {
  display: none;
}

.trust-badge {
  position: absolute;
  background: var(--white);
  border: 3px solid var(--primary-color);
  box-shadow: 6px 6px 0px var(--accent-color);
  border-radius: 8px;
  padding: 15px 25px;
  font-family: 'Rubik', sans-serif;
  color: var(--primary-color);
  z-index: 10;
  animation: floatBadge 6s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  min-width: 200px;
}

.trust-badge strong {
  font-family: 'Kanit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  font-style: italic;
  line-height: 1.1;
  display: block;
}

.trust-badge span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
}

.trust-badge em {
  font-family: 'Kanit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  font-style: italic;
  color: var(--accent-color);
  display: block;
  margin-top: 4px;
}

@keyframes floatBadge {
  0% {
    transform: translateY(0px) rotate(-1deg);
  }

  50% {
    transform: translateY(-15px) rotate(1deg);
  }

  100% {
    transform: translateY(0px) rotate(-1deg);
  }
}

.badge-1 {
  top: 26%;
  left: -12%;
  animation-duration: 6s;
}

.badge-2 {
  top: 46%;
  right: 0%;
  animation-duration: 7s;
  animation-delay: -2s;
  box-shadow: 6px 6px 0px var(--primary-color);
  border-color: var(--accent-color);
}

.badge-2 strong {
  color: var(--accent-color);
}

.badge-2 em {
  color: var(--primary-color);
}

.badge-3 {
  bottom: 18%;
  left: -3%;
  animation-duration: 8s;
  animation-delay: -4s;
}

.hero-image {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  /* No min-height or border – the image defines its own bounds */
}

.hero-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  transform: scale(1.05);
  transform-origin: center bottom;
  /* Explicitly no border / shadow – frameless design */
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}



.trust-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

/* Calculator */
.calculator-section {
  padding: 50px 0;
  background-color: var(--bg-secondary);
}

.calc-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 880px;
  /* Dostosowane do szerokości cennika */
  margin: 0 auto;
}

.calc-container {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 12px 12px 0px var(--primary-color);
  border: 4px solid var(--primary-color);
  padding: 40px;
  max-width: 100%;
  margin: 0;
  flex: 1;
  position: relative;
  z-index: 2;
}

.calc-mascot {
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -126px;
  margin-right: -154px;
  /* Niweluje szerokość maskotki dla idealnego wyśrodkowania kalkulatora */
  position: relative;
  z-index: 1;
}

.calc-mascot img {
  width: 155%;
  max-width: none;
  height: auto;
  transform: scale(1.5);
  transform-origin: left center;
}

@media (max-width: 992px) {
  .calc-wrapper {
    flex-direction: column;
  }

  .calc-mascot {
    display: none;
  }
}

.calc-step {
  display: none;
  animation: fadeIn 0.5s;
}

.calc-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Kalkulator pod-elementy po refaktoryzacji z Inline Styles */
.calc-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 500;
}

.calc-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.calc-col {
  flex: 1;
  min-width: 300px;
}

.calc-card-box {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: 12px;
  border: 2px solid var(--border-color);
}

.calc-card-box.h-full {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-value-label {
  font-size: 1.1rem;
}

.calc-value-highlight {
  color: var(--accent-color);
  font-size: 1.3rem;
}

.calc-note {
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-top: 15px;
}

.calc-input-group {
  display: flex;
  gap: 20px;
}

.calc-input-col {
  flex: 1;
}

.calc-select-large {
  font-size: 1.1rem;
  padding: 15px;
}

.calc-final-price {
  font-size: 3rem;
  color: var(--accent-color);
  margin: 20px 0;
}

.calc-final-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.btn-large {
  font-size: 1.25rem;
  padding: 20px 40px;
}

.calc-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--primary-color);
  font-weight: 700;
}

.calc-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.step-1-options {
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.step-1-options .calc-option {
  padding: 50px 30px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calc-option {
  border: 2px solid rgba(0, 0, 0, 0.08);
  /* Delikatniejsza ramka */
  border-radius: 12px;
  padding: 30px 20px;
  cursor: pointer;
  text-align: center;
  background: var(--white);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  /* Subtelny cień bazowy */
}

/* Nowa ikona wewnątrz opcji kalkulatora */
.calc-icon {
  margin-bottom: 15px;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
}

.calc-icon img {
  width: 90px;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.calc-option h4 {
  font-size: 1.4rem;
  margin: 0 0 10px 0;
  color: var(--primary-color);
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

.calc-option p {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
  font-weight: 400;
}

.calc-option:hover {
  border-color: var(--primary-color);
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0px var(--primary-color);
}

.calc-option:hover .calc-icon img {
  transform: scale(1.1) rotate(2deg);
}

.calc-option.selected {
  border-color: var(--accent-color);
  background-color: var(--white);
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0px var(--accent-color);
}

.calc-option.selected .calc-icon img {
  transform: scale(1.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 3px solid var(--border-color);
  border-radius: 8px;
  font-size: 1.05rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--primary-color);
  background-color: var(--white);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 4px 4px 0px var(--accent-color);
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 15px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1.05rem;
}

.custom-checkbox input {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
  border: 3px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--white);
  transition: var(--transition);
  position: relative;
  margin: 0;
}

.custom-checkbox input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.custom-checkbox input:checked::after {
  content: '✓';
  position: absolute;
  color: white;
  font-weight: 900;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
}

.calc-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

/* Services Hub */
.services-hub {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /* Zapobiega rozpychaniu kolumn przez treść */
  gap: 24px;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 22px 22px;
  border: 3px solid var(--primary-color);
  box-shadow: 8px 8px 0px var(--primary-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  text-align: center;
}

.service-card.highlight {
  background: var(--white);
  /* Zmiana na biały dla uniknięcia różnic tła z PNG */
  border-color: var(--accent-color);
  box-shadow: 8px 8px 0px var(--accent-color);
  grid-column: span 1;
}

.service-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px var(--accent-color);
  border-color: var(--accent-color);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(2deg);
  transition: var(--transition);
}

/* .service-header usunięty - zastąpiony układem pionowym w .service-card */

.service-icon {
  width: 100%;
  /* Pełna szerokość dla centrowania */
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin-bottom: 20px;
  /* Odstęp od nagłówka pod spodem */
}

.service-icon img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  background: transparent !important;
  display: block;
}

.service-card h3 {
  font-size: 1.7rem;
  margin: 0 0 15px 0;
  line-height: 1.2;
  text-align: center;
}

.service-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: center;
  line-height: 1.55;
}

.service-link {
  text-align: center;
  display: block;
}

.service-link {
  color: var(--accent-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-link:hover {
  gap: 10px;
}

/* Timeline / Process */
.process-section {
  padding: 100px 0;
  background-color: var(--primary-color);
  color: var(--white);
}

.process-section h2 {
  color: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  margin-top: 60px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
}

.timeline-number {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 0 10px var(--primary-color);
  animation: sequencePulse 5s infinite ease-in-out;
}

@keyframes sequencePulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 10px var(--primary-color);
  }

  10% {
    transform: scale(1.15);
    box-shadow: 0 0 0 15px rgba(229, 90, 0, 0.6);
  }

  20% {
    transform: scale(1);
    box-shadow: 0 0 0 10px var(--primary-color);
  }
}

.timeline-step:nth-child(1) .timeline-number {
  animation-delay: 0s;
}

.timeline-step:nth-child(2) .timeline-number {
  animation-delay: 1s;
}

.timeline-step:nth-child(3) .timeline-number {
  animation-delay: 2s;
}

.timeline-step:nth-child(4) .timeline-number {
  animation-delay: 3s;
}

.timeline-step:nth-child(5) .timeline-number {
  animation-delay: 4s;
}

.timeline-step:nth-child(6) .timeline-number {
  animation-delay: 5s;
}

.timeline-step h3 {
  color: var(--white);
  text-align: center;
  margin-bottom: 15px;
}

.timeline-step p {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-size: 0.95rem;
}

/* Trust & EEAT */
.trust-section {
  padding: 100px 0;
}

.trust-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.pillar {
  text-align: center;
  padding: 30px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 3px solid var(--primary-color);
  box-shadow: 6px 6px 0px var(--primary-color);
  transition: var(--transition);
}

.pillar:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0px var(--accent-color);
  border-color: var(--accent-color);
}



.pillar h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.pillar p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.pricing-preview {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  border: 3px solid var(--primary-color);
  box-shadow: 8px 8px 0px var(--primary-color);
  overflow: hidden;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--primary-color);
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table td:last-child {
  font-weight: 700;
  color: var(--accent-color);
}

.pricing-footer {
  padding: 20px;
  text-align: center;
  background: var(--bg-secondary);
}

.hero:not(.home-hero) .container {
  padding-top: 40px;
}

/* Reviews */
.reviews-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.review-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  border: 3px solid var(--primary-color);
  box-shadow: 8px 8px 0px var(--primary-color);
  transition: var(--transition);
}

.review-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px var(--accent-color);
  border-color: var(--accent-color);
}

.review-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 0 !important;
}

.review-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0 !important;
  font-weight: 500;
}

.review-text {
  font-style: italic;
  margin-bottom: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.review-author {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.95rem;
}

/* Rating Widgets / CTA Box */
.rating-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.rating-card {
  text-decoration: none;
  background: var(--white);
  border: 3px solid var(--border-color);
  border-radius: 12px;
  padding: 20px 25px;
  width: 260px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.rating-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 8px 8px 0px var(--primary-color);
}

.rating-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.rating-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
}

.rating-score {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.score-val {
  display: flex;
  flex-direction: column;
}

.score {
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--primary-color);
  line-height: 1;
}

.count {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.review-cta-wrapper {
  background: #e55a00;
  /* Intensywny pomarańczowy zgodnie z prośbą */
  border: 4px solid var(--primary-color);
  box-shadow: 10px 10px 0px var(--primary-color);
  border-radius: 20px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.review-cta-left h3 {
  color: var(--white) !important;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.review-cta-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
}

.review-cta-left .btn-accent {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 6px 6px 0px var(--primary-color);
}

.review-cta-left .btn-outline {
  background: var(--accent-color);
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 6px 6px 0px var(--primary-color);
  font-weight: 800;
}

.review-cta-left .btn-outline:hover {
  background: var(--white);
  color: var(--accent-color);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px var(--accent-color);
}

.review-cta-left {
  flex: 1;
}

.review-cta-right {
  display: flex;
  gap: 20px;
  flex: 0 0 auto;
}

.review-cta-right .rating-card {
  width: 220px;
  padding: 15px 20px;
  margin: 0;
  border-color: rgba(255, 255, 255, 0.4);
}

.review-cta-right .rating-card:hover {
  border-color: var(--white);
  box-shadow: 8px 8px 0px var(--primary-color);
}

@media (max-width: 992px) {
  .review-cta-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .review-cta-right {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    gap: 10px;
    margin-top: 20px;
  }

  .review-cta-right .rating-card {
    flex: 1;
    min-width: 0;
    max-width: 220px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .review-cta-left {
    text-align: center;
  }

  .review-buttons {
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .review-cta-right .rating-card .score {
    font-size: 1.4rem !important;
  }

  .review-cta-right .rating-card .rating-title {
    font-size: 0.9rem !important;
  }

  .review-cta-right .rating-card .count {
    font-size: 0.75rem !important;
  }

  .review-cta-right .rating-card {
    padding: 10px 5px;
  }
}

.faq-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border: 3px solid var(--primary-color);
  box-shadow: 6px 6px 0px var(--primary-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px var(--accent-color);
  border-color: var(--accent-color);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--bg-secondary);
}

.faq-item.active .faq-answer {
  padding: 20px 24px;
  max-height: 300px;
  /* arbitrary max height for animation */
}

/* Contact & Footer */
.contact-section {
  padding: 100px 0;
  background: var(--primary-color);
  color: var(--white);
}

.contact-section h2 {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-button {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 600;
  transition: var(--transition);
}

.contact-button:hover {
  background: var(--accent-color);
  transform: translateX(10px);
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ddd;
}

.footer {
  background: #111111;
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  display: block;
  padding: 5px 0;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
}

.footer-bottom-content p, 
.footer-bottom-content a,
.footer-bottom-content span {
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin: 0;
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
  line-height: 1.5;
}

.footer-bottom-content a:hover {
  color: var(--accent-color) !important;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-bottom-content .credit a {
  color: var(--accent-color) !important;
  font-weight: 500; /* Unified font weight */
}

@media (max-width: 992px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 8px; /* Tighter gap */
    justify-content: center;
  }
  
  .footer-bottom-links {
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom-links .separator {
    display: none; /* Hide separator on mobile */
  }

  .footer-bottom-content p, 
  .footer-bottom-content a {
    font-size: 0.75rem !important; /* Smaller text for mobile */
  }
}

/* Responsive */
@media (max-width: 1024px) {

  .hero .container,
  .hero-subpage-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 15px !important;
  }

  /* Shared Hero logic for Mobile/Tablet */
  .hero-content,
  .hero-image {
    display: contents !important;
  }

  /* Subpage Hero Reordering & Spacing */
  .hero:not(.home-hero) .container {
    padding-top: 0 !important;
    gap: 10px !important;
  }

  .hero:not(.home-hero) .badge-accent {
    order: 1 !important;
    margin-bottom: 15px !important;
  }

  .hero:not(.home-hero) h1 {
    order: 2 !important;
    margin-bottom: 12px !important;
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
  }

  .hero:not(.home-hero) .hero-image img {
    order: 3 !important;
    margin: 10px auto !important;
  }

  .hero:not(.home-hero) .hero-lead {
    order: 4 !important;
    margin: 0 auto 15px !important;
    font-size: 1rem !important;
  }

  .hero:not(.home-hero) .hero-cta {
    order: 5 !important;
    margin-top: 10px !important;
  }

  /* Homepage Hero Reordering (Tablets too) */
  .home-hero h1 {
    order: 1 !important;
  }

  .home-hero .hero-cta {
    order: 2 !important;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
  }

  .home-hero .hero-image img {
    order: 3 !important;
  }

  .home-hero .hero-lead {
    order: 4 !important;
  }

  .badges-row {
    order: 6 !important;
    width: 100%;
  }

  .hero-image img {
    width: 60%;
    max-width: 250px;
    margin: 0 auto;
    display: block !important;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 0 10px;
  }

  .timeline::before {
    display: none;
    /* Usuwamy pionową linię na mobile dla lepszego UX */
  }

  .timeline-number {
    margin: 0 auto 15px auto;
    box-shadow: 0 0 0 8px var(--primary-color);
  }

  .timeline-step {
    padding-left: 0;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
  }

  .timeline-step h3,
  .timeline-step p {
    text-align: center;
  }

  .timeline-step p {
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 10px;
  }

  .trust-pillars,
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card.highlight {
    grid-column: span 2;
  }
}

/* Animacje Scroll Reveal */
.animate-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Sticky Phone */
.floating-phone {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--accent-color);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 20px 10px 10px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(229, 90, 0, 0.4);
  z-index: 1000;
  transition: var(--transition);
  border: 3px solid var(--white);
  animation: pulseFloat 2s infinite;
}

.floating-phone:hover {
  transform: translateY(-5px) scale(1.05);
  background: var(--primary-color);
}

.floating-icon {
  background: var(--white);
  color: var(--accent-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-text {
  display: flex;
  flex-direction: column;
}

.floating-text span {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.floating-text strong {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

@keyframes pulseFloat {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 90, 0, 0.6);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(229, 90, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(229, 90, 0, 0);
  }
}

@media (max-width: 768px) {
  .sticky-bar {
    display: none !important;
  }

  .header {
    margin-top: 0;
    position: relative;
    top: 0;
    padding: 14px 0;
  }

  .hero {
    margin-top: 0 !important;
    padding-top: 50px !important;
    /* Przywrócenie normalnego paddingu na mobile */
  }

  .brand-link {
    font-size: 1.2rem;
    gap: 8px;
  }

  .brand-link img,
  .brand-logo-img {
    height: 50px;
  }

  .logo-square {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .nav-menu {
    display: none;
    /* Mobile menu hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-md);
  }

  .nav-menu.active {
    display: flex;
    max-height: 96vh;
    overflow-y: auto;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0 0 0 15px;
    margin: 0;
    animation: none;
  }

  .nav-item.active .dropdown-menu {
    display: block;
  }

  .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-link.highlight::after {
    display: none;
  }

  .nav-menu .btn {
    margin: 15px 0 0 0 !important;
    width: 100%;
  }

  .hamburger {
    display: block;
    padding: 10px 8px !important;
  }

  .hamburger span {
    width: 30px !important;
    height: 3px;
    margin-bottom: 6px !important;
  }

  .hamburger span:last-child {
    margin-bottom: 0 !important;
  }

  /* Animacja hamburgera → X po otwarciu menu */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .services-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 14px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .service-card.highlight {
    grid-column: span 1;
  }

  .trust-pillars,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-column h3 {
    margin-bottom: 12px;
  }

  .footer-links {
    gap: 4px !important;
  }

  .footer-links a {
    padding: 3px 0 !important;
  }

  .footer {
    padding: 40px 0 20px !important;
  }

  .hero {
    text-align: center;
    padding: 15px 0 !important;
    /* Minimal padding for subpages on mobile */
  }

  .home-hero {
    padding: 32px 0 !important;
    /* Preserve homepage padding */
  }

  .hero .container,
  .hero-subpage-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    /* Smaller gap for tighter look */
    padding-top: 0 !important;
  }

  .home-hero .container {
    padding-top: 16px !important;
  }

  .hero-content {
    display: contents !important;
    /* Bypass any inline display styles */
  }

  .hero-image {
    display: contents !important;
    /* Bypass manual display:flex in HTML */
  }

  .hero-content {
    display: contents !important;
  }

  .hero-image {
    display: contents !important;
  }

  .hero-lead {
    margin: 0 auto 10px !important;
    font-size: 1.05rem !important;
  }

  .hero-cta {
    justify-content: center;
    margin-bottom: 0;
  }

  .hero-image img {
    margin-top: 0 !important;
    min-height: auto;
    padding: 0;
    display: block !important;
    position: relative;
    z-index: 1;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .badges-row {
    order: 6;
    /* Trust badges moved to the bottom on mobile to reduce noise */
    width: 100%;
  }

  /* --- Badges: poziome paski na mobile --- */
  .hero-image .badges-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    box-shadow: 5px 5px 0px var(--primary-color);
  }

  .trust-badge {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
    animation: none !important;
    padding: 14px 25px !important;
    box-sizing: border-box;
    z-index: 5;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    gap: 1px 10px !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: none !important;
    background: var(--white) !important;
  }

  .trust-badge:last-of-type {
    border-bottom: none !important;
  }

  .trust-badge strong {
    grid-column: 1 !important;
    grid-row: 1 !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: var(--primary-color) !important;
    text-align: left !important;
    font-style: normal !important;
  }

  .trust-badge span {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    font-size: 0.72rem !important;
    color: var(--text-muted) !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }

  .trust-badge em {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    font-style: normal !important;
    color: var(--accent-color) !important;
    margin-top: 0 !important;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center !important;
  }

  .badge-2 {
    background: var(--white) !important;
    box-shadow: none !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
  }

  .badges-calc-btn {
    display: block;
    width: 100%;
    padding: 13px 16px;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
  }

  .badges-calc-btn:hover {
    background: var(--accent-color);
  }

  .calc-options {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .calc-option {
    padding: 20px 15px;
  }

  .calc-option h4 {
    font-size: 1.2rem;
  }

  .calc-option p {
    font-size: 0.95rem;
  }

  .calc-icon {
    margin-bottom: 10px;
  }

  .calc-icon img {
    width: 65px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .floating-phone {
    bottom: 20px;
    right: 20px;
    padding: 5px;
  }

  .floating-text {
    display: none;
  }

  .floating-icon {
    width: 50px;
    height: 50px;
  }

  /* Globalne poprawki sekcji na mobile */
  .hero,
  .calculator-section,
  .trust-section,
  .process-section,
  .reviews-section,
  .faq-section,
  .contact-section,
  .services-hub {
    padding: 50px 0 !important;
  }

  h1 {
    font-size: clamp(1.4rem, 6vw, 1.8rem) !important;
    line-height: 1.1 !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  h2 {
    font-size: clamp(1.2rem, 5vw, 1.5rem) !important;
    margin-bottom: 20px;
    overflow-wrap: anywhere;
  }

  h3,
  .service-card h3 {
    font-size: 1.25rem !important;
    line-height: 1.2 !important;
  }

  /* Przyciski i CTA */
  .hero-cta,
  .review-buttons {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .calc-nav {
    flex-direction: column;
    gap: 15px;
  }

  .calc-nav .btn {
    width: 100%;
    margin: 0;
  }

  .btn {
    width: 100%;
    font-size: 0.95rem !important;
    padding: 12px 16px !important;
    min-height: 52px;
  }

  .cta-banner div[style*="display: flex"],
  .pricing-footer {
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
  }

  .cta-banner .btn {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Karty usług — pionowe, równa wysokość, wyśrodkowane */
  .service-card,
  .service-card.highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px 16px;
    box-shadow: 4px 4px 0px var(--primary-color);
  }

  .service-card.highlight {
    box-shadow: 4px 4px 0px var(--accent-color);
  }

  .service-icon,
  .service-card.highlight .service-icon {
    width: auto;
    margin-bottom: 12px;
    justify-content: center;
  }

  .service-icon img,
  .service-card.highlight .service-icon img {
    width: 90px;
    height: 90px;
  }

  .service-card h3,
  .service-card .fake-h3,
  .service-card.highlight h3,
  .service-card.highlight .fake-h3 {
    font-size: 1rem !important;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.25;
  }

  .service-card p,
  .service-card.highlight p {
    font-size: 0.88rem;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .calc-container,
  .review-cta-wrapper {
    padding: 25px 15px !important;
  }

  /* Sekcja Dlaczego My? - Lżejszy design na mobile */
  .trust-pillars {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-top: 35px;
  }

  .pillar {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    position: relative;
    text-align: center;
  }

  .pillar-content {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .pillar h3 {
    font-size: 1.25rem !important;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
  }

  .pillar p {
    font-size: 1rem !important;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
    text-align: center;
  }

  /* Tabela cennika scrollowalna na mobile */
  .pricing-preview {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    margin: 0 15px !important;
    box-shadow: 6px 6px 0px var(--primary-color) !important;
    max-width: calc(100vw - 42px) !important;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 10px 12px !important;
    font-size: 0.85rem !important;
  }

  .pricing-table th {
    font-size: 1rem !important;
  }

  .pricing-table td strong {
    display: block;
    margin-bottom: 5px;
  }

  .pricing-table td[style*="text-align: right"] {
    font-size: 1.3rem !important;
    white-space: nowrap;
  }

  .pricing-footer {
    padding: 20px 15px !important;
  }

  .pricing-footer .btn {
    margin: 5px 0 !important;
    width: 100%;
    display: block;
  }

  /* Opinie i formularze */
  .review-card {
    padding: 20px;
  }

  /* Kalkulator Step 2 i 3 Flex Fix z !important dla flex-direction dla inline flexów */
  .calc-row {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .calc-col {
    min-width: 100% !important;
  }

  .form-group .form-control {
    padding: 12px 15px;
    font-size: 1rem !important;
  }
}

/* Calc slider specific */
.range-slider {
  width: 100%;
  margin: 20px 0;
}

.range-slider input {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: #ddd;
  border-radius: 4px;
  outline: none;
}

.range-slider input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
}

.range-slider input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
}

/* --- Geo Coverage Section Improvements (Simplified) --- */
.geo-coverage-wrapper {
  margin-top: 80px;
  padding: 40px 0;
  text-align: center;
}

.geo-subtitle {
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  font-family: 'Kanit', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
  opacity: 0.8;
}

.geo-coverage-wrapper h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 40px;
  color: var(--primary-color);
  text-align: center !important;
}

.districts-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.district-tag {
  padding: 8px 18px;
  background: #f1f5f9;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  color: #475569;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.district-tag svg {
  width: 14px;
  height: 14px;
  fill: #94a3b8;
  transition: var(--transition);
}

.district-tag:hover {
  background: #e2e8f0;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.district-tag:hover svg {
  fill: var(--accent-color);
}

.surroundings-box {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.surroundings-label {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.surroundings-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
}

.surroundings-item {
  padding: 8px 18px;
  background: #f1f5f9;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  color: #475569;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.surroundings-item:hover {
  background: #e2e8f0;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.surroundings-item svg {
  width: 14px;
  height: 14px;
  fill: #94a3b8;
  transition: var(--transition);
}

.surroundings-item:hover svg {
  fill: var(--accent-color);
}

@media (max-width: 768px) {
  .geo-coverage-wrapper {
    padding: 30px 10px;
  }

  .districts-container {
    gap: 6px;
  }

  .district-tag,
  .surroundings-item {
    padding: 6px 13px;
    font-size: 0.67rem;
    gap: 4px;
    border-radius: 5px;
  }

  .district-tag svg,
  .surroundings-item svg {
    width: 10px;
    height: 10px;
  }
}

/* ====================================================
   Premium SEO "Dlaczego My?" Section
   ==================================================== */
/* ====================================================
   Premium SEO "Dlaczego My?" Section V2
   ==================================================== */
.seo-why-section {
  padding: 80px 0 100px;
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

.seo-why-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--primary-color) 100%);
}

.section-header,
.seo-why-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-lead {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.15rem;
  color: var(--text-main);
  text-align: center;
}


/* Global Eyebrow Component (Zasada DRY) */
.eyebrow {
  display: inline-block;
  padding: 6px 18px;
  background: var(--accent-color);
  color: var(--white);
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 30px;
  margin: 0 auto 15px auto;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(229, 90, 0, 0.15);
}

.seo-why-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 16px;
}

.seo-why-title .accent {
  color: var(--accent-color);
}

.seo-why-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.seo-why-body.v2-layout {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.seo-why-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.seo-benefit-card {
  background: var(--white);
  border: 3px solid var(--primary-color);
  border-radius: 16px;
  padding: 30px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 8px 8px 0px var(--primary-color);
  display: flex;
  flex-direction: column;
}

.seo-benefit-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px var(--accent-color);
  border-color: var(--accent-color);
}

.seo-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #ff7a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.seo-benefit-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.seo-benefit-card h3 {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 8px;
  line-height: 1.3;
}

.seo-benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Photo column */
.seo-why-image-col {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  height: 500px;
}

.seo-team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1100px) {
  .seo-why-body.v2-layout {
    grid-template-columns: 1fr;
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .seo-why-section {
    padding: 60px 0;
  }

  .seo-why-benefits {
    grid-template-columns: 1fr;
  }

  .seo-why-image-col {
    height: 350px;
    order: -1;
    /* Photo first on mobile for better visual entry */
    margin-bottom: 20px;
  }
}


.hero:not(.home-hero) .badge-accent {
  margin-left: 0 !important;
  margin-bottom: 10px !important;
}

/* Trusted By / Clients Carousel */
.trusted-by {
  padding: 80px 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.logo-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-carousel::before,
.logo-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 100px;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}

.logo-track:hover {
  animation-play-state: paused;
}

.logo-track img {
  height: 120px;
  width: auto;
  max-width: 325px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: all 0.3s ease;
}

.logo-track img:hover {
  filter: grayscale(0%) opacity(1);
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 50px));
  }
}

@media (max-width: 768px) {
  .logo-track {
    gap: 70px;
    animation: scroll-logos 20s linear infinite;
  }

  .logo-track img {
    height: 80px;
    max-width: 210px;
  }

  .logo-carousel::before,
  .logo-carousel::after {
    width: 60px;
  }

  @keyframes scroll-logos {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(calc(-50% - 35px));
    }
  }
}

/* Pricing Info Grid UI UX Fixes */
.pricing-table .interactive-row:hover {
  background-color: #fff4ed !important;
}

.ux-rule-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 4px;
}

.ux-rule-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06) !important;
}

@media (max-width: 768px) {
  .ux-rules-grid {
    grid-template-columns: 1fr !important;
  }
}




/* Mobile Pricing UI Fixes */
@media (max-width: 600px) {
  .pricing-preview {
    margin: 0 15px !important;
    box-shadow: 4px 4px 0px var(--primary-color) !important;
    border-width: 2px !important;
    max-width: calc(100vw - 38px) !important;
  }

  .pricing-table th {
    padding: 12px 8px !important;
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
  }

  .pricing-table td {
    padding: 12px 8px !important;
    font-size: 0.9rem !important;
  }

  .pricing-table strong {
    font-size: 0.95rem !important;
    display: block !important;
    margin-bottom: 2px !important;
  }

  .pricing-table span {
    font-size: 0.85rem !important;
  }

  /* Price column specific */
  .pricing-table td:last-child {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    text-align: right !important;
    white-space: nowrap !important;
    min-width: 80px;
  }

  .pricing-table td:last-child small {
    display: block !important;
    font-size: 0.7rem !important;
    margin-top: 2px;
  }

  .pricing-footer {
    padding: 20px 15px !important;
  }

  .pricing-footer div {
    font-size: 0.85rem !important;
  }
}

/* SEO Content Links */
.content-link {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(229, 90, 0, 0.3);
  padding-bottom: 1px;
  transition: var(--transition);
  display: inline-block; /* Helps with line-height and padding */
}

.content-link:hover {
  border-bottom-color: var(--accent-hover);
  color: var(--accent-hover);
  background-color: rgba(229, 90, 0, 0.05);
  border-radius: 4px;
}

/* -------------------------------------
   Cookie Consent Banner
-------------------------------------- */
.cookie-consent-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    width: 90%;
    max-width: 750px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translate(-50%, 150%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent-banner.show {
    transform: translate(-50%, 0);
}

.cookie-content h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    color: var(--text-color);
}

.cookie-content p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
    font-size: 0.9rem;
}

.cookie-btn.accept {
    background: var(--accent-color);
    color: var(--white);
}

.cookie-btn.accept:hover {
    background: #e67e22;
}

.cookie-btn.reject {
    background: #f1f3f5;
    color: #495057;
}

.cookie-btn.reject:hover {
    background: #e9ecef;
}

.cookie-btn.customize {
    background: transparent;
    color: var(--text-color);
    text-decoration: underline;
}

/* Modal preferencji Cookies */
.cookie-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
}

.cookie-modal-overlay.active {
    display: flex;
}

.cookie-modal {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-modal h3 {
    margin-bottom: 15px;
}

.cookie-option {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-option-info h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.cookie-option-info p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

/* Przełączniki (Toggle) */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 15px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-color);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

input:disabled + .slider {
    background-color: #70c470;
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        bottom: 10px;
        width: 95%;
        padding: 15px;
    }
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    .floating-cookie-btn {
        bottom: 15px;
        left: 15px;
        width: 48px;
        height: 48px;
    }
    .floating-cookie-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* Floating Cookie Button */
.floating-cookie-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 54px;
    height: 54px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(229, 90, 0, 0.35);
    z-index: 90000;
    cursor: pointer;
    border: none;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}
.floating-cookie-btn:hover {
    transform: scale(1.1);
    background: var(--accent-hover);
    box-shadow: 0 8px 20px rgba(229, 90, 0, 0.45);
}
.floating-cookie-btn svg {
    color: var(--white);
    width: 28px;
    height: 28px;
}