/* =========================================================
   GARAZMARKET — Main CSS
   Paleta: niebieski zaufania (#1D4ED8) + amber (#F59E0B)
   ========================================================= */

/* ── CSS Custom Properties ── */
:root {
  /* Blues */
  --blue-950: #0A1628;
  --blue-900: #0F172A;
  --blue-800: #1E3A5F;
  --blue-700: #1D4ED8;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --blue-300: #93C5FD;
  --blue-100: #DBEAFE;
  --blue-50:  #EFF6FF;

  /* Amber (CTA accent) */
  --amber:      #F59E0B;
  --amber-dark: #D97706;
  --amber-light:#FDE68A;

  /* Neutrals */
  --white:    #FFFFFF;
  --gray-50:  #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --container-narrow: 760px;
  --container-px: clamp(1rem, 4vw, 2rem);

  /* Spacing */
  --section-py: clamp(4rem, 8vw, 7rem);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
  --shadow-blue: 0 8px 32px rgba(29,78,216,.28);
  --shadow-amber:0 8px 32px rgba(245,158,11,.35);

  /* Transitions */
  --ease: 0.22s ease-out;
  --ease-fast: 0.14s ease-out;

  /* Header height */
  --header-h: 72px;
}

/* ── Reset ── */
*, *::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: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.025em;
  color: var(--gray-900);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: -0.015em; }
h4 { font-size: 1.1rem; }

p { color: var(--gray-600); line-height: 1.7; }
p + p { margin-top: .9rem; }

em { font-style: italic; }
strong { font-weight: 700; color: var(--gray-800); }

/* ── Layout ── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section {
  padding-block: var(--section-py);
}
.section--gray        { background: var(--gray-50); }
.section--blue-light  { background: var(--blue-50); }
.section--blue-dark   { background: var(--blue-900); }
.section--blue-gradient {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 60%, var(--blue-700) 100%);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1;
  transition: all var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { flex-shrink: 0; }
.btn--lg { padding: .9rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

/* CTA — amber */
.btn--cta {
  background: var(--amber);
  color: var(--gray-900);
  border-color: var(--amber);
  box-shadow: var(--shadow-amber);
}
.btn--cta:hover { background: var(--amber-dark); border-color: var(--amber-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(245,158,11,.45); }
.btn--cta:active { transform: translateY(0); }

/* Primary — blue */
.btn--primary {
  background: var(--blue-700);
  color: var(--white);
  border-color: var(--blue-700);
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover { background: var(--blue-800); border-color: var(--blue-800); transform: translateY(-2px); }

/* Outline — blue */
.btn--outline {
  background: transparent;
  color: var(--blue-700);
  border-color: var(--blue-700);
}
.btn--outline:hover { background: var(--blue-50); transform: translateY(-2px); }

/* Outline white */
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }

/* ── Section header ── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header p { max-width: 580px; margin: .9rem auto 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .9rem;
  border-radius: var(--r-full);
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 700;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 1rem;
}
.section-label--light {
  background: rgba(255,255,255,.15);
  color: var(--blue-300);
}


/* ═══════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
  transition: box-shadow var(--ease);
  height: var(--header-h);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.header-logo__mark {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--blue-700);
  color: var(--white);
  font-weight: 900;
  font-size: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -.02em;
}
.header-logo__text { display: flex; flex-direction: column; }
.header-logo__name { font-size: 1rem; font-weight: 900; color: var(--gray-900); line-height: 1.1; letter-spacing: -.03em; }
.header-logo__sub  { font-size: .6875rem; color: var(--gray-500); font-weight: 500; margin-top: 1px; }

/* Trust badges */
.header-trust {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-inline: auto;
}
.header-trust span {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--gray-600);
}
.header-trust svg { color: var(--blue-600); flex-shrink: 0; }

/* Phone + CTA */
.header-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

