/* ==========================================================
   IQ Technik – projekt 2 (landing nastawiony na konwersję)
   Paleta: grafit + ciepły „budowlany” bursztyn + ciepła biel
   ========================================================== */

:root {
  --graphite-900: #16181c;
  --graphite-800: #1d2025;
  --graphite-700: #262a31;
  --graphite-600: #343943;
  --graphite-400: #8a909b;
  --accent: #f2a33a;
  --accent-600: #e08b1c;
  --accent-soft: #fdf0dc;
  --cream: #f6f1ea;
  --cream-2: #efe7dc;
  --paper: #fffdfa;
  --ink: #1d2025;
  --ink-soft: #4d4a46;
  --line: #e2d9cc;
  --on-dark: #f3efe9;
  --on-dark-soft: #b9bcc3;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(22, 24, 28, .28);
  --shadow-lg: 0 30px 60px -25px rgba(22, 24, 28, .55);
  --header-h: 68px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: 72px; /* miejsce na mobilny pasek */
}
@media (min-width: 960px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 750; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--accent); color: var(--ink); padding: .7rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.section-light :focus-visible, .section-warm :focus-visible, .cta-band :focus-visible { outline-color: var(--graphite-800); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 56px; padding: .9rem 1.7rem; font-size: 1.075rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--graphite-900); box-shadow: 0 8px 22px -10px rgba(242, 163, 58, .8); }
.btn-accent:hover { background: #f7b457; }
.btn-ghost { border-color: rgba(243, 239, 233, .35); color: var(--on-dark); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, .1); }
.btn-dark { background: var(--graphite-800); color: var(--on-dark); }
.btn-dark:hover { background: var(--graphite-900); }
.btn-outline-dark { border-color: var(--graphite-800); color: var(--graphite-800); background: transparent; }
.btn-outline-dark:hover { background: var(--graphite-800); color: var(--on-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow-dark { color: #9a5a08; } /* ciemniejszy bursztyn – kontrast na jasnym tle */

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22, 24, 28, .94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: var(--on-dark);
}
.header-inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.brand { display: block; flex-shrink: 0; margin-right: auto; }
.brand img { height: 42px; width: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; }

.header-phone {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--graphite-900);
  background: var(--accent); border-radius: 999px;
  padding: .5rem .9rem; font-weight: 800; white-space: nowrap;
}
.header-phone:hover { background: #f7b457; }
.header-phone-text small { display: none; }
.header-phone-text { font-size: .98rem; }

.nav-toggle {
  width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .15);
  background: transparent; color: var(--on-dark); cursor: pointer; display: grid; place-items: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobilne */
@media (max-width: 959.98px) {
  .header-phone { padding: .55rem; }
  .header-phone-text { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--graphite-900); border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: .5rem 1.25rem 1.5rem; box-shadow: var(--shadow-lg);
    display: none;
  }
  .main-nav.is-open { display: block; animation: drop .2s ease-out; }
  .main-nav li a { display: block; padding: .95rem .25rem; font-size: 1.15rem; font-weight: 650; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .nav-cta-mobile { width: 100%; margin-top: 1.25rem; }
  /* bez JS menu zawsze dostępne */
  html:not(.js) .main-nav { display: block; position: static; box-shadow: none; padding: 0; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .header-inner { flex-wrap: wrap; height: auto; padding-block: .6rem; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (min-width: 960px) {
  .nav-toggle, .main-nav .nav-cta-mobile { display: none; }
  .main-nav ul { display: flex; gap: .25rem; }
  .main-nav a {
    display: block; padding: .5rem .75rem; border-radius: 8px; font-weight: 600; font-size: .97rem;
    color: var(--on-dark-soft); transition: color .2s, background-color .2s;
  }
  .main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
  .main-nav a.is-current { color: #fff; }
  .header-phone { padding: .45rem 1.1rem .45rem .85rem; margin-left: .75rem; }
  .header-phone-text { display: flex; flex-direction: column; line-height: 1.1; font-size: 1.1rem; }
  .header-phone-text small { display: block; font-size: .7rem; font-weight: 600; opacity: .8; letter-spacing: .02em; }
  :root { --header-h: 78px; }
  .brand img { height: 48px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(242, 163, 58, .16), transparent 60%),
    linear-gradient(180deg, var(--graphite-900), var(--graphite-800));
  color: var(--on-dark);
  padding: 2.5rem 0 2rem;
}
.hero::before { /* subtelna siatka „z planu technicznego” */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.9rem); font-weight: 850; letter-spacing: -.03em; margin-bottom: 1.1rem; }
.hero .hl { color: var(--accent); }
.hero-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--on-dark-soft); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.75rem 0 1rem; }
.hero-cta .btn { flex: 1 1 240px; }
.hero-note { font-size: .93rem; color: var(--on-dark-soft); }
.hero-note a { color: var(--accent); font-weight: 600; }

.hero-media { position: relative; padding: 0 0 1.5rem 0; }
.hero-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 11; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::before { /* bursztynowy akcent za zdjęciem */
  content: ""; position: absolute; right: -8px; top: -10px; width: 45%; height: 55%;
  border: 3px solid var(--accent); border-radius: var(--radius-lg); z-index: -0; opacity: .85;
}
.hero-photo { position: relative; z-index: 1; }
.hero-photo-small { display: none; }
.hero-badge {
  position: absolute; z-index: 2; left: 1rem; bottom: 0; margin: 0;
  background: var(--paper); color: var(--ink); border-radius: 12px; padding: .6rem 1rem;
  font-weight: 700; font-size: .95rem; box-shadow: var(--shadow);
}
.hero-badge span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #9a5a08; }

@media (min-width: 960px) {
  .hero { padding: 4.5rem 0 2.5rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .hero-cta .btn { flex: 0 0 auto; }
  .hero-media { padding: 0 0 3rem 2.5rem; }
  .hero-photo-small {
    display: block; position: absolute; z-index: 2; left: -1rem; bottom: 0; width: 38%;
    margin: 0; border-radius: var(--radius); overflow: hidden; border: 5px solid var(--graphite-800); box-shadow: var(--shadow-lg);
  }
  .hero-badge { left: auto; right: 1.25rem; bottom: 1rem; }
}

.trust-bar {
  position: relative; list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); overflow: hidden;
}
.trust-bar li { display: flex; align-items: center; gap: .9rem; padding: .85rem 1.1rem; background: var(--graphite-800); font-size: .9rem; color: var(--on-dark-soft); line-height: 1.35; }
.trust-bar strong { display: block; color: var(--on-dark); font-size: 1rem; }
.trust-bar svg { width: 30px; height: 30px; flex-shrink: 0; color: var(--accent); }
@media (min-width: 600px) { .trust-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .trust-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 3.5rem; }
  .trust-bar li { padding: 1.25rem 1.4rem; }
}

/* ---------- Sekcje ---------- */
.section { padding: clamp(4rem, 3rem + 4vw, 7rem) 0; }
.section-light { background: var(--paper); }
.section-warm { background: var(--cream); }
.section-dark { background: var(--graphite-800); color: var(--on-dark); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-lead { font-size: 1.12rem; color: var(--ink-soft); }
.section-dark .section-lead { color: var(--on-dark-soft); }

/* ---------- Oferta ---------- */
.services { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.service {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem 1.5rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3c6b4; }
.service:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.service-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--accent-soft); color: #b0650a; margin-bottom: 1.25rem;
}
.service-icon svg { width: 34px; height: 34px; }
.service > p { color: var(--ink-soft); }
.service-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .4rem; font-size: .97rem; }
.service-list li { position: relative; padding-left: 1.5rem; }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 6px;
  border-left: 2.5px solid var(--accent-600); border-bottom: 2.5px solid var(--accent-600); transform: rotate(-45deg);
}
.service-cta {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px;
  font-weight: 750; color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--accent);
}
.service-cta span { transition: transform .2s; }
.service-cta:hover span { transform: translateX(4px); }
.service-cta-card {
  background: var(--graphite-800); color: var(--on-dark); border-color: var(--graphite-800);
  justify-content: center;
  background-image: radial-gradient(400px 200px at 100% 0%, rgba(242, 163, 58, .22), transparent 70%);
}
.service-cta-card p { color: var(--on-dark-soft); }
.service-cta-card .btn { align-self: flex-start; font-size: 1.15rem; }

