/* ============================================
   ZabieramyTo — design tokens
   ============================================ */
:root {
  --bg-dark: #132a42;      /* deep navy, matching the logo */
  --bg-dark-2: #1c3a5b;    /* slightly lighter navy, sections */
  --orange: #e8811f;       /* orange from the logo — primary accent */
  --orange-light: #f2a052; /* hover */
  --cream: #f0ece1;        /* text on dark background */
  --stone: #9aa7b5;        /* secondary text, cool gray */
  --stone-dark: #2c4a65;   /* lines, borders */
  --paper: #f7f5f0;        /* light section background */
  --ink: #1a2530;          /* text on light background, cool black */

  --font-display: 'Bitter', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 3px;
  --container: 1120px;
  --topbar-height: 0px; /* top bar removed */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: var(--topbar-height);
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  overflow-anchor: none; /* disables the browser's scroll anchoring, which caused the bar to "jump" */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

/* ============================================
   Layout helpers
   ============================================ */
/* offset for nav links so the fixed phone bar + header
   don't cover the top of a section after clicking a menu item (value set from JS) */
section[id] {
  scroll-margin-top: var(--header-offset, 150px);
}
.section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 88px 24px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin: 0 0 16px;
}
.eyebrow--dark { color: var(--orange); }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 40px;
  max-width: 720px;
}
.section__title--light { color: var(--cream); }

/* ============================================
   Top bar + Header
   ============================================ */
.topbar {
  background: var(--ink);
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 24px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
}
.topbar__contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
.topbar__social { display: flex; align-items: center; gap: 14px; }
.topbar__social a { display: inline-flex; transition: filter 0.15s ease; }
.topbar__social a:nth-child(1) { color: #25D366; } /* WhatsApp — green */
.topbar__social a:nth-child(2) { color: #1877F2; } /* Facebook — blue */
.topbar__social a:nth-child(3) { color: #E1306C; } /* Instagram — pink */
.topbar__social a:hover { filter: brightness(1.25); }
.topbar__social svg { width: 22px; height: 22px; }
.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-light);
  font-weight: 600;
  font-size: 23px;
  transform-origin: right center;
  transition: transform 0.25s ease;
}
.topbar__phone-icon {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}
body.is-scrolled .topbar__phone { transform: scale(1.25); }

.topbar__wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 14px;
  transform-origin: right center;
  transition: transform 0.25s ease, color 0.15s ease;
}
.topbar__wa svg { width: 28px; height: 28px; flex-shrink: 0; }
.topbar__wa:hover { color: var(--orange-light); }
body.is-scrolled .topbar__wa { transform: scale(1.15); }

@media (max-width: 480px) {
  .topbar__wa-label { display: none; }
}

/* the phone bar scales up (transform, not layout size) when the page is scrolled —
   the bar's height stays the same so nothing "jumps" during scroll */
body.is-scrolled .topbar__phone {
  transform: translate(-16px, 5px) scale(1.3);
}

.header {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--stone-dark);
  position: sticky;
  top: var(--topbar-height);
  z-index: 20;
}
.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.header .logo {
  padding: 14px 70px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(240,236,225,0) 0%, rgba(240,236,225,0.95) 50%, rgba(240,236,225,0) 100%);
  transition: padding 0.25s ease;
}
.logo__img { height: 78px; width: auto; transition: height 0.25s ease; }
.footer .logo {
  padding: 12px 40px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(240,236,225,0) 0%, rgba(240,236,225,0.95) 50%, rgba(240,236,225,0) 100%);
}
.logo__img--footer { height: 76px; }

/* the logo shrinks when scrolling down */
.header--scrolled .logo { padding: 8px 44px; }
.header--scrolled .logo__img { height: 52px; }

.nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 20px; font-size: 18px; color: var(--stone); }
.nav a:hover { color: var(--cream); }
.nav-toggle { display: none; }
.nav__cta {
  background: var(--orange);
  color: var(--cream) !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav__cta:hover { background: var(--orange-light); }

@media (max-width: 900px) {
  .nav { gap: 14px; font-size: 15px; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); color: var(--cream); }
.btn--primary:hover { background: var(--orange-light); }
.btn--ghost { border-color: var(--cream); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--bg-dark); }
.btn--block { width: 100%; text-align: center; }

/* ============================================
   Hero — signature: tile pattern in the background
   ============================================ */
.hero {
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
}
.hero__tiles {
  position: absolute;
  inset: 0;
  right: -10%;
  width: 60%;
  margin-left: auto;
  opacity: 0.16;
  background-image:
    linear-gradient(45deg, var(--orange) 25%, transparent 25%, transparent 75%, var(--orange) 75%),
    linear-gradient(45deg, var(--orange) 25%, transparent 25%, transparent 75%, var(--orange) 75%);
  background-size: 64px 64px;
  background-position: 0 0, 32px 32px;
  mask-image: linear-gradient(to left, black, transparent);
  -webkit-mask-image: linear-gradient(to left, black, transparent);
}
.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 24px 100px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4.5vw, 52px); /* smaller size so the first line fits in full */
  line-height: 1.15;
  color: var(--cream);
  margin: 0 0 24px;
  max-width: none;
  text-align: center;
}
.hero__title span { color: var(--orange-light); }
.hero__lede {
  font-size: 18px;
  color: var(--stone);
  max-width: 560px;
  margin: 0 auto 40px;
  text-align: center;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
/* hero buttons: orange border and text instead of white */
.hero__actions .btn--ghost { border-color: var(--orange-light); color: var(--orange-light); }
.hero__actions .btn--ghost:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
/* social icons at the bottom of the hero section */
.hero__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 40px;
}
.hero__social a { display: inline-flex; transition: filter 0.15s ease; }
.hero__social a:hover { filter: brightness(1.25); }
.hero__social svg { width: 30px; height: 30px; }
.hero__social a:nth-of-type(1) { color: #25D366; } /* WhatsApp — green */
.hero__social a:nth-of-type(2) { color: #1877F2; } /* Facebook — blue */
.hero__social a:nth-of-type(3) { color: #E1306C; } /* Instagram — pink */

/* Hero illustration (enabled via a class from script.js — FEATURES.heroIlustracja) */
.hero--ilustracja::after {
  content: '';
  position: absolute;
  right: 1%;
  bottom: 0;
  width: min(44%, 600px);
  height: 86%;
  background: url('images/hero-ilustracja.svg') no-repeat bottom center / contain;
  pointer-events: none;
}
.hero--ilustracja .hero__tiles { opacity: 0.07; }
@media (max-width: 1020px) {
  .hero--ilustracja::after { display: none; }
  .hero--ilustracja .hero__tiles { opacity: 0.16; }
}

/* ============================================
   Services — cards
   ============================================ */
.uslugi { background: var(--paper); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid #e4dcca;
  border-radius: var(--radius);
  padding: 28px 24px;
}
.card__icon { color: var(--orange); margin-bottom: 18px; }
.card__icon svg { width: 40px; height: 40px; }
.card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 0 0 10px;
}
.card p { color: #5c5347; font-size: 15px; margin: 0; }
.card--highlight {
  background: var(--ink);
  border-color: var(--ink);
}
.card--highlight h3, .card--highlight .card__icon { color: var(--cream); }
.card--highlight p { color: var(--stone); }
.card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-light);
  border: 1px solid var(--orange-light);
  border-radius: 20px;
  padding: 3px 10px;
}

/* ============================================
   Tiled stove section
   ============================================ */
.piece {
  position: relative;
  background: var(--bg-dark-2);
  overflow: hidden;
}
.piece__tiles {
  position: absolute;
  inset: 0;
  right: -10%;
  width: 60%;
  margin-left: auto;
  opacity: 0.16;
  background-image:
    linear-gradient(45deg, var(--orange) 25%, transparent 25%, transparent 75%, var(--orange) 75%),
    linear-gradient(45deg, var(--orange) 25%, transparent 25%, transparent 75%, var(--orange) 75%);
  background-size: 64px 64px;
  background-position: 0 0, 32px 32px;
  mask-image: linear-gradient(to left, black, transparent);
  -webkit-mask-image: linear-gradient(to left, black, transparent);
}
.piece__inner { position: relative; max-width: 720px; }
.piece__text { color: var(--stone); font-size: 17px; margin-bottom: 28px; }
.piece__list { display: flex; flex-direction: column; gap: 12px; }
.piece__list li {
  color: var(--cream);
  padding-left: 24px;
  position: relative;
  font-size: 15px;
}
.piece__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--orange);
}