.header-phone {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--gray-800);
  font-weight: 700;
}
.header-phone svg { color: var(--blue-600); }
.header-phone em { display: block; font-style: normal; font-size: .7rem; font-weight: 500; color: var(--gray-500); line-height: 1; }
.header-phone span { line-height: 1.2; font-size: .9375rem; }

.header-cta { font-size: .875rem; padding: .6rem 1.2rem; }

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gray-700);
  padding: .4rem;
  margin-left: auto;
}
.nav-toggle__close { display: none; }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}
.mobile-menu.open { display: block; }
.mobile-menu__inner {
  padding: 1.25rem var(--container-px);
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.mobile-menu__inner a {
  padding: .7rem 1rem;
  border-radius: var(--r-md);
  font-weight: 600;
  color: var(--gray-700);
  transition: background var(--ease-fast);
}
.mobile-menu__inner a:hover { background: var(--blue-50); color: var(--blue-700); }
.mobile-phone {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--blue-700) !important;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .header-trust { display: none; }
  .nav-toggle { display: flex; }
  .header-phone em { display: none; }
  .header-phone span { font-size: .875rem; }
}
@media (max-width: 640px) {
  .header-phone { display: none; }
  .header-cta { display: none; }
}


/* ═══════════════════════════════════════════════════
   HERO SLIDER
════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: min(95vh, 820px);   /* height (nie min-height) żeby absolute dzieci wiedziały swój rozmiar */
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slider wrapper */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Slajdy */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  will-change: opacity;
  overflow: hidden;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

/* Overlay gradient */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    115deg,
    rgba(9,25,60,.88) 0%,
    rgba(15,40,90,.80) 40%,
    rgba(29,78,216,.50) 80%,
    rgba(29,78,216,.30) 100%
  );
  pointer-events: none;
}

/* Strzałki */
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
  backdrop-filter: blur(4px);
}
.hero-slider__arrow:hover {
  background: rgba(255,255,255,.28);
  transform: translateY(-50%) scale(1.08);
}
.hero-slider__arrow--prev { left: 1.25rem; }
.hero-slider__arrow--next { right: 1.25rem; }

/* Dots */
.hero-slider__dots {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: .5rem;
}
.hero-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  transition: all var(--ease);
  padding: 0;
}
.hero-slider__dot.active {
  background: var(--amber);
  width: 24px;
  border-radius: 4px;
}

/* Label realizacji */
.hero-slider__label {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,.8);
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .85rem;
  border-radius: var(--r-full);
  white-space: nowrap;
  letter-spacing: .04em;
  transition: opacity var(--ease);
}

.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  padding-block: calc(var(--header-h) + 3rem) 4rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem 1rem;
  border-radius: var(--r-full);
  background: rgba(245,158,11,.18);
  border: 1px solid rgba(245,158,11,.4);
  color: var(--amber-light);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero__badge svg { color: var(--amber); }

.hero__title {
  color: var(--white);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin-bottom: 1.25rem;
}
.hero__title-accent {
  background: linear-gradient(90deg, var(--amber) 0%, #FBBF24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-bottom: 2.5rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.78);
  font-size: .875rem;
  font-weight: 500;
}
.hero__trust-item svg { color: var(--amber); flex-shrink: 0; }

/* Floating card */
.hero__card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  width: 300px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3), 0 4px 12px rgba(0,0,0,.15);
  flex-shrink: 0;
}
.hero__card-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue-600);
  margin-bottom: .5rem;
}
.hero__card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.hero__card-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: 1.5rem;
}
.hero__card-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
}
.hero__card-list svg { color: var(--blue-600); flex-shrink: 0; }
.hero__card-note {
  text-align: center;
  font-size: .8rem;
  color: var(--gray-500);
  margin-top: .9rem;
}
.hero__card-note strong { color: var(--blue-700); }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 1;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 900px) {
  .hero__container { grid-template-columns: 1fr; }
  .hero__card { display: none; }
}
@media (max-width: 600px) {
  .hero { min-height: 100svh; }
  .hero__title { font-size: 2.4rem; }
}


