/* ==========================================================================
   MDM Garage (Zabrze) — Obsidian Concrete Black & Metallic Gold Engine
   ========================================================================== */
:root {
  --bg-body: #08090c;
  --bg-surface: #0f1116;
  --bg-elevated: #151921;
  --bg-input: #0b0d12;
  --bg-card-hover: #1d222d;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(229, 173, 59, 0.48);
  --text-primary: #f6f7f9;
  --text-secondary: #bcc3cf;
  --text-muted: #848e9e;
  --accent: #e5ad3b;
  --accent-hover: #f5c451;
  --accent-ink: #0a0b0d;
  --accent-soft: rgba(229, 173, 59, 0.16);
  --xenon-glow: rgba(56, 189, 248, 0.14);
  --ok: #4ade80;
  --ok-bg: rgba(74, 222, 128, 0.14);
  --ok-border: rgba(74, 222, 128, 0.34);
  --danger: #fca5a5;
  --danger-bg: rgba(239, 68, 68, 0.14);
  --danger-border: rgba(239, 68, 68, 0.36);
  --nav-bg: rgba(8, 9, 12, 0.94);

  --font-display: 'Barlow Condensed', 'Inter', system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-card: 0 18px 42px rgba(0, 0, 0, 0.28);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   BUTTONS (Cut-Corner Tipa Accent CTA + Outlined Secondary)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  border-radius: 6px;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 10px 26px var(--accent-soft);
}

.btn-outline {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.btn-sm {
  padding: 9px 14px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 15px 24px;
  font-size: 0.96rem;
}

/* ==========================================================================
   HEADER & MEGA DROPDOWN NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.48rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.brand-emblem {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  box-shadow: 0 0 16px rgba(229, 173, 59, 0.32);
  flex-shrink: 0;
}

.brand-accent-letter {
  color: var(--accent);
}

.brand-sub-pill {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 3px 7px;
  border-radius: 5px;
}

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

.nav-item {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.nav-trigger:hover,
.nav-item.is-open > .nav-trigger,
.nav-trigger.is-active {
  color: var(--text-primary);
  background: var(--accent-soft);
}

.nav-chevron {
  width: 12px;
  height: 12px;
  opacity: 0.7;
  transition: transform 0.18s ease;
}

.nav-item.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  max-width: 340px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 95;
}

.nav-item:hover > .nav-dropdown,
.nav-item.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-drop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 6px;
}

.nav-drop-head strong {
  font-family: var(--font-display);
  font-size: 0.96rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-drop-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  color: var(--text-primary);
  transition: background-color 0.14s ease;
}

.nav-drop-link:hover {
  background: var(--bg-card-hover);
  color: var(--accent);
}

.nav-drop-price {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
}

html.drawer-open,
body.drawer-open {
  overflow: hidden;
}

html.drawer-open .site-header,
body.drawer-open .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 150;
}

/* Mobile Drawer (mounted on body outside sticky header to avoid backdrop-filter clipping) */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100dvh - 70px);
  width: 100%;
  background: var(--bg-body);
  z-index: 140;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 20px 96px;
  border-top: 1px solid var(--border-subtle);
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-acc-group {
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
}

.mobile-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.98rem;
  text-align: left;
  cursor: pointer;
}

.mobile-acc-panel {
  display: none;
  padding: 4px 0 10px 10px;
}

.mobile-acc-group.is-open .mobile-acc-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-sub-link {
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  background: var(--bg-surface);
}

/* ==========================================================================
   EYEBROWS, SECTION HEADINGS & BREADCRUMB
   ========================================================================== */
.eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.eyebrow-line {
  width: 24px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section-index-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.sec-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.display-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.2vw, 4.1rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.display-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.04;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.lead-copy {
  font-size: 1.03rem;
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0;
}

.section {
  padding: clamp(50px, 6.5vw, 88px) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-alt {
  background: var(--bg-surface);
}

.breadcrumb-bar {
  padding: 14px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumb-bar a:hover {
  color: var(--accent);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(38px, 5.5vw, 72px) 0;
  border-bottom: 1px solid var(--border-subtle);
  background:
    radial-gradient(circle at 82% 20%, var(--accent-soft), transparent 48%),
    radial-gradient(circle at 76% 82%, var(--xenon-glow, rgba(56, 189, 248, 0.12)), transparent 42%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 40px;
  align-items: center;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 22px;
}

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

.hero-pill {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #060709;
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.72), 0 0 38px rgba(229, 173, 59, 0.14);
  width: 100%;
  max-width: 390px;
  aspect-ratio: 682 / 1024;
  justify-self: center;
}

.hero-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-card-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: rgba(8, 9, 12, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hover);
  text-align: center;
}

/* ==========================================================================
   GOOGLE REVIEWS BAR
   ========================================================================== */
.reviews-strip {
  padding: 34px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.rating-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.rating-score {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}

.rating-stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 1rem;
  margin: 6px 0;
}

.reviews-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.review-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.review-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

/* ==========================================================================
   UPGRADE 1: INTERACTIVE BEFORE / AFTER COMPARISON SLIDER
   ========================================================================== */
.ba-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: center;
}

.ba-slider-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  user-select: none;
  touch-action: pan-y;
  box-shadow: var(--shadow-card);
  cursor: ew-resize;
}

