/* ==========================================================================
   DEBEM POMPY POLSKA - NOWOCZESNY DESIGN SYSTEM & STYLE CSS
   Jasna kolorystyka, układ pasowy, pełna responsywność i optymalizacja SEO
   ========================================================================== */

:root {
  --brand: #005a9c;
  --brand-hover: #004578;
  --brand-dark: #072e4a;
  --brand-light: #e8f4fc;
  --brand-tint: #f0f7fd;
  
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-light: #fffbeb;
  
  --success: #10b981;
  --info: #0284c7;
  
  --bg-body: #f8fafc;
  --bg-white: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-soft-blue: #f3f8fd;
  --bg-dark: #0b1f30;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --border-light: #e2e8f0;
  --border-brand: #bae6fd;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 36px rgba(7, 46, 74, 0.10);
  --shadow-brand: 0 10px 28px rgba(0, 90, 156, 0.16);
  
  --container-max: 1240px;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
}

/* ============ Reset & Base ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
  color: var(--brand-hover);
}

ul, ol {
  list-style-position: inside;
}

/* ============ Layout ============ */
.container {
  width: min(var(--container-max), 92%);
  margin-left: auto;
  margin-right: auto;
}

/* ============ Topbar ============ */
.topbar {
  background: var(--brand-dark);
  color: #d1e7f6;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  padding: 4px 0;
  gap: 16px;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.topbar-badge::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-contacts a {
  color: #ffffff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.topbar-contacts a:hover {
  color: var(--accent);
}

/* ============ Header & Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--brand-dark);
  text-decoration: none;
}

.brand img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--brand-dark);
}

.brand-text small {
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-drawer-header,
.nav-backdrop {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.nav-list > li > a:hover,
.nav-list > li.active > a {
  color: var(--brand);
  background-color: var(--brand-light);
}

.nav-list .has-mega > a::after,
.nav-list .has-dropdown > a::after {
  content: "▾";
  font-size: 0.72rem;
  opacity: 0.6;
  transition: transform var(--transition-fast);
}

.nav-list .has-mega:hover > a::after,
.nav-list .has-dropdown:hover > a::after {
  transform: rotate(180deg);
}

/* Mega Menu */
.mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 780px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(7, 46, 74, 0.16);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 120;
}

.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-col {
  background: var(--bg-soft-blue);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
}

.mega-col h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-brand);
}

.mega-col ul {
  list-style: none;
}

.mega-col li {
  margin-bottom: 2px;
}

.mega-col a {
  display: block;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.90rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.mega-col a:hover {
  background: var(--bg-white);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}

.mega-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--bg-white) 100%);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-weight: 700;
  color: var(--brand);
  font-size: 0.92rem;
}

.mega-cta:hover {
  background: var(--brand);
  color: var(--bg-white);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 240px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(7, 46, 74, 0.12);
  padding: 10px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: all var(--transition-fast);
  z-index: 120;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.dropdown a:hover {
  background: var(--brand-light);
  color: var(--brand);
}

.btn-nav {
  padding: 10px 20px;
  font-size: 0.90rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--brand);
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.nav-toggle:hover {
  background: var(--brand-light);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 90, 156, 0.22);
  text-decoration: none;
}

.btn:hover {
  background: var(--brand-hover);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 90, 156, 0.30);
}

.btn-accent {
  background: var(--accent);
  color: #1e293b;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.26);
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--brand);
  color: var(--brand);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--brand);
  color: var(--text-white);
  box-shadow: 0 6px 18px rgba(0, 90, 156, 0.22);
}

.btn-white {
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  background: var(--accent);
  color: #1e293b;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.86rem;
}

/* ============ Horizontal Bands (Pasy Strony) ============ */
.band {
  padding: 72px 0;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.band-white {
  background-color: var(--bg-white);
}

.band-alt {
  background-color: var(--bg-alt);
}

.band-blue-soft {
  background-color: var(--bg-soft-blue);
  border-top: 1px solid var(--border-brand);
  border-bottom: 1px solid var(--border-brand);
}

.band-gradient {
  background: linear-gradient(180deg, #f0f7fd 0%, #ffffff 100%);
}

.band-dark {
  background-color: var(--bg-dark);
  color: #e2e8f0;
  border-bottom: 0;
}

.band-header {
  margin-bottom: 40px;
}

.band-header.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

.kicker {
  display: inline-block;
  font-size: 0.80rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--brand);
  background: var(--brand-light);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--border-brand);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 78ch;
}