/* ═══════════════════════════════════════════════════
   STATS BAR
════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--blue-900);
  padding-block: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .2rem;
  padding: .5rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stats-bar__item:last-child { border-right: none; }
.stats-bar__item strong {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  color: var(--amber);
  letter-spacing: -.03em;
  line-height: 1;
}
.stats-bar__item span {
  font-size: .75rem;
  color: var(--gray-400);
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .stats-bar__grid { grid-template-columns: repeat(3, 1fr); }
  .stats-bar__item:nth-child(3) { border-right: none; }
  .stats-bar__item:nth-child(4) { border-right: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 480px) {
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__item:nth-child(2) { border-right: none; }
  .stats-bar__item:nth-child(4) { border-right: none; }
}


/* ═══════════════════════════════════════════════════
   BENEFITS GRID
════════════════════════════════════════════════════ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  transition: all var(--ease);
}
.benefit-card:hover {
  border-color: var(--blue-300);
  box-shadow: 0 8px 32px rgba(29,78,216,.12);
  transform: translateY(-4px);
}

.benefit-card--featured {
  background: linear-gradient(145deg, var(--blue-700) 0%, var(--blue-800) 100%);
  border-color: var(--blue-600);
  color: var(--white);
  grid-column: span 1;
}
.benefit-card--featured h3 { color: var(--white); }
.benefit-card--featured p  { color: rgba(255,255,255,.8); }

.benefit-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.benefit-card--featured .benefit-card__icon {
  background: rgba(255,255,255,.15);
  color: var(--amber);
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: .6rem;
  color: var(--gray-900);
}
.benefit-card p { font-size: .9375rem; }

.benefit-card__list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.benefit-card__list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
.benefit-card__list svg { color: var(--amber); flex-shrink: 0; }

@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-card--featured { grid-column: span 2; }
}
@media (max-width: 540px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card--featured { grid-column: span 1; }
}


/* ═══════════════════════════════════════════════════
   TECH SPLIT
════════════════════════════════════════════════════ */
.tech-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.tech-split__content h2 { margin-bottom: 1rem; }
.tech-split__content > p { margin-bottom: 2rem; }

.tech-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.tech-spec {
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-md);
  padding: 1.25rem 1rem;
  box-shadow: var(--shadow-sm);
}
.tech-spec__value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--blue-700);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: .35rem;
}
.tech-spec__label {
  font-size: .8rem;
  color: var(--gray-500);
  font-weight: 500;
  line-height: 1.35;
}

.tech-split__img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.tech-split__img-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.tech-split__badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: .9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: var(--shadow-md);
}
.tech-split__badge svg { color: var(--blue-700); flex-shrink: 0; width: 22px; height: 22px; }
.tech-split__badge strong { display: block; font-size: .9375rem; color: var(--gray-900); }
.tech-split__badge span   { font-size: .8125rem; color: var(--gray-500); }

@media (max-width: 860px) {
  .tech-split { grid-template-columns: 1fr; }
  .tech-split__visual { order: -1; }
  .tech-split__img-wrap img { height: 320px; }
}


/* ═══════════════════════════════════════════════════
   GALLERY
════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: var(--white);
  font-size: .8125rem;
  font-weight: 600;
  padding: 1.5rem .875rem .75rem;
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════
   CTA SECTION (kalkulator)
════════════════════════════════════════════════════ */
.cta-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.cta-section__content h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section__content > p { color: var(--gray-400); margin-bottom: 1.75rem; }

.cta-section__list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.cta-section__list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9375rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}
.cta-section__list svg { color: var(--amber); flex-shrink: 0; }

