/* ===================================
   POLECA.TO - Design System
   =================================== */

/* === ZMIENNE CSS === */
:root {
  /* Kolory */
  --primary-color: #FF6B00;
  --secondary-color: #666666;
  --success-color: #27AE60;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --border-color: #E0E0E0;

  /* Typografia */
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Roboto', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);

  /* Container */
  --container-max-width: 1200px;
}

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #e55f00;
}

/* === TYPOGRAFIA === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
}

p {
  margin-bottom: var(--spacing-sm);
}

strong {
  font-weight: 600;
  color: var(--text-dark);
}

/* === LAYOUT === */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xxl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-medium);
  margin-top: var(--spacing-sm);
}

/* === GRID SYSTEM === */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* === PRZYCISKI === */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #e55f00;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

#show-more-btn {
  display: block;
  margin: 0 auto;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* === KARTY === */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-header {
  margin-bottom: var(--spacing-md);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
}


/* === SEARCH INPUT === */
.search-input {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: var(--spacing-md);
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  outline: none;
  transition: border-color 0.3s ease;
  display: block;
}

.search-input:focus {
  border-color: var(--primary-color);
}

/* === STICKY SEARCH BAR (Mobile-first - Faza C) === */
.sticky-search-wrapper {
  position: relative;
  z-index: 100;
  transition: all 0.3s ease;
}

.sticky-search-wrapper.is-sticky {
  position: fixed;
  top: 70px; /* Poniżej headera */
  left: 0;
  right: 0;
  background: var(--white);
  padding: var(--spacing-sm) var(--spacing-md);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.sticky-search-wrapper.is-sticky .search-input-sticky {
  max-width: 100%;
  margin: 0;
  border-radius: var(--radius-md);
}

/* Placeholder dla sticky search (żeby nie było skoku layoutu) */
.section-powiaty.has-sticky-search {
  padding-top: 80px;
}



/* === BREADCRUMBS (Faza D: SEO) === */
.breadcrumbs {
  background: var(--light-gray);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: var(--spacing-xs);
  color: var(--text-light);
}

.breadcrumbs a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: #e55f00;
  text-decoration: underline;
}

.breadcrumbs li:last-child a {
  color: var(--text-medium);
  cursor: default;
}

.breadcrumbs li:last-child a:hover {
  color: var(--text-medium);
  text-decoration: none;
}

@media (max-width: 768px) {
  .breadcrumbs {
    padding: var(--spacing-xs) 0;
    font-size: 0.85rem;
  }

  .breadcrumbs ol {
    gap: 0.25rem;
  }

  .breadcrumbs li:not(:last-child)::after {
    margin-left: 0.25rem;
  }
}


/* === HEADER & NAVIGATION === */
.site-header,
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar,
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8C42 100%);
  color: var(--white);
  padding: var(--spacing-xxl) 0;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
}

.hero-search {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: var(--spacing-sm);
  background: var(--white);
  padding: var(--spacing-xs);
  border-radius: var(--radius-lg);
}

.hero-search input {
  flex: 1;
  border: none;
  padding: var(--spacing-sm);
  font-size: 1rem;
  outline: none;
}

.hero-search button {
  padding: var(--spacing-sm) var(--spacing-lg);
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
}

/* === NOWY HERO (Faza B) === */
.hero-new {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8C42 100%);
  padding: 4rem 0 3rem;
}