/* ---------- Galeria ---------- */
.filters { display: flex; gap: .5rem; overflow-x: auto; padding: 2px 2px 1rem; margin: 0 -1.25rem 1rem; padding-inline: 1.25rem; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .filters { flex-wrap: wrap; margin-inline: 0; padding-inline: 2px; } }
.filter {
  flex-shrink: 0; min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: var(--on-dark-soft);
  font: inherit; font-weight: 650; font-size: .95rem; cursor: pointer; transition: all .2s;
}
.filter:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: var(--graphite-900); }
html:not(.js) .filters { display: none; }

.gallery {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem;
  grid-auto-flow: dense;
}
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: .9rem; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gal-item { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--graphite-700); }
.gallery:not(.is-filtered) .gal-item:first-child { grid-column: span 2; grid-row: span 2; }
.gal-item[hidden] { display: none; }
.gal-link { display: block; width: 100%; height: 100%; position: relative; }
.gal-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.gal-link::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16, 18, 21, .75));
  opacity: .85; transition: opacity .3s;
}
.gal-link:hover img, .gal-link:focus-visible img { transform: scale(1.05); }
.gal-link:focus-visible { outline-offset: -3px; }
.gal-tag {
  position: absolute; z-index: 1; left: .7rem; bottom: .6rem;
  font-size: .75rem; font-weight: 750; letter-spacing: .04em; color: #fff;
  background: rgba(22, 24, 28, .55); padding: .2rem .55rem; border-radius: 6px;
}
.gallery-more { text-align: center; margin-top: 2rem; }