.cta-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  width: 340px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.cta-box__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--r-lg);
  background: var(--amber);
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-amber);
}
.cta-box h3 { color: var(--white); margin-bottom: .75rem; font-size: 1.35rem; }
.cta-box p  { color: var(--gray-400); font-size: .875rem; margin-bottom: 1.5rem; }
.cta-box__divider {
  text-align: center;
  color: var(--gray-500);
  font-size: .8125rem;
  margin-block: 1rem;
  position: relative;
}
.cta-box__divider::before, .cta-box__divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 1.5rem);
  height: 1px;
  background: rgba(255,255,255,.1);
}
.cta-box__divider::before { left: 0; }
.cta-box__divider::after  { right: 0; }
.cta-box__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  margin-top: 1rem;
  font-size: .8rem;
  color: var(--gray-500);
}
.cta-box__note svg { flex-shrink: 0; }

@media (max-width: 900px) {
  .cta-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-box { width: 100%; max-width: 400px; margin-inline: auto; }
}


/* ═══════════════════════════════════════════════════
   STEPS
════════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue-200), var(--blue-400), var(--blue-200));
  z-index: 0;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all var(--ease);
}
.step-card:hover {
  border-color: var(--blue-300);
  box-shadow: 0 8px 28px rgba(29,78,216,.12);
  transform: translateY(-4px);
}

.step-card__num {
  font-size: .75rem;
  font-weight: 900;
  color: var(--blue-600);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.step-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-full);
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 2px solid var(--blue-100);
}

.step-card h3 { font-size: 1rem; margin-bottom: .6rem; }
.step-card p  { font-size: .875rem; }

@media (max-width: 860px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════
   WHY US SPLIT
════════════════════════════════════════════════════ */
.why-split {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
}
.why-split__content h2 { margin-bottom: 1rem; }
.why-split__content > p { margin-bottom: 2rem; }

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.why-item > svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  padding: .6rem;
  border-radius: var(--r-md);
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
}
.why-item strong { display: block; font-size: 1rem; margin-bottom: .3rem; color: var(--gray-900); }
.why-item p { font-size: .875rem; }

.why-split__stats {
  background: var(--blue-900);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.why-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .3rem;
  padding: 1.25rem 1rem;
  background: rgba(255,255,255,.05);
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.08);
}
.why-stat strong {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--amber);
  letter-spacing: -.04em;
  line-height: 1;
}
.why-stat span {
  font-size: .75rem;
  color: var(--gray-400);
  font-weight: 500;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .why-split { grid-template-columns: 1fr; }
  .why-split__stats { order: -1; }
}


/* ═══════════════════════════════════════════════════
   REVIEWS
════════════════════════════════════════════════════ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--ease);
}
.review-card:hover {
  border-color: var(--blue-300);
  box-shadow: 0 8px 28px rgba(29,78,216,.1);
  transform: translateY(-3px);
}

.review-card__stars {
  display: flex;
  gap: 2px;
}
.review-card__stars svg { color: var(--amber); }

.review-card blockquote {
  font-size: .9375rem;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}
.review-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--r-full);
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 800;
  font-size: .8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-card__author strong { display: block; font-size: .9375rem; color: var(--gray-900); }
.review-card__author span  { font-size: .8125rem; color: var(--gray-500); }

.social-proof-bar {
  margin-top: 3rem;
  padding: 1.25rem 2rem;
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  font-size: .9rem;
  box-shadow: var(--shadow-sm);
}
.social-proof-bar svg { color: var(--amber); }
.social-proof-bar strong { font-size: 1.1rem; color: var(--gray-900); }
.social-proof-bar span  { color: var(--gray-500); }

@media (max-width: 860px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .review-card:last-child { display: none; }
}
@media (max-width: 540px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card:last-child { display: flex; }
}


/* ═══════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════ */
.faq-container { max-width: 860px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--ease-fast);
}
.faq-item.open { border-color: var(--blue-400); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: .9875rem;
  font-weight: 700;
  color: var(--gray-800);
  cursor: pointer;
  transition: color var(--ease-fast);
}
.faq-question:hover { color: var(--blue-700); }
.faq-item.open .faq-question { color: var(--blue-700); }

.faq-icon {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--blue-600); }