/* ============================================
   Process / steps
   ============================================ */
.proces { background: var(--paper); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.step h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 8px; }
.step p { color: #5c5347; font-size: 15px; margin: 0; }

/* ============================================
   About us
   ============================================ */
.o-nas {
  position: relative;
  background: var(--bg-dark-2);
  overflow: hidden;
}
.o-nas__tiles {
  position: absolute;
  inset: 0;
  right: -10%;
  width: 60%;
  margin-left: auto;
  opacity: 0.16;
  background-image:
    linear-gradient(45deg, var(--orange) 25%, transparent 25%, transparent 75%, var(--orange) 75%),
    linear-gradient(45deg, var(--orange) 25%, transparent 25%, transparent 75%, var(--orange) 75%);
  background-size: 64px 64px;
  background-position: 0 0, 32px 32px;
  mask-image: linear-gradient(to left, black, transparent);
  -webkit-mask-image: linear-gradient(to left, black, transparent);
}
.o-nas__inner { position: relative; max-width: 720px; }
.o-nas__text { color: var(--stone); font-size: 17px; margin-bottom: 28px; }
.o-nas__values { display: flex; flex-direction: column; gap: 12px; }
.o-nas__values li {
  color: var(--cream);
  padding-left: 24px;
  position: relative;
  font-size: 15px;
}
.o-nas__values li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--orange);
}

/* ============================================
   Testimonials
   ============================================ */
.opinie { background: var(--paper); }
.opinie__intro { color: #5c5347; font-size: 16px; max-width: 640px; margin: -24px 0 36px; }
.opinie__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.opinia {
  background: #fff;
  border: 1px solid #e4dcca;
  border-radius: var(--radius);
  padding: 24px;
  margin: 0;
}
.opinia__stars {
  color: var(--orange);
  font-size: 16px;
  letter-spacing: 2px;
  margin: 0 0 10px;
}
.opinia__text {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 14px;
}
.opinia__author {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--stone);
  font-style: normal;
}

/* ============================================
   Scroll reveal (classes added by script.js — without JS the page looks normal)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   Gallery
   ============================================ */