/* ---------- Pas CTA ---------- */
.cta-band { background: var(--accent); color: var(--graphite-900); padding: clamp(2.5rem, 2rem + 2vw, 3.75rem) 0; }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); margin-bottom: .25rem; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band-actions .btn { flex: 1 1 220px; }
.cta-band .btn-outline-dark:hover { background: var(--graphite-900); }

/* ---------- Kroki ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.step { position: relative; padding: 1.75rem 1.5rem; border-radius: var(--radius-lg); background: var(--cream); }
.step-num {
  display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--graphite-800); color: var(--accent); font-weight: 850; font-size: 1.1rem; margin-bottom: 1.1rem;
  box-shadow: 0 0 0 6px var(--paper);
}
.step p { color: var(--ink-soft); margin: 0; }
@media (min-width: 1024px) {
  .step:not(:last-child)::after { /* łącznik między krokami */
    content: ""; position: absolute; top: 3.4rem; left: calc(1.5rem + 62px); right: -1.5rem; height: 2px;
    background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px);
  }
}

/* ---------- O firmie ---------- */
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; } }
.about-media { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem; align-items: center; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.about-media img:first-child { aspect-ratio: 3 / 4; }
.about-media img:last-child { aspect-ratio: 2 / 3; margin-top: 5rem; }
.about-copy p:not(.eyebrow) { color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: grid; gap: .9rem; }
.checks li { position: relative; padding-left: 2.4rem; color: var(--ink-soft); }
.checks strong { color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--graphite-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23f2a33a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---------- Obszar ---------- */
.area-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .area-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.area-copy p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.08rem; }
.area-copy p strong { color: var(--ink); }
.area-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.area-svg { width: 100%; max-width: min(440px, 80vw); margin-inline: auto; display: block; filter: drop-shadow(0 20px 30px rgba(22, 24, 28, .12)); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .75rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 3.5rem 1.15rem 1.35rem; position: relative;
  font-weight: 750; font-size: 1.08rem; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: #9a5a08; font-size: 1.4rem; font-weight: 600; transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.35rem 1.25rem; margin: 0; color: var(--ink-soft); }

/* ---------- Kontakt ---------- */
.contact { background-image: radial-gradient(800px 400px at 0% 100%, rgba(242, 163, 58, .12), transparent 60%); }
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; align-items: start; } }
.big-phone {
  display: inline-flex; align-items: center; gap: .9rem; margin: .5rem 0 2rem;
  font-family: var(--font-display); font-size: clamp(2.3rem, 1.5rem + 3.6vw, 3.7rem); font-weight: 850; letter-spacing: -.02em;
  color: var(--accent); text-decoration: none; line-height: 1;
}
.big-phone svg { flex-shrink: 0; background: var(--accent); color: var(--graphite-900); border-radius: 50%; padding: 12px; width: 60px; height: 60px; }
.big-phone:hover { color: #f7b457; }
.contact-list { margin: 0; display: grid; gap: 1.25rem; }
.contact-list div { display: grid; gap: .15rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.contact-list dt { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); }
.contact-list dd { margin: 0; font-size: 1.08rem; }
.contact-list a { color: var(--on-dark); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.contact-list a:hover { color: var(--accent); }

.contact-form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-lg); }
.contact-form-card h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.form-intro { color: var(--ink-soft); font-size: .95rem; }
.contact-form :focus-visible { outline-color: var(--graphite-800); }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 700; font-size: .95rem; }
.req { font-weight: 500; color: var(--ink-soft); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #cfc5b7; border-radius: 10px; padding: .8rem .9rem; min-height: 50px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-600); box-shadow: 0 0 0 4px rgba(242, 163, 58, .25); outline: none; }
.field input:user-invalid { border-color: #b3261e; }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: .75rem; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin: .15rem 0 0; accent-color: var(--accent-600); }
.field-check label { font-weight: 500; font-size: .9rem; color: var(--ink-soft); }
.field-check a { color: var(--ink); font-weight: 650; }
.form-status { margin: 1rem 0 0; font-weight: 650; min-height: 1.5em; }
.form-status.is-ok { color: #1f6b35; }
.form-status.is-err { color: #b3261e; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--graphite-900); color: var(--on-dark-soft); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
.footer-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer-grid > div:first-child { grid-column: auto; } }
.footer-logo { height: 44px; width: auto; margin-bottom: 1rem; }
.footer-h { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); margin-bottom: .8rem; font-weight: 800; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; line-height: 2; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Mobilny pasek ---------- */
.mobile-bar {
  position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: .5rem;
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
  background: rgba(22, 24, 28, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; border-radius: 12px; font-weight: 800; text-decoration: none; font-size: 1.05rem;
}
.mobile-bar-call { background: var(--accent); color: var(--graphite-900); }
.mobile-bar-write { border: 1.5px solid rgba(255, 255, 255, .25); color: var(--on-dark); }
@media (min-width: 960px) { .mobile-bar { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(12, 13, 15, .94);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 1rem;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: .9rem; min-width: 0; grid-column: 2; }
.lb-img { max-height: calc(100vh - 9rem); max-height: calc(100dvh - 9rem); width: auto; max-width: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb-caption { color: var(--on-dark); text-align: center; font-size: 1rem; max-width: 60ch; }
.lb-caption small { display: block; color: var(--on-dark-soft); font-size: .85rem; margin-top: .2rem; }
.lb-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { position: absolute; top: 1rem; right: 1rem; }
.lb-prev { grid-column: 1; }
.lb-next { grid-column: 3; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; padding: 4.5rem .5rem 5.5rem; }
  .lb-figure { grid-column: 1; }
  .lb-prev, .lb-next { position: absolute; bottom: 1.25rem; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}
body.lb-open { overflow: hidden; }

/* ---------- Animacje przy scrollu (tylko z JS i bez reduced-motion) ---------- */
.anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.anim .reveal.is-visible { opacity: 1; transform: none; }
.anim .services .reveal:nth-child(3n+2), .anim .steps .reveal:nth-child(2) { transition-delay: .08s; }
.anim .services .reveal:nth-child(3n), .anim .steps .reveal:nth-child(3) { transition-delay: .16s; }
.anim .steps .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- Druk ---------- */
@media print {
  .site-header, .mobile-bar, .lightbox, .filters, .gallery-more, .contact-form-card { display: none !important; }
  body { padding: 0; }
}

/* Kroki – zwarta wersja na telefonie */
@media (max-width: 699.98px) {
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; padding: 1.25rem; }
  .step-num { grid-row: span 2; width: 46px; height: 46px; font-size: 1rem; margin: 0; box-shadow: none; }
  .step h3 { margin-bottom: .25rem; align-self: center; }
}
@media (min-width: 768px) { .cta-band-actions .btn { flex: 0 0 auto; } }
