: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;
}

* {
  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);
}

.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;
}

/* 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: translate(-2px, -2px);
  box-shadow: 8px 8px 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: translate(-2px, -2px);
  box-shadow: 8px 8px 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: 1000;
  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 {
  margin-top: 42px;
  /* space for sticky bar */
  padding: 20px 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 999;
}

.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;
}

.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: 15px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-link:hover {
  background-color: var(--bg-secondary);
  color: var(--accent-color);
  transform: translateY(-1px);
}

.nav-link.highlight {
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
}

.nav-link.highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background-color: var(--accent-color);
}

/* 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: 15px;
  display: none;
  min-width: 220px;
  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: block;
  padding: 10px 15px;
  color: var(--text-main);
  font-weight: 500;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.dropdown-link:hover {
  background: var(--bg-secondary);
  color: var(--accent-hover);
  transform: translateX(4px);
  font-weight: 600;
}

.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: var(--transition);
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: var(--primary-color);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--accent-color);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.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: 10px 20px;
  font-family: 'Kanit', sans-serif;
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  z-index: 10;
  white-space: nowrap;
  animation: floatBadge 6s ease-in-out infinite;
}

.badge-1 {
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.badge-2 {
  top: 45%;
  right: -10%;
  animation-delay: 2s;
  box-shadow: 6px 6px 0px var(--primary-color);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.badge-3 {
  bottom: 0;
  left: 0;
  animation-delay: 4s;
}

@keyframes floatBadge {
  0% {
    transform: translateY(0px) rotate(-2deg);
  }

  50% {
    transform: translateY(-10px) rotate(2deg);
  }

  100% {
    transform: translateY(0px) rotate(-2deg);
  }
}

.hero-image {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  transform: scale(1.1);
  transform-origin: center bottom;
}

/* Section 3: Priority Service */
.priority-service {
  padding: 100px 0;
  background-color: var(--white);
  color: var(--text-main);
  text-align: center;
}

.priority-service h2 {
  color: var(--primary-color);
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.priority-card {
  background: var(--bg-secondary);
  padding: 40px 30px;
  border-radius: 12px;
  border: 3px solid var(--accent-color);
  box-shadow: 8px 8px 0px var(--accent-color);
  text-align: left;
  transition: var(--transition);
}

.priority-card:hover {
  transform: translate(-4px, -4px);
  border-color: var(--white);
  box-shadow: 12px 12px 0px var(--white);
}

.priority-card h3 {
  color: var(--primary-color);
}

.priority-card p {
  color: var(--text-main);
  font-size: 1.05rem;
}

.priority-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.trust-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

/* Calculator */
.calculator-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.calc-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1080px;
  /* Zwężone o 10% (z 1200px) */
  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: 3px solid var(--border-color);
  border-radius: 12px;
  padding: 30px 20px;
  cursor: pointer;
  text-align: center;
  background: var(--white);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.calc-option h4 {
  font-size: 1.5rem;
  margin: 0 0 12px 0;
  color: var(--primary-color);
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

.calc-option p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
  font-weight: 400;
}

.calc-option:hover {
  border-color: var(--accent-color);
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0px var(--accent-color);
}

.calc-option.selected {
  border-color: var(--accent-color);
  background-color: var(--white);
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px var(--accent-color);
  color: var(--primary-color);
}

.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ść */
  grid-auto-rows: 1fr;
  gap: 30px;
  align-items: stretch;
  width: 100%;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 15px 25px;
  border: 3px solid var(--primary-color);
  box-shadow: 8px 8px 0px var(--primary-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Zatrzymuje treść wewnątrz boksu */
}

.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: 160px;
  /* Stały rozmiar samej grafiki */
  height: auto;
  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.2rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: center;
}

.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);
}

