/* =========================================================
   LALCAR — global stylesheet
   ========================================================= */

:root{
  color-scheme: light;
  --black: #0a0a0a;
  --black-soft: #171717;
  --cream: #f7f7f6;
  --cream-2: #ececec;
  --white: #ffffff;
  --surface: #ffffff;
  --ink: #131313;
  --gray: #6e6e6e;
  --gray-light: #9c9c9c;
  --silver: #d4d4d4;
  --line: rgba(255,255,255,0.14);
  --line-dark: rgba(0,0,0,0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0,0,0,0.4);
  --container: 1320px;
}

/* --black, --white and --black-soft stay fixed in both themes on purpose —
   they're the brand's always-dark chrome (nav, hero, footer, buttons).
   Only the "surface" tokens below flip for light/dark mode. */
:root[data-theme="dark"]{
  color-scheme: dark;
  --surface: #151515;
  --cream: #1c1c1c;
  --cream-2: #242424;
  --ink: #f2f2f2;
  --gray: #a8a8a8;
  --gray-light: #707070;
  --line-dark: rgba(255,255,255,0.12);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
body{
  margin:0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease;
}
body, .card, .form-card, .price-table, .pricing-card, .listing-card, .listing-admin-table,
.cookie-banner, .site-modal-card, .section--cream, .field input, .field textarea, .field select,
.spec-item, .admin-note, .upload-drop, .contact-info-item .ic, .price-table th,
.price-table td, .listing-admin-table th, .listing-admin-table td{
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
h1,h2,h3,h4{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}
p{ margin: 0; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin:0; padding:0; }
img{ max-width:100%; display:block; }
button{ font-family: inherit; cursor:pointer; }

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

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.section--black .eyebrow{ color: var(--white); }

.section{ padding: 110px 0; }
.section--tight{ padding: 70px 0; }
.section--cream{ background: var(--cream); }
.section--black{ background: var(--black); color: var(--white); }

.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head h2{ font-size: clamp(32px, 4vw, 48px); margin-top: 14px; }
.section-head p{ color: var(--gray); font-size: 17px; margin-top: 16px; line-height: 1.6; }
.section--black .section-head p{ color: rgba(255,255,255,0.65); }

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--white); color: var(--black); border-color: var(--white); }
.btn-primary:hover{ background: var(--silver); border-color: var(--silver); transform: translateY(-2px); }
.btn-dark{ background: var(--black); color: var(--white); }
.btn-dark:hover{ background: var(--black-soft); transform: translateY(-2px); }
.btn-outline{ background: transparent; border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-outline:hover{ border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-dark{ background: transparent; border-color: rgba(0,0,0,0.2); color: var(--ink); }
.btn-outline-dark:hover{ border-color: var(--ink); background: rgba(0,0,0,0.04); }
.btn svg{ width: 16px; height:16px; }

/* ---------------- Header ---------------- */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display:flex;
  justify-content:center;
  padding: 0 20px;
  transition: padding-top .35s ease;
}
.site-header.scrolled{
  padding-top: 18px;
}
.nav-pill{
  width: 100%;
  max-width: 1280px;
  background: transparent;
  backdrop-filter: none;
  border: 1px solid transparent;
  border-radius: 0;
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 24px 4px;
  box-shadow: none;
  transition: background .35s ease, border-color .35s ease, border-radius .35s ease, padding .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled .nav-pill{
  background: rgba(11,12,13,0.88);
  backdrop-filter: blur(14px);
  border-color: rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 12px 18px;
  box-shadow: var(--shadow);
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  color: var(--white);
}
.brand-logo{
  height: 20px;
  width: auto;
  display:block;
}

.nav-links{
  display:flex;
  align-items:center;
  gap: 6px;
}
.nav-links a{
  color: rgba(255,255,255,0.75);
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 10px;
  transition: all .2s ease;
}
.nav-links a:hover{ color: var(--white); background: rgba(255,255,255,0.08); }
.nav-links a.active{ color: var(--black); background: var(--white); }

.nav-cta{ display:flex; align-items:center; gap:10px; }
.theme-toggle{
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink: 0;
  transition: all .2s ease;
}
.theme-toggle:hover{ background: rgba(255,255,255,0.08); }
.theme-toggle svg{ width:19px; height:19px; }
.theme-toggle .icon-moon{ display:none; }
[data-theme="dark"] .theme-toggle .icon-sun{ display:none; }
[data-theme="dark"] .theme-toggle .icon-moon{ display:block; }

.lang-switch{
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink: 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all .2s ease;
}
.lang-switch:hover{ background: rgba(255,255,255,0.08); color: var(--white); }
.mobile-menu .lang-switch{
  border-radius: 12px;
  height: 44px;
  margin-top: 4px;
  width: fit-content;
  padding: 0 18px;
}
.nav-toggle{
  display:none;
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: var(--white);
  align-items:center;
  justify-content:center;
}
.nav-toggle svg{ width:20px; height:20px; }

.mobile-menu{
  display:none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  padding: 110px 30px 40px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open{ display:flex; }
.mobile-menu a{
  color: var(--white);
  font-family:'Space Grotesk',sans-serif;
  font-size: 26px;
  font-weight: 600;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu .btn{
  margin-top: 24px;
  align-self: flex-start;
  font-size: 15px;
  padding: 15px 28px;
  border-bottom: none;
}
.mobile-menu .btn-primary{ color: var(--black); }

/* ---------------- Hero ---------------- */
.hero{
  position: relative;
  min-height: 92vh;
  display:flex;
  align-items: flex-end;
  color: var(--white);
  overflow:hidden;
  background: var(--black);
}
.hero-media{
  position:absolute; inset:0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .4s ease;
}
.hero-media.loaded{ opacity: 1; }
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(9,10,11,0.55) 0%, rgba(9,10,11,0.35) 35%, rgba(9,10,11,0.92) 100%);
}
.hero-inner{
  position: relative;
  z-index: 2;
  padding-top: 160px;
  padding-bottom: 90px;
  width: 100%;
}
.hero-tag{
  font-family:'Space Grotesk',sans-serif;
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 22px;
}
.hero h1{
  font-size: clamp(40px, 6.4vw, 84px);
  max-width: 900px;
}
.hero h1 em{
  font-style: normal;
  font-weight: 400;
  color: var(--white);
}
.hero p.lead{
  margin-top: 22px;
  max-width: 560px;
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}
.hero-actions{
  display:flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stats{
  margin-top: 64px;
  display:flex;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 28px;
}
.hero-stats .stat b{
  font-family:'Space Grotesk',sans-serif;
  font-size: 30px;
  display:block;
  color: var(--white);
}
.hero-stats .stat span{
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-hero{
  min-height: 62vh;
  align-items: center;
}
.page-hero .hero-inner{ padding-top: 150px; padding-bottom: 70px; }

/* ---------------- Big statement ---------------- */
.statement{
  text-align:center;
  padding: 120px 0;
}
.statement h2{
  font-size: clamp(34px, 6vw, 68px);
  color: var(--gray-light);
  line-height: 1.15;
}
.statement h2 .highlight{ color: var(--ink); }

/* ---------------- Cards / Atuty ---------------- */
.grid{ display:grid; gap: 24px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }

.card{
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--black);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 20px;
}
.card-icon svg{ width: 22px; height: 22px; color: var(--white); }
.card h3{ font-size: 20px; margin-bottom: 10px; }
.card p{ color: var(--gray); font-size: 15px; line-height: 1.6; }

.card--dark{
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
}
.card--dark p{ color: rgba(255,255,255,0.6); }
.card--dark .card-icon{ background: rgba(255,255,255,0.1); }
.card--dark .card-icon svg{ color: var(--white); }

/* ---------------- Process steps ---------------- */
.steps{ display:flex; flex-direction: column; }
.step{
  display:grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-top: 1px solid var(--line-dark);
}
.steps .step:last-child{ border-bottom: 1px solid var(--line-dark); }
.step-num{
  font-family:'Space Grotesk',sans-serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  opacity: .8;
}
.step h3{ font-size: 21px; margin-bottom: 8px; }
.step p{ color: var(--gray); line-height: 1.6; max-width: 620px; }

/* ---------------- Two-col media block ---------------- */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items:center;
}
.split img, .split .media-frame{
  border-radius: var(--radius-lg);
  width:100%;
  height: 460px;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}
.split .tag-list{ margin-top: 28px; display:flex; flex-direction:column; gap:14px; }
.split .tag-list li{
  display:flex; align-items:center; gap: 12px;
  font-size: 15px; color: var(--ink); font-weight:500;
}
.split .tag-list li svg{ width:20px; height:20px; color: var(--ink); flex-shrink:0; }

/* ---------------- Offer / service cards with image ---------------- */
.offer-card{
  position:relative;
  border-radius: var(--radius-lg);
  overflow:hidden;
  height: 420px;
  display:flex;
  align-items:flex-end;
  background-size:cover;
  background-position:center;
  color: var(--white);
}
.offer-card::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%);
}
.offer-card-inner{ position:relative; z-index:2; padding: 32px; }
.offer-card .tag{
  display:inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.offer-card h3{ font-size: 26px; margin-bottom: 8px; }
.offer-card p{ color: rgba(255,255,255,0.75); font-size: 14.5px; margin-bottom: 18px; }

/* ---------------- Pricing ---------------- */
.price-table{
  width:100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow:hidden;
  box-shadow: 0 1px 0 var(--line-dark);
}
.price-table th{
  text-align:left;
  background: var(--black);
  color: var(--white);
  font-family:'Space Grotesk',sans-serif;
  font-weight:600;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 18px 24px;
}
.price-table td{
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 15px;
  color: var(--ink);
}
.price-table tr:last-child td{ border-bottom:none; }
.price-table td.price{ font-family:'Space Grotesk',sans-serif; font-weight:700; color: var(--black); white-space: nowrap; }
.price-table td.desc{ color: var(--gray); font-size: 14px; }

.pricing-cards{ display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pricing-card{
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  padding: 36px 30px;
  display:flex;
  flex-direction:column;
}
.pricing-card.featured{
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  transform: scale(1.03);
  box-shadow: var(--shadow);
}
.pricing-card.featured .pricing-desc{ color: rgba(255,255,255,0.6); }
.pricing-card.featured .pricing-list li{ color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.12); }
.pricing-card.featured .pricing-list svg{ color: var(--white); }
.pricing-badge{
  align-self:flex-start;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.pricing-card.featured .pricing-badge{ background: var(--white); color: var(--black); }
.pricing-card h3{ font-size: 22px; }
.pricing-price{
  font-family:'Space Grotesk',sans-serif;
  font-size: 38px;
  font-weight: 700;
  margin: 14px 0 6px;
}
.pricing-price span{ font-size: 15px; font-weight: 500; opacity:.6; }
.pricing-desc{ color: var(--gray); font-size: 14px; margin-bottom: 24px; }
.pricing-list{ display:flex; flex-direction:column; gap: 12px; margin-bottom: 30px; flex:1; }
.pricing-list li{
  display:flex; gap:10px; align-items:flex-start;
  font-size: 14.5px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-dark);
}
.pricing-list li svg{ width:18px; height:18px; color: var(--ink); flex-shrink:0; margin-top:1px; }

.price-note{
  margin-top: 28px;
  font-size: 14px;
  color: var(--gray);
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.price-note svg{ width:18px;height:18px; color:var(--ink); flex-shrink:0; margin-top:2px; }

/* ---------------- Legal pages (Polityka prywatności / Regulamin) ---------------- */
.page-title-block{
  padding: 160px 0 60px;
  background: var(--black);
  color: var(--white);
}
.page-title-block h1{ font-size: clamp(34px, 4.5vw, 52px); margin-top: 14px; color: var(--white); }
.page-title-block .updated{ color: rgba(255,255,255,0.6); margin-top: 16px; font-size: 14.5px; }
.legal-content{ max-width: 760px; margin: 0 auto; }
.legal-content h2{ font-size: 25px; margin-top: 46px; margin-bottom: 14px; }
.legal-content h2:first-child{ margin-top: 0; }
.legal-content h3{ font-size: 18px; margin-top: 26px; margin-bottom: 10px; }
.legal-content p{ color: var(--gray); line-height: 1.75; margin-bottom: 16px; font-size: 15.5px; }
.legal-content ul, .legal-content ol{ margin: 0 0 16px 0; padding-left: 22px; color: var(--gray); line-height: 1.75; font-size: 15.5px; }
.legal-content ul{ list-style: disc; }
.legal-content ol{ list-style: decimal; }
.legal-content li{ margin-bottom: 8px; }
.legal-content strong{ color: var(--ink); }
.legal-content a{ color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* ---------------- Testimonial / quote ---------------- */
.quote-block{
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items:center;
}
.quote-block blockquote{
  font-family:'Space Grotesk',sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height:1.4;
  margin:0;
}
.quote-block cite{ display:block; margin-top: 20px; color: rgba(255,255,255,0.55); font-style:normal; font-size:14px; }

/* ---------------- CTA banner ---------------- */
.cta-banner{
  background: linear-gradient(120deg, #17181a, #0b0c0d);
  border-radius: var(--radius-lg);
  padding: 64px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap:wrap;
  color: var(--white);
}
.cta-banner h2{ font-size: clamp(26px,3.4vw,38px); max-width: 520px; }
.cta-banner p{ color: rgba(255,255,255,0.6); margin-top: 10px; max-width: 480px; }

/* ---------------- Contact ---------------- */
.contact-grid{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items:stretch;
}
.contact-left{ display:flex; flex-direction:column; }
.contact-info-list{ display:flex; flex-direction:column; gap: 22px; margin-top: 30px; }
.contact-info-item{ display:flex; gap:16px; align-items:flex-start; }
.contact-info-item .ic{
  width: 46px; height:46px; border-radius: 12px;
  background: var(--cream-2);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.contact-info-item .ic svg{ width:20px;height:20px;color:var(--ink);}
.contact-info-item h4{ font-size:15px; margin-bottom:4px; }
.contact-info-item p{ color: var(--gray); font-size: 14.5px; line-height:1.6; }

.map-frame{
  margin-top: 30px;
  border-radius: var(--radius-md);
  overflow:hidden;
  border: 1px solid var(--line-dark);
  height: 260px;
}
.map-frame iframe{ width:100%; height:100%; border:0; }

.form-card{
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field{ margin-bottom: 18px; }
.field label{ display:block; font-size: 13.5px; font-weight:600; margin-bottom: 8px; color: var(--ink); }
.field input, .field textarea, .field select{
  width:100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.14);
  font-family: inherit;
  font-size: 14.5px;
  background: var(--cream);
  transition: border-color .2s ease;
}
.field select option{ background: var(--cream); color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus{
  outline:none;
  border-color: var(--ink);
  background: var(--surface);
}
.field textarea{ min-height: 120px; resize: vertical; }
.checkbox-row{ display:flex; gap:10px; align-items:flex-start; font-size: 13px; color: var(--gray); margin-bottom: 22px; }
.checkbox-row input{ margin-top: 3px; }
.form-note{
  display:none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
}
.form-note.visible{ display:block; }

/* ---------------- Logos strip ---------------- */
.brands-strip{
  display:flex;
  justify-content: space-between;
  align-items:center;
  flex-wrap:wrap;
  gap: 30px;
  padding: 40px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.brands-strip span{
  font-family:'Space Grotesk',sans-serif;
  font-weight:700;
  font-size: 20px;
  color: var(--gray-light);
  letter-spacing: 0.02em;
}

/* ---------------- Cookie consent banner ---------------- */
.cookie-banner{
  position: fixed;
  left: 24px;
  bottom: -260px;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  z-index: 2000;
  display:flex;
  flex-direction:column;
  gap:16px;
  transition: bottom .5s ease;
}
.cookie-banner.visible{ bottom: 24px; }
.cookie-banner-text strong{ display:block; font-family:'Space Grotesk',sans-serif; font-size:16px; margin-bottom:6px; }
.cookie-banner-text p{ font-size:13.5px; color:var(--gray); line-height:1.6; }
.cookie-banner-actions{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.cookie-banner-actions .btn{ padding: 12px 20px; font-size: 14px; }
@media (max-width:640px){
  .cookie-banner{ left:14px; right:14px; max-width:none; padding:18px; bottom:-320px; }
  .cookie-banner.visible{ bottom:14px; }
  .cookie-banner-actions .btn{ flex:1; justify-content:center; }
}

/* ---------------- Generic site modal ---------------- */
.site-modal-overlay{
  position: fixed; inset:0;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden;
  transition: opacity .3s ease, visibility .3s ease;
  padding: 20px;
}
.site-modal-overlay.visible{ opacity:1; visibility:visible; }
.site-modal-card{
  position:relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  max-width: 420px;
  width:100%;
  text-align:center;
  transform: scale(.94);
  transition: transform .3s ease;
  box-shadow: var(--shadow);
}
.site-modal-overlay.visible .site-modal-card{ transform: scale(1); }
.site-modal-card .eyebrow{ justify-content:center; }
.site-modal-card h3{ font-size: 24px; margin-top:14px; margin-bottom:12px; }
.site-modal-card p{ color:var(--gray); font-size:14.5px; line-height:1.6; margin-bottom:26px; }
.site-modal-close{
  position:absolute; top:16px; right:16px;
  width:32px; height:32px; border-radius:10px;
  background:var(--cream); border:1px solid var(--line-dark); color:var(--ink);
  font-size:18px; line-height:1; transition: all .2s ease;
}
.site-modal-close:hover{ background:var(--cream-2); }

/* ---------------- Floating social rail ---------------- */
.social-rail{
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.social-rail a{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--black);
  color: var(--white);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow);
  transition: all .2s ease;
}
.social-rail a:hover{ background: var(--black-soft); transform: scale(1.07); }
.social-rail svg{ width:18px; height:18px; }

@media (max-width: 860px){
  .social-rail{ display:none; }
}

/* ---------------- Footer ---------------- */
.site-footer{
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 30px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-logo{ height: 24px; }
.footer-brand p{ margin-top: 16px; font-size: 14.5px; line-height:1.7; max-width: 280px; }
.footer-social{ display:flex; gap:10px; margin-top: 24px; }
.footer-social a{
  width: 38px; height:38px; border-radius:50%;
  border:1px solid rgba(255,255,255,0.18);
  display:flex; align-items:center; justify-content:center;
  transition: all .2s ease;
}
.footer-social a:hover{ background: var(--white); border-color: var(--white); color: var(--black); }
.footer-social svg{ width:16px;height:16px; }
.footer-col h5{
  font-family:'Space Grotesk',sans-serif;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul{ display:flex; flex-direction:column; gap: 12px; }
.footer-col a{ font-size: 14.5px; transition: color .2s ease; }
.footer-col a:hover{ color: var(--white); }
.footer-bottom a{ text-decoration: underline; text-underline-offset: 2px; transition: color .2s ease; }
.footer-bottom a:hover{ color: var(--white); }
.footer-bottom{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding-top: 26px;
  font-size: 13px;
  flex-wrap:wrap;
  gap: 10px;
}

/* ---------------- Marketplace ---------------- */
.market-toolbar{
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
  padding: 24px;
  background: var(--cream);
  border-radius: var(--radius-md);
  margin-bottom: 40px;
}
.market-toolbar .field{ margin-bottom:0; flex:1; min-width: 170px; }
.market-toolbar .field.search{ flex:2; min-width: 220px; }

.market-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.listing-card{
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.listing-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); }
.listing-media{
  position:relative;
  height: 210px;
  background-size:cover;
  background-position:center;
  background-color: #eee;
}
.listing-media-badge{
  position:absolute; top:14px; left:14px;
  background: rgba(11,12,13,0.82);
  color:#fff;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.listing-media .status-pill{ position:absolute; top:14px; right:14px; }
.listing-body{ padding: 22px; display:flex; flex-direction:column; gap:10px; flex:1; }
.listing-body h3{ font-size: 19px; }
.listing-meta{ display:flex; gap:14px; flex-wrap:wrap; color: var(--gray); font-size: 13.5px; }
.listing-price-row{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top: 14px;
  border-top: 1px dashed var(--line-dark);
}
.listing-price-row b{ font-family:'Space Grotesk',sans-serif; font-size: 21px; }
.listing-price-row a{ font-size: 13.5px; font-weight:600; color: var(--ink); display:flex; align-items:center; gap:4px; }

.status-pill{
  display:inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-pill.dostepny{ background:var(--white); color:var(--black); border:1px solid var(--black); }
.status-pill.zarezerwowany{ background:#c7c7c7; color:var(--black); }
.status-pill.sprzedany{ background:var(--black); color:var(--white); }

.empty-state{ text-align:center; padding: 70px 20px; color: var(--gray); }
.empty-state svg{ width:40px; height:40px; color: var(--ink); margin-bottom:14px; }

/* ---------------- Car detail / gallery ---------------- */
.gallery-main{
  width:100%;
  height: 440px;
  border-radius: var(--radius-lg);
  background-size:cover;
  background-position:center;
  background-color:#eee;
}
.gallery-thumbs{
  display:flex;
  gap: 10px;
  overflow-x:auto;
  padding: 14px 2px 4px;
}
.gallery-thumbs .thumb{
  width: 92px; height: 66px;
  border-radius: 10px;
  background-size:cover;
  background-position:center;
  cursor:pointer;
  border: 2px solid transparent;
  flex-shrink:0;
  opacity:.65;
  transition: all .2s ease;
}
.gallery-thumbs .thumb.active{ border-color: var(--ink); opacity:1; }

.spec-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 22px; }
.spec-item{ background: var(--cream); border-radius: 12px; padding: 14px 16px; }
.spec-item span{ display:block; font-size: 12px; text-transform:uppercase; letter-spacing:0.06em; color: var(--gray); margin-bottom:4px; }
.spec-item b{ font-family:'Space Grotesk',sans-serif; font-size: 15px; }

.car-price-box{
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-top: 26px;
}
.car-price-box .amount{ font-family:'Space Grotesk',sans-serif; font-size: 34px; font-weight:700; }
.car-price-box .btn{ width:100%; justify-content:center; margin-top: 18px; }

/* ---------------- Admin ---------------- */
.admin-login{
  max-width: 420px;
  margin: 0 auto;
  text-align:center;
}
.admin-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom: 30px;
  flex-wrap:wrap;
  gap: 14px;
}
.admin-grid{ display:grid; grid-template-columns: 1fr 1.4fr; gap: 34px; align-items:flex-start; }
.upload-drop{
  border: 2px dashed rgba(0,0,0,0.16);
  border-radius: 14px;
  padding: 28px;
  text-align:center;
  cursor:pointer;
  background: var(--cream);
  transition: all .2s ease;
}
.upload-drop:hover, .upload-drop.dragover{ border-color: var(--ink); background:var(--cream-2); }
.upload-drop svg{ width:26px; height:26px; color: var(--ink); margin-bottom:8px; }
.upload-drop p{ font-size: 13.5px; color: var(--gray); }
.thumb-list{ display:flex; flex-wrap:wrap; gap: 10px; margin-top: 16px; }
.thumb-item{
  position:relative;
  width: 92px; height: 68px;
  border-radius: 10px;
  overflow:hidden;
  background-size:cover;
  background-position:center;
  border: 1px solid var(--line-dark);
}
.thumb-item button{
  position:absolute; top:4px; right:4px;
  width: 20px; height:20px;
  border-radius:50%;
  background: rgba(0,0,0,0.65);
  color:#fff;
  border:none;
  font-size: 12px;
  line-height:1;
  display:flex; align-items:center; justify-content:center;
}

.listing-table-wrap{ overflow-x:auto; border-radius: var(--radius-md); border:1px solid var(--line-dark); }
.listing-admin-table{ width:100%; border-collapse:collapse; background:var(--surface); min-width: 640px; }
.listing-admin-table th{
  text-align:left;
  background: var(--black);
  color:#fff;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 14px 18px;
  font-family:'Space Grotesk',sans-serif;
}
.listing-admin-table td{ padding: 12px 18px; border-bottom:1px solid var(--line-dark); font-size: 14px; vertical-align:middle; }
.listing-admin-table tr:last-child td{ border-bottom:none; }
.listing-admin-table img{ width:56px; height:40px; object-fit:cover; border-radius:6px; display:block; }
.table-actions{ display:flex; gap:8px; flex-wrap:wrap; }
.btn-sm{ padding: 8px 14px; font-size: 13px; border-radius: 999px; }
.btn-danger{ background:var(--surface); color:var(--ink); border:1px solid var(--ink); }
.btn-danger:hover{ background:var(--black); color:var(--white); }
.admin-note{
  display:flex; gap:10px; align-items:flex-start;
  background:var(--cream); border:1px solid var(--line-dark); color:var(--ink);
  padding: 14px 16px; border-radius: 12px; font-size: 13.5px; margin-bottom: 26px;
}
.admin-note svg{ width:18px; height:18px; flex-shrink:0; margin-top:1px; }

.admin-tabs{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 14px;
}
.admin-tab-btn{
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--gray);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  transition: all .2s ease;
}
.admin-tab-btn:hover{ border-color: var(--ink); color: var(--ink); }
.admin-tab-btn.active{ background: var(--black); border-color: var(--black); color: var(--white); }

.pkg-field-card{
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  padding: 20px;
}
.pkg-field-card h4{ font-size: 15px; margin-bottom: 14px; }
.pkg-field-card .field{ margin-bottom: 12px; }
.pkg-field-card .field label{ font-size: 12.5px; }
.pkg-field-card .checkbox-row{ margin-bottom: 0; }

@media (max-width: 900px){
  .admin-grid{ grid-template-columns: 1fr; }
}

/* ---------------- Reveal on scroll ---------------- */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view{ opacity:1; transform: translateY(0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1120px){
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
}
@media (max-width: 980px){
  .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); }
  .market-grid{ grid-template-columns: repeat(2,1fr); }
  .split{ grid-template-columns: 1fr; }
  .quote-block{ grid-template-columns: 1fr; padding: 40px; }
  .contact-grid{ grid-template-columns: 1fr; }
  .pricing-cards{ grid-template-columns: 1fr; }
  .pricing-card.featured{ transform:none; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .cta-banner{ padding: 40px; }
}
@media (max-width: 640px){
  .container{ padding: 0 18px; }
  .section{ padding: 70px 0; }
  .section--tight{ padding: 46px 0; }
  .statement{ padding: 70px 0; }
  .grid-3, .grid-4, .grid-2{ grid-template-columns: 1fr; }
  .market-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .step{ grid-template-columns: 1fr; gap: 8px; }
  .quote-block{ padding: 30px; }
  .quote-block blockquote{ font-size:20px; }
  .price-table{ font-size: 13px; }
  .price-table th, .price-table td{ padding: 12px 14px; }
  .hero-stats{ gap: 28px; }
  .cta-banner{ flex-direction:column; align-items:flex-start; }
  .market-toolbar{ flex-direction:column; align-items:stretch; }
}