.hero-headline {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-subheadline {
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  font-weight: 400;
}

/* Hero Search Box */
.hero-search-wrapper {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.hero-search-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 50px;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s ease;
}

.hero-search-box:focus-within {
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.hero-search-icon {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-right: 0.75rem;
}

.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.1rem;
  padding: 0.75rem 0;
  color: var(--text-dark);
}

.hero-search-input::placeholder {
  color: var(--text-light);
}

.hero-search-btn {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.hero-search-btn:hover {
  background: #E55F00;
  transform: scale(1.05);
}

/* Hero Autocomplete Dropdown */
.hero-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  max-height: 300px;
  overflow-y: auto;
  z-index: 100;
}

.hero-autocomplete-item {
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s ease;
}

.hero-autocomplete-item:last-child {
  border-bottom: none;
}

.hero-autocomplete-item:hover {
  background: #FFF5ED;
}

.hero-autocomplete-item strong {
  color: var(--primary-color);
  font-weight: 600;
}

.hero-autocomplete-item .autocomplete-sub {
  display: block;
  font-size: 0.85rem;
  color: var(--text-medium);
  margin-top: 0.25rem;
}

/* Hero Stats (Social Proof) */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hero-stat-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Hero CTA Section */
.hero-cta-section {
  margin-top: 2.5rem;
}

.hero-cta-text {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.btn-cta {
  background: #FFFFFF;
  color: var(--primary-color);
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: #FFF5ED;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.btn-cta i {
  font-size: 1.2rem;
}

/* === CATEGORIES GRID (Mobile-first - Faza C) === */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--spacing-md);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  min-height: 140px;
  justify-content: center;
}

.category-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.category-item:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.category-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.category-item h3 {
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
}

.category-item span {
  font-size: 0.875rem;
  color: var(--text-medium);
}

/* Ukrywanie elementów */
.category-item.hidden {
  display: none;
}

/* Touch-friendly na mobile */
@media (max-width: 768px) {
  .category-item {
    min-height: 120px;
    padding: var(--spacing-md) var(--spacing-sm);
    /* Większy obszar kliknięcia na mobile */
    -webkit-tap-highlight-color: rgba(255, 107, 0, 0.1);
  }

  .category-item i {
    font-size: 2rem;
  }

  .category-item h3 {
    font-size: 0.95rem;
  }
}


/* === POWIATY GRID (Mobile-first - Faza C) === */
.powiaty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.powiat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--spacing-md);
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-dark);
  min-height: 130px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.powiat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.powiat-card:hover::before {
  transform: scaleX(1);
}

.powiat-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.powiat-card:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.powiat-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  transition: transform 0.3s ease;
}

.powiat-card:hover i {
  transform: scale(1.1);
}

.powiat-card h3 {
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  line-height: 1.3;
}

.powiat-card span {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.powiat-card:hover span {
  opacity: 1;
}

/* Mobile - większe karty, łatwiejsze klikanie */
@media (max-width: 768px) {
  .powiaty-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--spacing-sm);
  }

  .powiat-card {
    min-height: 110px;
    padding: var(--spacing-sm);
    /* Touch-friendly */
    -webkit-tap-highlight-color: rgba(255, 107, 0, 0.1);
  }

  .powiat-card i {
    font-size: 1.75rem;
  }

  .powiat-card h3 {
    font-size: 0.9rem;
  }

  .powiat-card span {
    font-size: 0.8rem;
  }
}


/* === POLAND MAP SECTION (Mobile-first - Faza C) === */
.map-section {
  margin-top: var(--spacing-xl);
}

.map-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.poland-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

.voivode {
  fill: #F3F4F6;
  stroke: #D1D5DB;
  cursor: pointer;
  transition: fill 0.2s ease, transform 0.2s ease;
  /* Touch-friendly na mobile */
  -webkit-tap-highlight-color: rgba(255, 107, 0, 0.1);
}

.voivode:hover,
.voivode.is-active {
  fill: #FFEDD5;
  stroke: var(--primary-color);
  stroke-width: 2;
}

.map-tooltip {
  position: absolute;
  pointer-events: none;
  background: #111827;
  color: #fff;
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transform: translate(-50%, -120%);
  white-space: nowrap;
  z-index: 10;
}

.map-help-text {
  margin-top: var(--spacing-sm);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.5;
}

.map-toggle-btn {
  margin-top: var(--spacing-md);
  display: block;
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile - mapa jako modal/bottom sheet */
@media (max-width: 768px) {
  .map-section {
    margin-top: var(--spacing-md);
  }

  .map-container {
    padding: var(--spacing-sm);
    max-width: 100%;
  }

  .map-help-text {
    font-size: 0.85rem;
  }

  .map-tooltip {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
  }
}

/* Autouzupełnianie powiatów */
.autocomplete-dropdown {
  max-width: 600px;
  margin: 0.25rem auto 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.autocomplete-item {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item strong {
  color: var(--primary-color);
}

.autocomplete-item span.autocomplete-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--text-medium);
}

/* === COUNTIES PANEL (Faza A: Mapa Polski) === */
.counties-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
}