.faq-answer {
  padding: 0 1.5rem 1.25rem;
}
.faq-answer p { font-size: .9375rem; }


/* ═══════════════════════════════════════════════════
   FINAL CTA
════════════════════════════════════════════════════ */
.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.final-cta__trust {
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.final-cta__trust svg { color: var(--amber); }

.contact-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl);
  padding: 2rem;
  min-width: 300px;
  backdrop-filter: blur(8px);
}
.contact-card h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}
.contact-card ul {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-card li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.contact-card li > svg {
  color: var(--amber);
  flex-shrink: 0;
  margin-top: .15rem;
}
.contact-card strong { display: block; font-size: .8rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.contact-card a, .contact-card span { font-size: 1rem; color: var(--white); font-weight: 600; }
.contact-card a:hover { color: var(--amber); }

@media (max-width: 860px) {
  .final-cta { grid-template-columns: 1fr; gap: 2.5rem; }
}


/* ═══════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════ */
.site-footer { background: var(--gray-900); }

.footer-top { padding: 4rem 0 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p { font-size: .875rem; color: var(--gray-400); margin-block: 1rem; line-height: 1.7; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--amber) !important;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}
.footer-phone svg { color: var(--amber); }

.footer-links h4, .footer-contact h4, .footer-cta-box h4 {
  color: var(--white);
  font-size: .9375rem;
  margin-bottom: 1.25rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: var(--gray-400);
  font-size: .875rem;
  transition: color var(--ease-fast);
}
.footer-links a:hover { color: var(--blue-400); }
.footer-links svg { color: var(--gray-600); flex-shrink: 0; }

.footer-contact ul { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  color: var(--gray-400);
  font-size: .875rem;
}
.footer-contact li svg { color: var(--blue-400); flex-shrink: 0; margin-top: .1rem; }
.footer-contact a { color: var(--gray-300); transition: color var(--ease-fast); }
.footer-contact a:hover { color: var(--blue-400); }

.footer-cta-box {
  background: var(--blue-800);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,.08);
}
.footer-cta-box p { font-size: .8125rem; color: var(--blue-300); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: .35rem; }
.footer-cta-box h4 { color: var(--white); margin-bottom: 1.25rem; font-size: 1.25rem; line-height: 1.25; }
.footer-cta-trust {
  margin-top: .9rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  font-size: .8rem;
  color: var(--blue-300);
  font-weight: 500;
}
.footer-cta-trust svg { color: var(--blue-400); }

.footer-bottom {
  padding-block: 1.25rem;
}
.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .8125rem; color: var(--gray-600); }
.footer-bottom__links {
  display: flex;
  gap: 1.25rem;
}
.footer-bottom__links a { font-size: .8125rem; color: var(--gray-600); transition: color var(--ease-fast); }
.footer-bottom__links a:hover { color: var(--blue-400); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-cta-box { grid-column: span 2; max-width: 400px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-cta-box { grid-column: span 1; max-width: 100%; }
}


/* ═══════════════════════════════════════════════════
   STRONY PRAWNE (polityka, reklamacje, gwarancja)
════════════════════════════════════════════════════ */
.legal-header {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
  padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
}
.legal-header h1 { color: var(--white); margin-bottom: .5rem; }
.legal-header p  { color: var(--blue-300); font-size: .875rem; }

.calc-breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  color: var(--blue-300);
  margin-bottom: 1rem;
}
.calc-breadcrumb a { color: var(--blue-200); text-decoration: none; }
.calc-breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.calc-breadcrumb span[aria-current] { color: var(--blue-100); }

.legal-body { padding: 3rem 0 5rem; background: var(--gray-50); }
.legal-container { max-width: 860px; }