.ba-img-base,
.ba-img-top {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-after-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 50%);
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.ba-pill {
  position: absolute;
  top: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(16, 12, 20, 0.82);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.ba-pill-left { left: 12px; }
.ba-pill-right { right: 12px; background: var(--accent); color: var(--accent-ink); border-color: transparent; }

/* ==========================================================================
   01 DEPARTMENTS & 02 POPULAR SERVICES GRIDS
   ========================================================================== */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.dept-card {
  position: relative;
  grid-column: span 2;
  min-height: 270px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dept-card.is-featured {
  grid-column: span 3;
  min-height: 290px;
}

.dept-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.dept-card.is-wide {
  grid-column: 1 / -1;
  min-height: 210px;
}

.door-banner {
  margin-top: 26px;
  background: linear-gradient(135deg, rgba(229, 173, 59, 0.14), rgba(15, 17, 22, 0.96) 55%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.door-banner h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: var(--accent-hover);
}

.door-banner p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 64ch;
}

.dept-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transition: transform 0.45s ease, opacity 0.25s ease;
}

.dept-card:hover .dept-bg {
  transform: scale(1.04);
  opacity: 0.56;
}

.dept-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 12, 20, 0.28) 0%, rgba(16, 12, 20, 0.92) 85%);
}

.dept-content {
  position: relative;
  z-index: 2;
  color: #f7f3f6;
}

.dept-accent-line {
  width: 26px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 10px;
}

.dept-card h3 {
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: #ffffff;
}

.dept-card p {
  font-size: 0.87rem;
  color: #d6ccd3;
  margin: 0 0 14px;
  line-height: 1.5;
  max-width: 68ch;
}

.dept-cta {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-hover);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.srv-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.srv-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.srv-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-elevated);
}

.srv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.srv-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.srv-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.srv-icon-badge {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.srv-card h3 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.12;
  margin: 0;
}

.srv-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.srv-price-foot {
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.srv-price-main {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--text-primary);
}

.srv-price-note {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
}

/* ==========================================================================
   03 WHY US & AREA PILLS
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.why-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--accent);
}

.why-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   UPGRADE 2: LIVE PER-CAR-TYPE CONFIGURATOR / ESTIMATOR
   ========================================================================== */
.calc-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.size-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.size-pill {
  padding: 11px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.size-pill.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text-primary);
}

.calc-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.calc-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.calc-check-item.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.calc-check-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.calc-check-left input {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.calc-check-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.calc-check-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.calc-check-price {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--accent);
  white-space: nowrap;
}

.calc-summary {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.calc-total-num {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

/* ==========================================================================
   04 DOJAZD & LAZY MAP
   ========================================================================== */
.map-shell {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  min-height: 310px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 18px;
}

.map-poster {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 48%, var(--accent-soft) 0%, transparent 45%),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(var(--border-subtle) 1px, transparent 1px);
  background-size: 100% 100%, 42px 42px, 42px 42px;
}

.map-iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

.map-actions {
  position: relative;
  z-index: 2;
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dir-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.dir-card strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.dir-card p {
  margin: 0;
  font-size: 0.83rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CALLBACK FORM SECTION ("ZOSTAW NUMER") & FOOTER
   ========================================================================== */
.cta-center-box {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.form-panel {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.field-input {
  width: 100%;
  padding: 12px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-primary);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.16s ease;
}

.field-input:focus {
  border-color: var(--accent);
}

.field-input option {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.site-footer {
  padding: 50px 0 32px;
  background: var(--bg-body);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}

.footer-col-title {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.87rem;
  color: var(--text-secondary);
}

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

.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.area-pill {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PRICING PAGE TABLES & SERVICE SUBPAGE BLOCKS
   ========================================================================== */
.pricing-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cat-chip {
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.cat-chip.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.pricing-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.pricing-table th,
.pricing-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  font-size: 0.88rem;
}

.pricing-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg-elevated);
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.step-num-pill {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

/* ==========================================================================
   TOAST & BOTTOM-RIGHT THEME SWITCHER FAB
   ========================================================================== */
.toast {
  position: fixed;
  left: 18px;
  bottom: 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  font-size: 0.88rem;
  z-index: 200;
  display: none;
  max-width: calc(100vw - 230px);
}

.theme-fab-wrap {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 190;
}

.theme-fab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.theme-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.theme-popover {
  display: none;
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(310px, calc(100vw - 28px));
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-card);
}

.theme-popover.is-open {
  display: block;
}

.theme-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.theme-swatch {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.74rem;
  cursor: pointer;
  text-align: left;
  min-width: 0;
}

.theme-swatch.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.theme-swatch-color {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.theme-swatch-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (1100px, 900px, 640px, 360px)
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-menu {
    display: none;
  }
  .nav-burger {
    display: inline-flex;
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .why-grid,
  .directions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .ba-grid,
  .reviews-layout,
  .calc-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .dept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dept-card,
  .dept-card.is-featured {
    grid-column: auto;
  }
  .dept-card.is-wide {
    grid-column: 1 / -1;
  }
  .reviews-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .nav-actions .btn {
    display: none;
  }
  .dept-grid,
  .services-grid,
  .why-grid,
  .directions-grid,
  .calc-checks,
  .form-grid-2,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .dept-card,
  .dept-card.is-featured,
  .dept-card.is-wide {
    grid-column: auto;
  }
  .hero-visual-card {
    max-width: 320px;
  }
  .size-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calc-shell,
  .form-panel {
    padding: 18px;
  }
  .hero-ctas .btn {
    width: 100%;
    white-space: normal;
  }
  .toast {
    bottom: 72px;
    left: 14px;
    right: 14px;
    max-width: calc(100vw - 28px);
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }
  .size-pills {
    grid-template-columns: 1fr;
  }
  .btn {
    white-space: normal;
    text-align: center;
  }
}
