/* ===== Biuro Projektowe Drago - oświetlenie, WARIANT 2 (po uwagach klienta 2026-10-28) =====
   Ładowany PO /css/drago.css. Klasy z prefiksem bpo2- (niezależne od wariantu 1, który zostaje bez zmian). */
.bpo2 {
  --z: #14ab57; --z-ciemna: #0a7d3c; --noc: #13201a; --swiatlo: #ffc25a; --swiatlo-2: #ffd88f;
  --kamien: #ebe7df; --tekst: #1a1f1c; --szary: #59605b; --linia: #d9d4ca;
  color: var(--tekst);
}
:where(.bpo2) :where(h1, h2, h3, p, figure, ul) { margin: 0; }
.bpo2-wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 5%; box-sizing: border-box; }
@media (min-width: 1300px) { .bpo2-wrap { padding: 0; } }
.bpo2-sekcja { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.bpo2-h2 { font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.4rem); font-weight: 500; line-height: 1.15; letter-spacing: -.015em; max-width: 30ch; }
.bpo2-h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.bpo2-wstep { margin-top: 1rem !important; max-width: 40rem; color: var(--szary); font-size: 1.0625rem; line-height: 1.6; }
.bpo2-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- przyciski --- */
.bpo2-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .75rem 1.75rem; border-radius: 999px; border: 0;
  font: inherit; font-weight: 500; text-decoration: none !important; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.bpo2-btn--ciemny { background: #1d1d1b; color: #fff !important; }
.bpo2-btn--ciemny:hover { background: var(--z-ciemna); }
.bpo2-btn--obrys { background: transparent; color: var(--tekst) !important; box-shadow: inset 0 0 0 1.5px #1d1d1b; }
.bpo2-btn--obrys:hover { background: #1d1d1b; color: #fff !important; }
.bpo2-btn--swiatlo { background: var(--swiatlo); color: var(--noc) !important; }
.bpo2-btn--swiatlo:hover { background: var(--swiatlo-2); box-shadow: 0 0 28px rgba(255,194,90,.45); }
.bpo2-btn--pelny { width: 100%; }
.bpo2-btn[disabled] { opacity: .6; cursor: progress; }
.bpo2 a:focus-visible, .bpo2 button:focus-visible, .bpo2 summary:focus-visible { outline: 3px solid var(--z); outline-offset: 3px; }

/* --- HERO: pełny ekran pod paskiem menu, bez odstępów --- */
.bpo2-hero { position: relative; height: calc(100vh - 4.5rem); height: calc(100svh - var(--bpo2-nav, 4.5rem)); min-height: 30rem;
  display: grid; place-items: center; overflow: hidden; color: #fff; background: var(--noc); isolation: isolate; margin: 0; }
.bpo2-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bpo2-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(10,18,13,.3) 0%, rgba(10,18,13,.7) 100%); }
.bpo2-hero__tresc { text-align: center; padding: 2rem 5%; }
.bpo2-hero__ikona { width: 6rem; height: 6rem; margin: 0 auto 1.5rem; display: block; filter: drop-shadow(0 0 30px rgba(255,255,255,.25)); }
.bpo2-hero__tytul { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.bpo2-hero__podtytul { margin-top: 1rem !important; font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); font-weight: 300; color: #f3eee3; }
.bpo2-hero__dalej { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: #fff; padding: .5rem; animation: bpo2-odbicie 2.4s ease-in-out infinite; }
@keyframes bpo2-odbicie { 0%, 60%, 100% { transform: translate(-50%, 0); } 30% { transform: translate(-50%, 8px); } }

/* --- INTRO --- */
.bpo2-intro__siatka { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.bpo2-intro__lewa p { font-size: 1.0625rem; line-height: 1.65; color: var(--szary); max-width: 38rem; margin-bottom: 1rem; }
.bpo2-intro__lewa .bpo2-lead { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); line-height: 1.35; font-weight: 500; color: var(--tekst); letter-spacing: -.01em; }
.bpo2-przyciski { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.bpo2-obejmuje { background: var(--kamien); border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.bpo2-obejmuje ul { list-style: none; padding: 0; margin-top: 1rem; display: grid; gap: .85rem; counter-reset: el; }
.bpo2-obejmuje li { position: relative; padding-left: 1.6rem; line-height: 1.55; font-size: .975rem; }
.bpo2-obejmuje li::before { content: ""; position: absolute; left: 0; top: .55rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--z); }

/* --- KORZYŚCI (bez ikonek, wszystko na jednej linii z nagłówkiem) --- */
.bpo2-korzysci { padding-top: 0; }
.bpo2-doswiadczenie { margin-top: 1.25rem; max-width: none; } /* 2026-11-03: tekst na pełną szerokość (uwaga klienta) */
.bpo2-doswiadczenie p { color: var(--szary); font-size: 1.0625rem; line-height: 1.65; margin-bottom: .75rem; }
.bpo2-korzysci__lista { list-style: none; margin: 2.75rem 0 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 3rem; }
.bpo2-korzysci__lista li { margin: 0; padding: 1.25rem 0 0; border-top: 1px solid var(--linia); }
.bpo2-korzysci__lista h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; margin-bottom: .6rem; }
.bpo2-korzysci__lista p { font-size: .975rem; line-height: 1.6; color: var(--szary); }

/* --- STREFY --- */
.bpo2-strefy-sekcja { background: var(--kamien); }
.bpo2-strefy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.bpo2-strefy img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; background: var(--noc); }
.bpo2-strefy figcaption { margin-top: .75rem; text-align: left; }
.bpo2-strefy figcaption strong { display: block; font-size: 1.05rem; font-weight: 500; }
.bpo2-strefy figcaption span { color: var(--szary); font-size: .9rem; }

/* --- REALIZACJE (karuzela bez zmian względem wariantu 1) --- */
.bpo2-realizacje__gora { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 1.75rem; }
.bpo2-strzalki { display: flex; gap: .5rem; flex: none; }
.bpo2-strzalka { width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid #1d1d1b; background: #fff; color: #1d1d1b; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s; }
.bpo2-strzalka:hover { background: #1d1d1b; color: #fff; }
.bpo2-strzalka[disabled] { opacity: .3; cursor: default; background: #fff; color: #1d1d1b; }
.bpo2-karuzela { list-style: none; margin: 0; padding: 0 max(5%, calc((100vw - 72rem) / 2)); display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(16rem, 30vw, 24rem); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 max(5%, calc((100vw - 72rem) / 2)); scrollbar-width: none; }
.bpo2-karuzela::-webkit-scrollbar { display: none; }
.bpo2-karuzela li { scroll-snap-align: start; margin: 0; }
.bpo2-karuzela img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; background: var(--noc); }

/* --- ZAMÓWIENIE --- */
.bpo2-zamow { background: var(--kamien); scroll-margin-top: 0; }
.bpo2-zamow__siatka { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.bpo2-zamow__lewa { position: sticky; top: 6rem; }
.bpo2-info { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-left: 3px solid var(--z); background: rgba(255,255,255,.6); border-radius: 0 12px 12px 0; font-size: .95rem; line-height: 1.6; }
.bpo2-info p + p { margin-top: .5rem; }
.bpo2-info a { color: var(--z-ciemna); font-weight: 500; }
.bpo2-faq { margin-top: 2rem; border-top: 1px solid var(--linia); }
.bpo2-faq details { border-bottom: 1px solid var(--linia); }
.bpo2-faq summary { list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-weight: 500; font-size: 1.0625rem; }
.bpo2-faq summary::-webkit-details-marker { display: none; }
.bpo2-faq summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: .75rem; height: .75rem; margin-top: -.5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s; }
.bpo2-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -.1rem; }
.bpo2-faq details p { padding: 0 0 1.2rem; color: var(--szary); line-height: 1.6; }

/* karta (formularz i kontakt - ten sam styl) */
.bpo2-karta { background: #fff; border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.25rem); box-shadow: 0 30px 80px -35px rgba(19,32,26,.45); }
.bpo2-form { margin: 0; }
.bpo2-wymagane { font-size: .8125rem; color: var(--szary); margin-bottom: .5rem !important; }
.bpo2-grupa { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
.bpo2-grupa legend { font-size: 1.05rem; font-weight: 600; padding: 0; margin: 1rem 0 .75rem; }
.bpo2-dwa { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.bpo2-pole { display: block; margin: 0 0 .9rem; font-weight: 400; }
.bpo2-pole > span { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .3rem; }
.bpo2-pole input, .bpo2-pole select, .bpo2-pole textarea { display: block; width: 100%; box-sizing: border-box; min-height: 3rem; padding: .7rem .95rem; margin: 0;
  border: 1.5px solid var(--linia); border-radius: 12px; font: inherit; font-size: 1rem; color: var(--tekst); background: #fff; }
.bpo2-pole textarea { min-height: 6.5rem; resize: vertical; }
.bpo2-pole select { appearance: none; padding-right: 2.6rem; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1f1c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .85rem center / 1.1rem no-repeat; }
.bpo2-pole input:focus, .bpo2-pole select:focus, .bpo2-pole textarea:focus { outline: none; border-color: var(--z); box-shadow: 0 0 0 3px rgba(20,171,87,.18); }
.bpo2-pole input:user-invalid, .bpo2-pole select:user-invalid { border-color: #c0392b; }
.bpo2-pole small { display: block; margin-top: .3rem; color: var(--szary); font-size: .8rem; line-height: 1.45; }
.bpo2-pole small.is-blad { color: #b3261e; }
.bpo2-opis { font-size: .9rem; line-height: 1.55; color: var(--szary); margin-bottom: 1rem !important; }
.bpo2-plik input[type="file"] { padding: .5rem; cursor: pointer; background: #faf9f6; border-style: dashed; }
.bpo2-plik input[type="file"]::file-selector-button { border: 0; border-radius: 999px; background: #1d1d1b; color: #fff; padding: .45rem 1rem; margin-right: .75rem; font: inherit; font-size: .875rem; cursor: pointer; }
.bpo2-zgoda { display: flex; gap: .7rem; align-items: flex-start; margin: 0 0 .9rem; font-size: .8125rem; line-height: 1.5; color: var(--szary); font-weight: 400; cursor: pointer; }
.bpo2-zgoda input { flex: none; width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; accent-color: var(--z); }
.bpo2-zgoda a { color: inherit; text-decoration: underline; }
.bpo2-form .bpo2-btn { margin-top: .75rem; }
.bpo2-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.bpo2-blad { margin-top: .9rem !important; padding: .85rem 1rem; border-radius: 12px; background: #fdecea; color: #8a1c14; font-size: .925rem; }
.bpo2-sukces { padding: 1rem 0; }
.bpo2-sukces h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: .5rem; }
.bpo2-sukces p { color: var(--szary); line-height: 1.6; }

/* kontakt */
.bpo2-kontakt-sekcja { padding-top: 0; background: var(--kamien); }
.bpo2-kontakt .bpo2-h2 { margin-bottom: 1.5rem; }
.bpo2-kontakt__karty { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.bpo2-karta-kontakt { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 1.5rem; border-radius: 18px;
  background: var(--swiatlo); color: #1d1d1b !important; text-decoration: none !important; line-height: 1.4; transition: background-color .2s, box-shadow .2s, transform .2s; } /* 2026-11-04: kolor jak przycisk "Wyślij zgłoszenie", tekst i ikony czarne (uwaga klienta) */
.bpo2-karta-kontakt strong { font-weight: 600; font-size: 1.15rem; }
.bpo2-karta-kontakt:hover { background: var(--swiatlo-2); box-shadow: 0 0 28px rgba(255,194,90,.45); transform: translateY(-2px); }
.bpo2-karta-kontakt svg { flex: none; }

/* --- RWD --- */
@media (max-width: 991px) {
  .bpo2-intro__siatka, .bpo2-zamow__siatka { grid-template-columns: 1fr; }
  .bpo2-zamow__lewa { position: static; }
  .bpo2-korzysci__lista { grid-template-columns: 1fr 1fr; }
  .bpo2-strefy { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .bpo2-hero { height: calc(100svh - var(--bpo2-nav, 4rem)); }
  .bpo2-korzysci__lista, .bpo2-dwa, .bpo2-kontakt__karty { grid-template-columns: 1fr; }
  .bpo2-korzysci__lista { gap: 1.75rem; }
  .bpo2-strefy { gap: 1rem; }
  .bpo2-realizacje__gora { align-items: center; }
  .bpo2-strzalka { width: 2.6rem; height: 2.6rem; }
  .bpo2-karuzela { grid-auto-columns: 78vw; }
  .bpo2-przyciski .bpo2-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .bpo2-hero__dalej { animation: none; } }

/* menu "Biuro projektowe" - od 2026-10-29 w /css/menu-biuro.css (cały serwis) */

/* --- runda 3 (2026-10-29): mniej miejsca wokół sekcji "Każda strefa..." + pojawianie się zdjęć --- */
.bpo2-korzysci { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.bpo2-strefy-sekcja { padding: clamp(2.25rem, 4vw, 3.5rem) 0; }
.bpo2-strefy { margin-top: 1.75rem; }
.bpo2-strefy figure { margin: 0; } /* drago.css dawał 3rem nad i pod każdym zdjęciem */
.bpo2-kontakt__wstep { margin: .5rem 0 1.5rem !important; }
.bpo2-kontakt .bpo2-h2 { margin-bottom: 0; max-width: 34ch; }
.js-pojaw [data-pojaw] > * { opacity: 0; transform: translateY(28px); }
.js-pojaw [data-pojaw].is-widoczne > * { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s ease; }
.js-pojaw [data-pojaw].is-widoczne > *:nth-child(2) { transition-delay: .12s; }
.js-pojaw [data-pojaw].is-widoczne > *:nth-child(3) { transition-delay: .24s; }
.js-pojaw [data-pojaw].is-widoczne > *:nth-child(4) { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .js-pojaw [data-pojaw] > * { opacity: 1; transform: none; transition: none; } }

/* 2026-11-03: wstęp sekcji stref na pełną szerokość (uwaga klienta) */
.bpo2-strefy-sekcja .bpo2-wstep { max-width: none; }

/* 2026-11-04: przykładowe projekty (plansze A3 od klienta) - cała plansza widoczna, kliknięcie powiększa */
.bpo2-karuzela--plansze { grid-auto-columns: clamp(18rem, 40vw, 34rem); padding-top: .25rem; padding-bottom: 1.5rem; }
.bpo2-plansza { position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 1px solid var(--linia); border-radius: 14px; background: #fff;
  overflow: hidden; cursor: zoom-in; font: inherit; color: inherit; transition: box-shadow .25s, transform .25s; }
.bpo2-plansza:hover { box-shadow: 0 18px 40px -22px rgba(19,32,26,.45); transform: translateY(-2px); }
.bpo2-plansza:focus-visible { outline: 3px solid var(--z); outline-offset: 3px; }
.bpo2-karuzela--plansze .bpo2-plansza img { aspect-ratio: 2000 / 1414; object-fit: contain; background: #fff; border-radius: 0; }
.bpo2-plansza__lupa { position: absolute; right: .75rem; bottom: .75rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center;
  background: #1d1d1b; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.2); transition: background-color .2s; }
.bpo2-plansza:hover .bpo2-plansza__lupa { background: var(--z-ciemna); }

/* podgląd w powiększeniu */
.bpo2-lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,18,13,.97); color: #fff; overflow: hidden; }
.bpo2-lightbox[open] { display: grid; place-items: center; }
.bpo2-lightbox::backdrop { background: rgba(10,18,13,.6); }
.bpo2-lightbox__figura { margin: 0; padding: 4.5rem 4.5rem 3rem; box-sizing: border-box; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; }
.bpo2-lightbox__figura img { display: block; max-width: calc(100vw - 9rem); max-height: calc(100vh - 9rem); max-height: calc(100dvh - 9rem); width: auto; height: auto; object-fit: contain; background: #fff; border-radius: 8px; }
.bpo2-lightbox__figura figcaption { font-size: .95rem; color: #e9e4da; }
.bpo2-lightbox__zamknij, .bpo2-lightbox__strzalka { position: absolute; z-index: 2; width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: #fff; color: #1d1d1b; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: background-color .2s, color .2s; }
.bpo2-lightbox__zamknij { top: 1rem; right: 1rem; }
.bpo2-lightbox__strzalka { top: 50%; margin-top: -1.625rem; }
.bpo2-lightbox__strzalka--wstecz { left: 1rem; }
.bpo2-lightbox__strzalka--dalej { right: 1rem; }
.bpo2-lightbox__zamknij:hover, .bpo2-lightbox__strzalka:hover { background: var(--swiatlo); }
.bpo2-lightbox button:focus-visible { outline: 3px solid var(--swiatlo); outline-offset: 3px; }
html.bpo2-bez-przewijania { overflow: hidden; }
@media (max-width: 767px) {
  .bpo2-karuzela--plansze { grid-auto-columns: 85vw; }
  .bpo2-lightbox__figura { padding: 4.5rem .75rem 5.5rem; }
  .bpo2-lightbox__figura img { max-width: calc(100vw - 1.5rem); max-height: calc(100dvh - 12rem); }
  .bpo2-plansza__lupa { width: 2.1rem; height: 2.1rem; right: .5rem; bottom: .5rem; }
  .bpo2-lightbox__strzalka { top: auto; bottom: 1rem; margin-top: 0; }
  .bpo2-lightbox__strzalka--wstecz { left: calc(50% - 4rem); }
  .bpo2-lightbox__strzalka--dalej { right: calc(50% - 4rem); }
}
.bpo2-nw { white-space: nowrap; }