.band-header.text-center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ============ Hero Section ============ */
.hero {
  background: linear-gradient(135deg, #eaf4fb 0%, #ffffff 50%, #fdf8ee 100%);
  padding: 70px 0 60px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 50%, var(--brand) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #1e293b;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--brand-dark);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

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

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 58ch;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-feature-item::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
}

.hero-media {
  text-align: center;
  position: relative;
}

.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #ffffff;
  padding: 16px;
  border: 1px solid var(--border-light);
  margin: 0 auto;
  max-height: 440px;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.hero-media img:hover {
  transform: scale(1.02);
}

/* ============ Page Hero (Subpages) ============ */
.page-hero {
  background: linear-gradient(135deg, #eef6fc 0%, #ffffff 65%, #f7fafc 100%);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--brand);
  font-weight: 600;
}

.breadcrumb span.sep {
  color: var(--text-light);
}

.page-hero h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 900;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 82ch;
  line-height: 1.6;
}

/* ============ Cards & Grids ============ */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-brand);
}

.card-img-wrap {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.card img {
  max-height: 160px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.card h3 a {
  color: var(--brand-dark);
}

.card h3 a:hover {
  color: var(--brand);
}

.card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-link {
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-atex {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-fda {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.badge-3a {
  background: #e0e7ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}

/* ============ Model Grid & Model Cards ============ */
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.model-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

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

.model-card img {
  max-height: 150px;
  width: auto;
  margin: 0 auto 14px;
  object-fit: contain;
}

.model-card strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 4px;
}

.model-card span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.model-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 10px;
}

.model-tag {
  background: var(--brand-light);
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

/* ============ Technical Specifications Table ============ */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: var(--bg-white);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.specs-table th {
  background: var(--brand-dark);
  color: var(--text-white);
  font-weight: 700;
  padding: 14px 16px;
  white-space: nowrap;
}

.specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  vertical-align: middle;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:nth-child(even) {
  background-color: var(--bg-soft-blue);
}

.specs-table tr:hover {
  background-color: #e2f0fb;
}

/* ============ Feature Lists & Boxes ============ */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  list-style: none;
  margin: 24px 0;
}

.feature-list li {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.info-box {
  background: var(--bg-soft-blue);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}

.info-box h3 {
  color: var(--brand-dark);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* ============ Live Search & Filter Bar ============ */
.search-filter-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.search-input-wrap {
  position: relative;
  margin-bottom: 14px;
}

.search-input-wrap input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  font-size: 1rem;
  background: var(--bg-alt);
  transition: all var(--transition-fast);
}

.search-input-wrap input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.15);
}

.search-input-wrap::before {
  content: "🔍";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  opacity: 0.6;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

/* ============ Interactive Pump Selector / Wizard ============ */
.wizard-box {
  background: var(--bg-white);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  margin: 32px 0;
  position: relative;
}

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.wizard-step-item {
  background: var(--bg-soft-blue);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.wizard-step-item:hover,
.wizard-step-item.selected {
  border-color: var(--brand);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.wizard-step-item h4 {
  color: var(--brand-dark);
  font-size: 1rem;
  margin-bottom: 6px;
}

.wizard-step-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.wizard-result {
  margin-top: 24px;
  padding: 20px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  display: none;
}

.wizard-result.active {
  display: block;
}

/* ============ FAQ Accordion ============ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-dark);
  cursor: pointer;
  user-select: none;
}

.faq-question::after {
  content: "▾";
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
  color: var(--brand);
}

.faq-item.open .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============ Floating Mobile Contact Bar ============ */
.mobile-floating-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(7, 46, 74, 0.98);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-floating-bar a {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  font-size: 0.88rem;
}

/* ============ Contact & Sizing Assistant ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.contact-card h2 {
  font-size: 1.6rem;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background-color: var(--bg-white);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info-list {
  list-style: none;
  margin: 20px 0;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-info-list li:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ============ CTA Band ============ */
.band-cta {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--text-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.band-cta h2 {
  color: var(--text-white);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.band-cta p {
  color: #e0f2fe;
  font-size: 1.15rem;
  max-width: 65ch;
  margin: 0 auto 28px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 48px;
}

.site-footer h4 {
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.site-footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.site-footer p {
  font-size: 0.90rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: #cbd5e1;
  font-size: 0.90rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 24px;
  font-size: 0.84rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ============ Prose & Content formatting ============ */
.prose {
  max-width: 900px;
}

.prose h2 {
  font-size: 1.65rem;
  color: var(--brand-dark);
  margin: 36px 0 14px;
  font-weight: 800;
}

.prose h3 {
  font-size: 1.30rem;
  color: var(--brand-dark);
  margin: 28px 0 10px;
  font-weight: 700;
}

.prose p {
  margin-bottom: 18px;
  color: var(--text-main);
  line-height: 1.7;
}

.prose ul, .prose ol {
  margin: 0 0 20px 24px;
}

.prose li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ============ Responsive Design (Mobile First UX) ============ */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-features-row {
    justify-content: center;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .wizard-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .topbar {
    display: none;
  }
  
  .nav-toggle {
    display: inline-flex;
  }
  
  /* Backdrop overlay */
  .nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(7, 46, 74, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
  }
  
  .nav-backdrop.active,
  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  body.nav-open {
    overflow: hidden;
  }
  
  .nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 16px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 10px;
  }
  
  .nav-drawer-header .brand {
    gap: 10px;
  }
  
  .nav-drawer-header .brand img {
    height: 32px;
  }
  
  .nav-close {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
  }
  
  .nav-close:hover {
    background: var(--brand);
    color: #fff;
  }
  
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    bottom: 0;
    width: min(350px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: var(--bg-white);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s ease;
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 0 30px;
    border-left: 1px solid var(--border-light);
    border-right: none;
    border-bottom: none;
    max-height: none;
    box-shadow: none;
  }
  
  .site-nav.open {
    transform: translateX(0);
    box-shadow: -14px 0 40px rgba(7, 46, 74, 0.25);
    max-height: none;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px;
    gap: 6px;
  }
  
  .nav-list > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-size: 1.02rem;
    border-radius: var(--radius-sm);
  }
  
  .mega,
  .has-mega:hover .mega,
  .has-mega:focus-within .mega,
  .dropdown,
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: none !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-md) !important;
    padding: 10px !important;
    display: none !important;
    background: var(--bg-soft-blue) !important;
    margin: 8px 0 0 0 !important;
    box-sizing: border-box !important;
  }
  
  .has-mega.open .mega,
  .has-dropdown.open .dropdown {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .mega-col {
    background: var(--bg-white) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mega-col h3 {
    font-size: 0.76rem !important;
    margin-bottom: 6px !important;
    padding-bottom: 4px !important;
    border-bottom: 1px solid var(--border-brand) !important;
  }

  .mega-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .mega-col li {
    margin-bottom: 2px !important;
  }

  .mega-col a {
    display: block !important;
    padding: 6px 8px !important;
    font-size: 0.86rem !important;
    border-radius: 6px !important;
    transform: none !important;
    color: var(--text-main) !important;
  }

  .mega-col a:hover {
    transform: none !important;
    background: var(--brand-light) !important;
    color: var(--brand) !important;
  }

  .mega-cta {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 10px 12px !important;
    font-size: 0.82rem !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: var(--radius-sm) !important;
  }
  
  .btn-nav {
    margin: 10px 16px 20px;
    text-align: center;
  }

  .mobile-floating-bar {
    display: flex;
  }
  
  body {
    padding-bottom: 60px;
  }
}

/* ============ Kafelki Produktów (Models Grid / Tiles) ============ */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.model-card {
  background: var(--bg-white, #ffffff);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-normal, 0.25s ease), box-shadow var(--transition-normal, 0.25s ease), border-color var(--transition-normal, 0.25s ease);
  position: relative;
  text-align: left;
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 48, 87, 0.12);
  border-color: var(--brand, #005a9c);
}

.model-card-img-wrap {
  background: #f8fafc;
  border-radius: var(--radius-md, 12px);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  margin-bottom: 16px;
  border: 1px solid #f1f5f9;
}

.model-card img,
.model-card-img-wrap img {
  max-height: 150px;
  width: 100%;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  transition: transform var(--transition-normal, 0.25s ease);
}

.model-card:hover img {
  transform: scale(1.04);
}

.model-card strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand, #003057);
  margin-top: 8px;
  margin-bottom: 4px;
  display: block;
}

.model-card span.model-series,
.model-card > span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: block;
}

.model-card p {
  font-size: 0.90rem;
  line-height: 1.55;
  color: var(--text-main, #334155);
  margin-bottom: 14px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.model-tag {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.model-card-actions {
  margin-top: auto;
  padding-top: 10px;
}

.model-card-actions .btn,
.model-card .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .band {
    padding: 50px 0;
  }
  
  .hero {
    padding: 50px 0 40px;
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .feature-list {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