/* 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);
}

.stars {
  color: #fbbf24;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.review-author {
  font-weight: 700;
  color: var(--primary-color);
}

/* 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);
}

.review-cta-left .btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.review-cta-left .btn-outline:hover {
  background: var(--white);
  color: var(--primary-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 {
    flex-wrap: wrap;
    justify-content: center;
  }

  .review-cta-left {
    text-align: center;
  }

  .review-buttons {
    justify-content: center !important;
  }
}

.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;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {

  .hero .container,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline::before {
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
  }

  .timeline-number {
    margin: 0;
    margin-bottom: 20px;
  }

  .timeline-step {
    padding-left: 90px;
    text-align: left;
  }

  .timeline-step h3,
  .timeline-step p {
    text-align: left;
  }

  .trust-pillars,
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .priority-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 {
    padding: 10px 0;
    position: relative;
    /* Na mobile lepiej by nie ucinał headera / zawijał się naturalnie */
  }

  .sticky-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    font-size: 0.8rem;
  }

  .header {
    margin-top: 0;
    /* Bo sticky-bar jest teraz relative na mobile i nie przykrywa */
    padding: 15px 0;
  }

  .brand-link {
    font-size: 1.2rem;
    gap: 8px;
  }

  .brand-link img {
    height: 40px;
    /* Zmniejszone znacznie logo dla responsywności */
  }

  .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: 20px;
    box-shadow: var(--shadow-md);
  }

  .nav-menu.active {
    display: flex;
    max-height: 80vh;
    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: 12px 0;
    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;
  }

  .services-grid,
  .priority-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .service-card.highlight {
    grid-column: span 1;
  }

  .trust-pillars,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: center;
    overflow: hidden;
    /* Zabezpieczenie przed rozpychaniem ekranu przez obraz */
  }

  .hero-lead {
    margin: 0 auto 150px
  }

  .hero-cta {
    justify-content: center;
    position: relative;
    z-index: 10;
    /* Zapewnia bycie ponad maskotką i tłem */
    margin-bottom: 0;
  }

  .hero-image {
    min-height: auto;
    margin-top: -350px;
    /* Podciąga obrazek fizycznie pod przyciski CTA */
    padding: 0;
    flex-direction: column-reverse;
    /* maskotka na górze, odznaki pod spodem */
    gap: 15px;
    position: relative;
    z-index: 1;
    /* obrazek leży z tyłu CTA */
  }

  .hero-image img {
    transform: none;
    width: 100%;
    max-width: 380px;
    /* Powiększony obrazek pod bycie tłem mobile */
    margin: 0 auto 10px;
    opacity: 0.85;
    /* Zwiększona transparentność, robi za klasyczne "tło" nie przeszkadzając w czytaniu */
    pointer-events: none;
    /* By nie blokować przypadkowych kliknięć z-index warstw */
  }

  .trust-badge {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 320px;
    /* By odznaki nie rozciągały się na cały ekran - wygląda elegancko */
    margin: 0 auto !important;
    transform: none !important;
    animation: none !important;
    text-align: center;
    white-space: normal;
    font-size: 0.95rem;
    padding: 10px;
    box-sizing: border-box;
    z-index: 5;
  }

  .calc-options {
    grid-template-columns: 1fr !important;
  }

  .step-1-options {
    gap: 20px;
  }

  .step-1-options .calc-option {
    padding: 30px 20px;
    font-size: 1.25rem;
  }

  .calc-option {
    padding: 20px 10px;
    font-size: 1rem;
  }

  .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,
  .priority-service,
  .calculator-section,
  .trust-section,
  .process-section,
  .reviews-section,
  .faq-section,
  .contact-section,
  .services-hub {
    padding: 30px 0 !important;
  }

  h1 {
    font-size: 1.8rem !important;
    word-break: break-word;
    /* Zabezpieczenie na długie słowo PRZEPROWADZKI */
  }

  h2 {
    font-size: 1.5rem !important;
    margin-bottom: 25px;
    word-break: break-word;
  }

  /* Przyciski i CTA */
  .hero-cta,
  .priority-cta,
  .review-buttons {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px 20px;
  }

  /* Karty i Boksy */
  .service-card {
    padding: 20px 15px;
  }

  .priority-card {
    padding: 25px 20px;
  }

  .calc-container,
  .review-cta-wrapper {
    padding: 25px 15px !important;
  }

  /* Tabela cennika scrollowalna na mobile */
  .pricing-preview {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    margin: 0 -10px;
    /* pozwala rozciągnąć tabelę poza margin kontenera minimalnie */
  }

  .pricing-table th,
  .pricing-table td {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  /* Opinie i formularze */
  .review-card {
    padding: 20px;
  }

  /* Kalkulator Step 2 i 3 Flex Fix z !important dla flex-direction dla inline flexów */
  #step-2>div:first-child,
  #step-3>div:first-child {
    flex-direction: column !important;
    gap: 20px !important;
  }

  #step-2>div:first-child>div,
  #step-3>div:first-child>div {
    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;
}