.legal-content {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 3rem;
}
.legal-content section + section { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--gray-100); }
.legal-content h2 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--blue-800); }
.legal-content h3 { font-size: 1rem; margin: 1.25rem 0 .6rem; }
.legal-content p  { font-size: .9375rem; margin-bottom: .75rem; }
.legal-content ul { padding-left: 1.5rem; display: flex; flex-direction: column; gap: .4rem; margin-bottom: .75rem; }
.legal-content ul li { font-size: .9375rem; color: var(--gray-600); list-style: disc; }
.legal-content a  { color: var(--blue-600); text-decoration: underline; }
.legal-content a:hover { color: var(--blue-800); }

.legal-box {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  font-size: .9375rem;
  line-height: 1.8;
  margin: 1rem 0;
  color: var(--gray-700);
}
.legal-box strong { color: var(--gray-900); }
.legal-box--highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #EFF6FF;
  border-color: var(--blue-300);
}
.legal-box--highlight svg { color: var(--blue-700); flex-shrink: 0; margin-top: .2rem; }
.legal-box--highlight strong { display: block; font-size: 1.05rem; margin-bottom: .35rem; }
.legal-box--highlight p { font-size: .9rem; margin: 0; }

@media (max-width: 640px) {
  .legal-content { padding: 1.75rem 1.25rem; }
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL (JS-driven)
════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }


/* ═══════════════════════════════════════════════════
   UTILITY
════════════════════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Sticky CTA (mobile) */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: .75rem var(--container-px);
  box-shadow: 0 -4px 20px rgba(0,0,0,.12);
}
.sticky-cta__inner {
  max-width: 400px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .625rem;
}
@media (max-width: 640px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 80px; }
}

/* ── Galeria — ceny ── */
.gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  background: rgba(15,23,40,.85);
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
}
.gallery-price {
  background: var(--blue-600, #2563EB);
  color: #fff;
  padding: .2rem .65rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  white-space: nowrap;
}

/* ── Tabela porównawcza ── */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg, 14px);
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  margin-bottom: 2rem;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  min-width: 560px;
}
.compare-table thead tr {
  background: var(--blue-900, #0F172A);
  color: #fff;
}
.compare-table thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 700;
}
.compare-table th.compare-feature { width: 28%; }
.compare-table th.compare-blaszany { width: 36%; }
.compare-table th.compare-ocieplany { width: 36%; }
.compare-table tbody tr {
  border-bottom: 1px solid var(--gray-100, #F1F5F9);
  background: #fff;
}
.compare-table tbody tr:nth-child(even) { background: var(--gray-50, #F8FAFC); }
.compare-table tbody td {
  padding: .75rem 1.25rem;
  vertical-align: top;
  line-height: 1.5;
  color: var(--gray-700, #334155);
}
.compare-table tbody td:first-child {
  font-weight: 700;
  color: var(--gray-800, #1E293B);
}
.col-bad  { color: #dc2626; }
.col-good { color: #15803d; }
.compare-row-price td { font-weight: 700; background: var(--blue-50, #EFF6FF) !important; }
.compare-cta {
  text-align: center;
  padding: 1.5rem 0 0;
}
.compare-cta p { color: var(--gray-600); margin-bottom: 1.25rem; font-size: 1rem; }

/* ── Raty / leasing ── */
.raty-wrap {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}
.raty-icon {
  flex-shrink: 0;
  width: 72px; height: 72px;
  background: var(--blue-700, #1D4ED8);
  border-radius: var(--r-lg, 14px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.raty-title { font-size: clamp(1.4rem,3vw,2rem); margin-bottom: .75rem; }
.raty-desc  { color: var(--gray-600); max-width: 600px; margin-bottom: 1.25rem; line-height: 1.7; }
.raty-badges {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: 1.5rem;
}
.raty-badges span {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  color: var(--blue-700); padding: .35rem .9rem;
  border-radius: 999px; font-size: .8125rem; font-weight: 600;
}
.raty-badges svg { color: var(--blue-600); }
@media (max-width: 640px) {
  .raty-wrap { flex-direction: column; gap: 1.25rem; }
  .raty-icon { width: 56px; height: 56px; }
}