.galeria { background: var(--bg-dark-2); position: relative; overflow: hidden; }
.galeria .section__title { color: var(--cream); }
.galeria .section__inner { position: relative; }
.galeria__tiles {
  position: absolute;
  inset: 0;
  right: -10%;
  width: 60%;
  margin-left: auto;
  opacity: 0.16;
  background-image:
    linear-gradient(45deg, var(--orange) 25%, transparent 25%, transparent 75%, var(--orange) 75%),
    linear-gradient(45deg, var(--orange) 25%, transparent 25%, transparent 75%, var(--orange) 75%);
  background-size: 64px 64px;
  background-position: 0 0, 32px 32px;
  mask-image: linear-gradient(to left, black, transparent);
  -webkit-mask-image: linear-gradient(to left, black, transparent);
}
.galeria__temat { margin-bottom: 48px; }
.galeria__temat:last-child { margin-bottom: 0; }
.galeria__temat-title {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5ded0;
}
.galeria__para {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.galeria__para + .galeria__para { margin-top: 20px; }
.galeria__para--stack { grid-template-columns: 1fr; }
.galeria__para--solo { grid-template-columns: 1fr; max-width: 560px; }
.galeria__item {
  position: relative;
  margin: 0;
  background: var(--bg-dark-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.galeria__item img { width: 100%; height: 100%; object-fit: cover; }
.galeria__item--przed img { filter: grayscale(1); transition: filter 0.8s ease; }
.galeria__item--przed { cursor: pointer; }
.galeria__item--przed:hover img,
.galeria__item--przed.show-color img { filter: grayscale(0); }
.galeria__item figcaption {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cream);
  background: rgba(19, 42, 66, 0.82);
  padding: 4px 10px;
  border-radius: var(--radius);
}
.galeria__item--po figcaption { background: var(--orange); color: #fff; }
@media (max-width: 640px) {
  .galeria__para { grid-template-columns: 1fr; }
}
.galeria__note { margin-top: 20px; font-size: 13px; color: var(--stone); }
.galeria__note code { background: #eee4d0; padding: 2px 6px; border-radius: 3px; }

/* ============================================
   Pricing
   ============================================ */
.cennik { background: var(--paper); }
.cennik__intro { color: #5c5347; font-size: 16px; max-width: 640px; margin: 0 0 40px; }
.cennik__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.cennik__cta { text-align: center; }
.cennik__item {
  background: #fff;
  border: 1px solid #e4dcca;
  border-radius: var(--radius);
  padding: 24px;
}
.cennik__item h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 10px; }
.cennik__item p { color: #5c5347; font-size: 14px; margin: 0; }
.cennik__price {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--orange);
  font-weight: 600;
  margin: 0 0 10px !important;
}
.cennik__item--highlight { background: var(--ink); border-color: var(--ink); }
.cennik__item--highlight h3 { color: var(--cream); }
.cennik__item--highlight p { color: var(--stone); }
.cennik__item--highlight .cennik__price { color: var(--orange-light); }

/* ============================================
   Trust section
   ============================================ */
.zaufanie { background: var(--ink); }
.zaufanie__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* always a single row — also on phones */
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 56px;
}
@media (max-width: 640px) {
  .zaufanie__inner { gap: 10px; padding-top: 36px; padding-bottom: 36px; }
  .zaufanie__num { font-size: 18px; }
  .zaufanie__item p { font-size: 11px; margin: 0; }
}
.zaufanie__item { text-align: center; color: var(--stone); }
.zaufanie__num {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--orange-light);
  margin-bottom: 6px;
  white-space: nowrap; /* keep "24-48h" from wrapping */
}

/* ============================================
   FAQ
   ============================================ */
.faq { background: var(--paper); }
.faq__list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.faq__item {
  background: #fff;
  border: 1px solid #e4dcca;
  border-radius: var(--radius);
  padding: 6px 20px;
}
.faq__item summary {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 20px;
  color: var(--orange);
}
.faq__item[open] summary::after { content: '–'; }
.faq__item p { color: #5c5347; font-size: 15px; margin: 0 0 16px; }

/* ============================================
   Contact
   ============================================ */
.kontakt { position: relative; background: var(--bg-dark); overflow: hidden; }
.kontakt__tiles {
  position: absolute;
  inset: 0;
  right: -10%;
  width: 60%;
  margin-left: auto;
  opacity: 0.16;
  background-image:
    linear-gradient(45deg, var(--orange) 25%, transparent 25%, transparent 75%, var(--orange) 75%),
    linear-gradient(45deg, var(--orange) 25%, transparent 25%, transparent 75%, var(--orange) 75%);
  background-size: 64px 64px;
  background-position: 0 0, 32px 32px;
  mask-image: linear-gradient(to left, black, transparent);
  -webkit-mask-image: linear-gradient(to left, black, transparent);
}
.kontakt__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.kontakt__gotowi {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--orange-light);
  margin: -28px 0 24px;
}
.kontakt__text { color: var(--stone); margin-bottom: 28px; max-width: 440px; }
.kontakt__phone {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  color: var(--orange-light);
  border-bottom: 2px solid var(--orange-light);
  padding-bottom: 4px;
}
@media (max-width: 800px) {
  .kontakt__inner { grid-template-columns: 1fr; gap: 40px; }
}

.form { display: flex; flex-direction: column; gap: 18px; }
/* form hidden until "Wypełnij formularz" / "Bezpłatna wycena" is clicked */
.form[hidden] { display: none; }
.form__row { display: flex; flex-direction: column; gap: 6px; }
.form__row label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--stone);
}
.form__row input, .form__row textarea {
  background: var(--bg-dark-2);
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  resize: vertical;
}
.form__row input:focus, .form__row textarea:focus {
  outline: 2px solid var(--orange-light);
  outline-offset: 1px;
}
/* service selection in the form — selectable pills */
.form__uslugi { display: flex; flex-wrap: wrap; gap: 10px; }
.usluga-check { position: relative; }
.usluga-check input { position: absolute; opacity: 0; pointer-events: none; }
.usluga-check span {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--stone-dark);
  border-radius: 999px;
  background: var(--bg-dark-2);
  color: var(--stone);
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.usluga-check span:hover { border-color: var(--orange-light); color: var(--cream); }
.usluga-check input:checked + span {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  font-weight: 600;
}
.usluga-check input:focus-visible + span { outline: 2px solid var(--orange-light); outline-offset: 1px; }
.form__status {
  min-height: 20px;
  font-size: 14px;
  color: var(--orange-light);
  margin: 0;
}