.counties-panel.is-visible {
  display: flex;
}

.counties-panel-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.counties-panel-header {
  padding: var(--spacing-lg);
  border-bottom: 2px solid var(--border-color);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.counties-panel-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.counties-panel-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.counties-panel-close:hover {
  background: var(--light-gray);
  color: var(--primary-color);
}

.counties-list {
  padding: var(--spacing-lg);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--spacing-sm);
}

.county-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--light-gray);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s ease;
}

.county-link:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.county-link i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.county-link:hover i {
  color: var(--white);
}

/* Map tooltip */
#map-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  pointer-events: none;
  z-index: 1000;
  display: none;
  white-space: nowrap;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .counties-panel-content {
    max-height: 90vh;
    margin: var(--spacing-sm);
  }

  .counties-panel-header {
    padding: var(--spacing-md);
  }

  .counties-panel-title {
    font-size: 1.2rem;
  }

  .counties-list {
    grid-template-columns: 1fr;
    padding: var(--spacing-md);
  }

  .county-link {
    padding: var(--spacing-md);
    font-size: 1rem;
  }
}

/* === FOOTER === */
.site-footer,
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h3,
.footer-section h4 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.footer-section p {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--spacing-xs);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-section a {
  color: rgba(255,255,255,0.8);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}

/* === BENEFITS GRID (DLA FIRM) === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.benefit i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.benefit h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.benefit p {
  color: var(--text-medium);
  line-height: 1.6;
}

.pricing-box {
  background: white;
  color: var(--text-dark);
  padding: 3rem;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* === CONTACT FORM (DLA FIRM) === */
.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.contact-form-box {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.contact-input:focus {
  border-color: #FF6B00;
  outline: none;
}

.contact-info {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* === RESPONSIVE === */
/* === MOBILE-FIRST RESPONSIVE (Faza C) === */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }

  .hero-search {
    flex-direction: column;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--spacing-sm);
  }

  .nav-menu {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  /* Nowy Hero - responsywność */
  .hero-headline {
    font-size: 1.75rem;
  }

  .hero-subheadline {
    font-size: 1.1rem;
  }

  .hero-search-box {
    flex-direction: column;
    padding: 1rem;
    border-radius: var(--radius-lg);
  }

  .hero-search-input {
    width: 100%;
    padding: 0.75rem 0;
    text-align: center;
  }

  .hero-search-btn {
    width: 100%;
    margin-top: 0.75rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stat-number {
    font-size: 2rem;
  }

  .hero-stat-label {
    font-size: 0.9rem;
  }

  .btn-cta {
    font-size: 1rem;
    padding: 0.85rem 2rem;
  }

  /* Sticky search na mobile */
  .sticky-search-wrapper.is-sticky {
    top: 60px;
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  /* Przyciski touch-friendly */
  .btn {
    min-height: 48px;
    font-size: 1rem;
  }

  .btn-large {
    min-height: 56px;
    padding: 1rem 2rem;
  }

  /* Mapa na mobile - mniejsza */
  .map-container {
    padding: var(--spacing-sm);
  }

  .map-toggle-btn {
    width: 100%;
    margin-top: var(--spacing-md);
  }

  /* Section padding na mobile */
  .section {
    padding: var(--spacing-lg) 0;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }
}

/* ===================================
   PWA INSTALLATION STYLES
   =================================== */

/* Przycisk instalacji aplikacji */
.install-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: white;
  color: var(--primary-color);
  border: 2px solid white;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
  margin-top: 16px;
  text-decoration: none;
}

.install-button:hover {
  background-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.install-button:active {
  transform: translateY(0);
}

/* Ikona w przycisku */
.install-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.install-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--primary-color);
}

.install-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--primary-color);
}





/* Media queries dla mobile */
@media (max-width: 768px) {
  .install-button {
    font-size: 13px;
    padding: 9px 18px;
  }

  .install-icon {
    width: 16px;
    height: 16px;
  }
}