/* ============================================
   Form — photo
   ============================================ */
.btn--small { padding: 9px 16px; font-size: 14px; }
.photo-drop {
  background: var(--bg-dark-2);
  border: 1px dashed var(--stone-dark);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: text;
}
.photo-drop:focus-within {
  outline: 2px solid var(--orange-light);
  outline-offset: 1px;
}
.photo-drop__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.photo-drop__hint {
  font-size: 13px;
  color: var(--stone);
  margin: 0;
}
.photo-preview-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.photo-preview {
  max-height: 120px;
  max-width: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--stone-dark);
}
.photo-remove {
  background: none;
  border: 1px solid var(--stone-dark);
  color: var(--stone);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
}
.photo-remove:hover { color: var(--cream); border-color: var(--orange-light); }

/* ============================================
   Footer
   ============================================ */
.footer { background: var(--ink); color: var(--stone); }
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}
.footer a:hover { color: var(--cream); }
.footer__opis { text-align: center; }
.footer__opis p { margin: 0 0 6px; }
.footer__opis p:last-child { margin-bottom: 0; }
.footer__uslugi { color: var(--cream); font-weight: 600; }
.footer__info a { color: var(--orange-light); }
.footer__social { display: flex; align-items: center; gap: 20px; }
.footer__social a { display: inline-flex; transition: filter 0.15s ease; }
.footer__social a:nth-child(1) { color: #25D366; } /* WhatsApp — green */
.footer__social a:nth-child(2) { color: #1877F2; } /* Facebook — blue */
.footer__social a:nth-child(3) { color: #E1306C; } /* Instagram — pink */
.footer__social svg { width: 30px; height: 30px; }
.footer__social a:hover { filter: brightness(1.25); }
.footer__dane { width: 100%; margin: 0; font-size: 12px; color: #6b7a8a; }
@media (max-width: 768px) {
  /* on phones the footer stacks: logo on top, description in the middle, icons at the bottom — all centered */
  .footer__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 18px;
  }
}
.footer__polityka { font-size: 12px; color: #6b7a8a; text-decoration: underline; }

/* ============================================
   Before/after slider (built by script.js — FEATURES.suwakPrzedPo)
   ============================================ */
.galeria__para--suwak { grid-template-columns: 1fr; }
.suwak {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}
.suwak img { display: block; width: 100%; -webkit-user-drag: none; }
.suwak__przed {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
}
.suwak__przed img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  filter: grayscale(1);
}
.suwak__uchwyt {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  margin-left: -2px;
  background: var(--cream);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.45);
}
.suwak__uchwyt span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.suwak__uchwyt span::before {
  content: '\2194';
  display: block;
  width: 100%;
  line-height: 44px;
  text-align: center;
  color: #fff;
  font-size: 22px;
}
.suwak__label {
  position: absolute;
  top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius);
  pointer-events: none;
}
.suwak__label--przed { left: 10px; background: rgba(19, 42, 66, 0.82); color: var(--cream); }
.suwak__label--po { right: 10px; background: var(--orange); color: #fff; }

/* ============================================
   Lightbox (built by script.js — FEATURES.lightbox)
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 20, 32, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox__foto {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}
.lightbox__zamknij,
.lightbox__strzalka {
  position: absolute;
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  line-height: 1;
  padding: 10px 16px;
  transition: color 0.2s ease;
}
.lightbox__zamknij:hover,
.lightbox__strzalka:hover { color: var(--orange-light); }
.lightbox__zamknij { top: 12px; right: 14px; font-size: 42px; }
.lightbox__strzalka {
  top: 50%;
  transform: translateY(-50%);
  font-size: 56px;
}
.lightbox__strzalka--lewa { left: 4px; }
.lightbox__strzalka--prawa { right: 4px; }

/* ============================================
   Google review button
   ============================================ */
.opinie__zacheta {
  margin: 36px 0 0;
  text-align: center;
  color: var(--orange);
  font-weight: 600;
  font-size: 17px;
}
.opinie__cta { margin-top: 18px; text-align: center; }
/* pill with a blue-orange outline matching the site style */
.btn--google {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(90deg, #4285F4, var(--orange)) border-box;
  border: 2px solid transparent;
  color: var(--ink);
  padding: 14px 30px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(26, 37, 48, 0.10);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.btn--google:hover { box-shadow: 0 6px 18px rgba(26, 37, 48, 0.18); transform: translateY(-2px); }
.btn--google__logo { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================
   GDPR consent in the form
   ============================================ */
.form__row--zgoda { flex-direction: row; }
.zgoda {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--stone);
}
.zgoda input {
  margin: 2px 0 0;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--orange);
  cursor: pointer;
}
.zgoda a { color: var(--cream); text-decoration: underline; }
.zgoda a:hover { color: var(--orange-light); }

/* ============================================
   Floating contact bar (phone only)
   ============================================ */
.mobile-cta { display: none; }
@media (max-width: 768px) {
  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.22);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 10px;
    font-weight: 600;
    font-size: 15px;
  }
  .mobile-cta__btn svg { width: 20px; height: 20px; }
  .mobile-cta__btn--call { background: var(--orange); color: #fff; }
  .mobile-cta__btn--call:active { background: var(--orange-light); }
  .mobile-cta__btn--wa { background: #25d366; color: #fff; }
  .mobile-cta__btn--wa:active { background: #30e274; }
  /* the bar doesn't cover the footer */
  .footer { padding-bottom: 60px; }
}

/* ============================================
   Service area — map of Wielkopolska
   ============================================ */
.obszar {
  position: relative;
  background: var(--bg-dark-2);
  overflow: hidden;
}
.obszar__tiles {
  position: absolute;
  inset: 0;
  right: -10%;
  width: 60%;
  margin-left: auto;
  opacity: 0.16;
  background-image:
    linear-gradient(45deg, var(--orange) 25%, transparent 25%, transparent 75%, var(--orange) 75%),
    linear-gradient(45deg, var(--orange) 25%, transparent 25%, transparent 75%, var(--orange) 75%);
  background-size: 64px 64px;
  background-position: 0 0, 32px 32px;
  mask-image: linear-gradient(to left, black, transparent);
  -webkit-mask-image: linear-gradient(to left, black, transparent);
}
.obszar__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.obszar__text { color: var(--stone); font-size: 17px; margin-bottom: 28px; }
.obszar__miasta { display: flex; flex-direction: column; gap: 12px; }
.obszar__miasta li {
  color: var(--cream);
  padding-left: 24px;
  position: relative;
  font-size: 15px;
}
.obszar__miasta li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--orange);
}
.obszar__mapa img { width: 100%; max-width: 480px; margin: 0 auto; }
@media (max-width: 800px) {
  .obszar__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================
   Gallery — tile grid + vertical slider
   ============================================ */
.galeria__hint { margin: -24px 0 28px; font-size: 14px; color: var(--stone); }
.galeria__siatka {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
/* caption and social icons below the gallery */
.galeria__social {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.galeria__social p {
  margin: 0;
  color: var(--orange-light);
  font-weight: 600;
  font-size: 17px;
}
.galeria__social a { display: inline-flex; transition: filter 0.15s ease; }
.galeria__social a:hover { filter: brightness(1.25); }
.galeria__social svg { width: 27px; height: 27px; }
.galeria__social a:nth-of-type(1) { color: #1877F2; } /* Facebook — blue */
.galeria__social a:nth-of-type(2) { color: #E1306C; } /* Instagram — pink */
/* dark gallery background: lighter tile titles and rounded photo corners */
.galeria .galeria__kafel-tytul { color: var(--orange-light); }
.galeria .suwak,
.galeria .galeria__item { border-radius: 14px; }
.galeria__kafel--szeroki { grid-column: 1 / -1; }
.galeria__kafel-tytul {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin: 0 0 10px;
}
.galeria__siatka .galeria__para {
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: none;
}

/* vertical slider: "before" on top, "after" below */
.suwak--pion { touch-action: pan-y; cursor: ns-resize; }
.suwak--pion .suwak__przed {
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  width: 100%;
  height: 50%;
}
.suwak--pion .suwak__przed img { width: 100%; height: auto; }
.suwak--pion .suwak__uchwyt {
  top: 50%;
  left: 0;
  right: 0;
  bottom: auto;
  width: auto;
  height: 4px;
  margin: -2px 0 0;
  touch-action: none;
}
.suwak--pion .suwak__uchwyt span::before { content: '\2195'; }
.suwak--pion .suwak__label--po { top: auto; bottom: 10px; right: 10px; }

@media (max-width: 640px) {
  .galeria__siatka { gap: 14px; }
  .galeria__kafel-tytul { font-size: 11px; letter-spacing: 0.05em; }
  .suwak--pion .suwak__uchwyt span { width: 38px; height: 38px; }
  .suwak--pion .suwak__uchwyt span::before { line-height: 38px; font-size: 19px; }
}

/* ============================================
   Logo next to the phone number (contact section)
   ============================================ */
.kontakt__phone-wrap { display: flex; align-items: center; justify-content: center; gap: 14px; }
.kontakt__email {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  color: var(--orange-light);
  border-bottom: 2px solid var(--orange-light);
  padding-bottom: 3px;
}
.kontakt__email:hover { filter: brightness(1.2); }
.kontakt__form-link {
  display: block;
  width: fit-content;
  margin: 22px auto 0;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--orange-light);
  border-bottom: 2px solid var(--orange-light);
  padding-bottom: 4px;
  cursor: pointer;
}
.kontakt__form-link:hover { filter: brightness(1.2); }
.kontakt__logo {
  height: 54px;
  width: 54px;
  object-fit: contain;
  background: var(--cream);
  border-radius: 50%;
  padding: 5px;
}

/* ============================================
   Mobile version — compact top + hamburger menu
   ============================================ */
@media (max-width: 768px) {
  /* contact bar: single line instead of a column, no scaling on scroll */
  .topbar { padding: 8px 16px; }
  .topbar__contact {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
  }
  .topbar__phone { font-size: 17px; }
  .topbar__phone-icon { width: 17px; height: 17px; }
  .topbar__wa svg { width: 22px; height: 22px; }
  body.is-scrolled .topbar__phone { transform: none; }
  body.is-scrolled .topbar__wa { transform: none; }

  /* header: small logo + hamburger */
  .header__inner { padding: 8px 16px; }
  .header .logo,
  .header--scrolled .logo { padding: 6px 20px; }
  .logo__img,
  .header--scrolled .logo__img { height: 44px; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 12px;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: var(--cream);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* dropdown menu below the header */
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--stone-dark);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
    font-size: 16px;
  }
  .nav.nav--open { display: flex; }
  .nav a { padding: 14px 24px; border-top: 1px solid var(--stone-dark); }

  /* smaller section and footer spacing */
  .section__inner { padding: 52px 20px; }
  .hero__inner { padding: 60px 20px 52px; }
  .section__title { margin-bottom: 28px; }
  .galeria__temat { margin-bottom: 36px; }
  .kontakt__inner { gap: 32px; }
  .footer .logo { padding: 8px 24px; }
  .logo__img--footer { height: 54px; }
  .footer__inner { padding: 24px 16px; }
}

/* ============================================
   Service cards — price + "Dowiedz się więcej" button
   ============================================ */
.card { display: flex; flex-direction: column; align-items: flex-start; }
.card__price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #2f7de1; /* blue price accent */
  margin: 14px 0 0;
}
.card__btn { margin-top: 14px; }
.card > p:first-of-type { flex-grow: 1; } /* descriptions vary in length — prices and buttons aligned to the bottom */
.uslugi__note { margin: 28px 0 0; font-size: 14px; color: #8b8272; max-width: 640px; }
.uslugi__lede { font-size: 18px; color: #5c5347; margin: -24px 0 40px; max-width: 720px; }

/* ============================================
   Services subpage (uslugi.html)
   ============================================ */
.podstrona-hero { background: var(--bg-dark); position: relative; overflow: hidden; }
.podstrona-hero .hero__inner { padding: 72px 24px 56px; }
.podstrona-hero .hero__title { font-size: clamp(30px, 5vw, 52px); }
.podstrona-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; justify-content: center; }
.podstrona-nav .btn { display: inline-flex; align-items: center; gap: 9px; }
.podstrona-nav svg { width: 20px; height: 20px; flex-shrink: 0; }

.usluga__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.usluga__head .section__title { margin-bottom: 0; }
.usluga__cena {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #2f7de1; /* blue price accent */
  white-space: nowrap;
}
.section__title--light + .usluga__cena, .usluga--dark .usluga__cena { color: #8ec2ff; } /* lighter blue on dark background */
.usluga__text { font-size: 17px; max-width: 720px; margin: 0 0 18px; color: #5c5347; }
.usluga--dark .usluga__text { color: var(--stone); }
.usluga__lista { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.usluga__lista li { padding-left: 24px; position: relative; font-size: 15px; }
.usluga__lista li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--orange);
}
.usluga--dark .usluga__lista li { color: var(--cream); }
.usluga__foto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 0 auto 32px; /* centered photos */
  justify-items: center;
}
.usluga__foto .galeria__item { width: 100%; }
.usluga__foto .galeria__item img { aspect-ratio: 4 / 3; object-fit: cover; }
.usluga__cta { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .usluga__foto { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* list subtitles, price note and highlighted sentences on the subpage */
.usluga__podtytul {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin: 0 0 14px;
}
.usluga--dark .usluga__podtytul { color: var(--orange-light); }
.usluga__cena-info { font-size: 14px; font-weight: 600; color: var(--stone); margin: -4px 0 18px; }
.usluga__wyroznienie { font-weight: 600; color: var(--orange); margin: -14px 0 32px; max-width: 720px; }
.usluga--dark .usluga__wyroznienie { color: var(--orange-light); }

/* "Dlaczego warto nam zaufać?" section */
.zaufaj { background: var(--paper); }
.zaufaj__lista { display: flex; flex-direction: column; gap: 16px; }
.zaufaj__lista li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.zaufaj__lista svg { width: 26px; height: 26px; color: #22a35c; flex-shrink: 0; }
