/* LIVERO — lokale.css
   Sekcje podstrony "Lokale usługowe" (/lokale-uslugowe). Nagłówek, hero, mapa, formularz i stopka
   korzystają z klas i stylów main.css (identyczny wygląd jak na stronie głównej, też na mobile);
   tutaj tylko to, czego strona główna nie ma — wszystko z prefiksem .lu-, żeby nie kolidować. */

.hero-text { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.82); max-width: 460px; }

.lu-wrap { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.lu-section { padding: 88px 0; background: var(--white); }
.lu-section.lu-soft { background: var(--light); }
.lu-head { max-width: 820px; margin: 0 auto 44px; text-align: center; }
.lu-head .section-title { margin-bottom: 16px; }
.lu-lead { font-size: 16px; line-height: 1.7; color: var(--mid); }
.lu-text { font-size: 15px; line-height: 1.75; color: var(--mid); margin-bottom: 16px; }
.lu-note { font-size: 12px; color: var(--mid); margin-top: 22px; line-height: 1.55; }
.lu-note-center { text-align: center; }
.lu-text-link, .lu-link-btn { color: var(--orange); font: 600 13px var(--sans); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.lu-text-link:hover, .lu-link-btn:hover { color: var(--orange-light); }

/* Liczby pod hero */
.lu-stats { background: var(--white); border-bottom: 1px solid var(--border); }
.lu-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); max-width: 1240px; margin: 0 auto; gap: 1px; background: var(--border); }
.lu-stat { background: var(--white); padding: 24px 20px; text-align: center; }
.lu-stat strong { display: block; font: 400 28px var(--serif); color: var(--orange); letter-spacing: -0.01em; }
.lu-stat span { font-size: 12px; color: var(--mid); }

/* Wstęp + atuty */
.lu-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lu-split > img { width: 100%; height: 440px; object-fit: cover; border-radius: 8px; }
.lu-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 56px; }
.lu-benefit { padding: 26px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); }
.lu-benefit-num { color: var(--orange); font-size: 13px; font-weight: 700; }
.lu-benefit h3 { font: 400 22px var(--serif); margin: 10px 0; color: var(--dark); }
.lu-benefit p { font-size: 14px; line-height: 1.6; color: var(--mid); }

/* Karty lokali */
.lu-unit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.lu-unit-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .16s, box-shadow .16s; }
.lu-unit-card:hover { border-color: #d9d3cd; box-shadow: 0 4px 14px rgba(24,24,24,.06); }
.lu-unit-top { padding: 19px 20px 13px; border-bottom: 1px solid #f0efed; }
.lu-unit-code { display: block; margin-bottom: 6px; color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.lu-unit-size { display: block; font: 400 32px/1.15 var(--serif); color: var(--dark); }
.lu-unit-size small { font: 400 12px var(--sans); color: #707070; }
.lu-unit-body { padding: 13px 20px 18px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.lu-unit-body p { font-size: 12px; line-height: 1.5; color: #797979; }
.lu-unit-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: auto; }
.lu-unit-actions .lu-link-btn { font-size: 12px; text-align: left; }
.lu-link-muted { color: #666; }

/* Rzut z pinezkami */
.lu-plan-frame { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 15px; overflow: hidden; }
.lu-plan-container { position: relative; }
.lu-plan-container img { width: 100%; display: block; mix-blend-mode: multiply; }
.lu-pin { position: absolute; transform: translate(-50%, -50%); border: 1px solid #fff; border-radius: 4px; padding: 4px 7px; background: var(--orange); color: #fff; font: 800 10px/1.5 var(--sans); box-shadow: 0 2px 7px #0004; white-space: nowrap; opacity: .94; cursor: pointer; }
.lu-pin:hover { background: #b85408; z-index: 4; }
.lu-plan-callout { position: relative; display: flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 160px; margin-top: 20px; }
.lu-plan-callout p { width: 100%; text-align: center; font-size: 13px; color: var(--mid); margin: 0; }
.lu-plan-expand { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: auto; white-space: nowrap; padding: 9px 13px; font-size: 12px; }

/* Galeria */
.lu-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.lu-gallery img { width: 100%; height: 300px; object-fit: cover; border-radius: 6px; }
.lu-zoomable { cursor: zoom-in; }
.lu-zoomable:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Lokalizacja (mapa i układ z main.css) */
.lu-loc-address { font-size: 15px; color: var(--dark); margin-bottom: 24px; }
.lu-loc-address strong { font-weight: 700; }

/* FAQ */
.lu-faq-wrap { max-width: 920px; }
.lu-faq { border-top: 1px solid var(--border); }
.lu-faq details { border-bottom: 1px solid var(--border); padding: 19px 0; }
.lu-faq summary { cursor: pointer; font-weight: 600; font-size: 16px; color: var(--dark); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.lu-faq summary::-webkit-details-marker { display: none; }
.lu-faq summary::after { content: '+'; color: var(--orange); font-size: 22px; line-height: 1; }
.lu-faq details[open] summary::after { content: '–'; }
.lu-faq details p { padding-top: 12px; color: var(--mid); font-size: 15px; line-height: 1.7; }
.lu-faq-unit-link { display: inline; padding: 0; border: 0; background: none; color: var(--orange); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lu-faq-unit-link:hover, .lu-faq-unit-link:focus-visible { color: #ba4f00; }

.lu-prefooter { color: #777; font-size: 12px; padding: 20px; background: var(--white); text-align: center; }

/* Modal planu (powiększenie, przeciąganie, zoom) */
.lu-modal { position: fixed; inset: 0; z-index: 1100; background: #0c171add; display: none; align-items: center; justify-content: center; padding: 25px; }
.lu-modal.show { display: flex; }
.lu-modal-card { width: min(1200px, 96vw); max-height: 93vh; overflow: auto; background: #fff; padding: 24px; border-radius: 8px; }
.lu-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.lu-zoom-tools { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-left: auto; }
.lu-zoom-tools button { cursor: pointer; border: 1px solid #d7d7d7; background: #fff; color: #252525; border-radius: 4px; min-width: 39px; height: 37px; font-size: 19px; font-weight: 700; }
.lu-zoom-tools button:hover { border-color: var(--orange); color: var(--orange); }
.lu-zoom-tools .lu-zoom-reset { font-size: 12px; padding: 0 10px; }
#lu-zoom-label { min-width: 48px; text-align: center; font-weight: 700; font-size: 13px; }
.lu-modal-close { font-size: 29px; background: none; border: 0; cursor: pointer; line-height: 1; }
.lu-modal-stage { position: relative; overflow: auto; background: #f8f9fa; border: 1px solid #ddd; max-height: 65vh; cursor: grab; touch-action: none; overscroll-behavior: contain; user-select: none; -webkit-user-select: none; }
.lu-modal-stage.is-dragging { cursor: grabbing; }
.lu-modal-plan-wrap { width: 3200px; position: relative; flex: none; }
.lu-modal-plan { width: 100%; max-width: none; height: auto; display: block; pointer-events: none; -webkit-user-drag: none; }
.lu-modal-labels { position: absolute; inset: 0; pointer-events: none; }
.lu-modal-label { position: absolute; transform: translate(-50%, -50%); z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 92px; padding: 8px 12px; border-radius: 4px; background: var(--orange); color: #fff; font: 700 14px var(--sans); line-height: 1.1; text-align: center; box-shadow: 0 2px 8px #0005; pointer-events: auto; cursor: pointer; }
.lu-modal-label .lu-label-area { font-size: 12px; }
.lu-modal-label.selected { background: #202020; outline: 3px solid var(--orange); outline-offset: 2px; z-index: 4; }
.lu-modal-label:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
.lu-plan-inquiry { position: absolute; z-index: 8; display: none; min-width: 174px; transform: translate(-50%, 30px); padding: 7px; background: #fff; border: 1px solid var(--orange); box-shadow: 0 6px 22px #0003; border-radius: 5px; text-align: center; pointer-events: auto; }
.lu-plan-inquiry.visible { display: block; }
.lu-plan-inquiry a { display: block; padding: 9px 11px; border-radius: 3px; background: var(--orange); color: #fff !important; font: 700 12px var(--sans); text-decoration: none; }
.lu-plan-inquiry a:hover { background: #c45705; }

/* Podgląd zdjęć galerii */
.lu-gallery-viewer { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; background: rgba(10,10,10,.94); padding: 64px 76px 54px; }
.lu-gallery-viewer.open { display: flex; }
.lu-gv-image { display: block; max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; object-fit: contain; box-shadow: 0 12px 45px #0008; }
.lu-gv-close, .lu-gv-prev, .lu-gv-next { position: absolute; display: flex; align-items: center; justify-content: center; border: 1px solid #ffffff55; background: #272727dd; color: #fff; cursor: pointer; border-radius: 3px; transition: background .15s; font: 30px Arial, sans-serif; }
.lu-gv-close:hover, .lu-gv-prev:hover, .lu-gv-next:hover { background: var(--orange); }
.lu-gv-close { top: 16px; right: 19px; width: 43px; height: 43px; }
.lu-gv-prev, .lu-gv-next { top: 50%; transform: translateY(-50%); width: 48px; height: 58px; }
.lu-gv-prev { left: 15px; } .lu-gv-next { right: 15px; }
.lu-gv-caption { position: absolute; bottom: 17px; left: 10%; right: 10%; text-align: center; color: #f3f3f3; font-size: 13px; }
body.lu-viewer-open { overflow: hidden; }

#oferta, #rzut, #lokalizacja, #faq, #kontakt, #wstep, #galeria { scroll-margin-top: calc(var(--nav-height) + 12px); }

@media (max-width: 1100px) {
  .lu-unit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .lu-split { grid-template-columns: 1fr; gap: 32px; }
  .lu-split > img { height: 340px; }
  .lu-plan-callout { display: flex; flex-direction: column; gap: 12px; padding: 0; }
  .lu-plan-expand { position: static; transform: none; }
}
@media (max-width: 768px) {
  .lu-wrap { padding: 0 20px; }
  .lu-section { padding: 56px 0; }
  .lu-head { margin-bottom: 32px; }
  .lu-unit-grid { gap: 10px; }
  .lu-unit-top { padding: 15px 13px 11px; }
  .lu-unit-size { font-size: 26px; }
  .lu-unit-body { padding: 11px 13px 14px; gap: 9px; }
  .lu-gallery img { height: 230px; }
  .lu-pin { font-size: 6px; padding: 2px 3px; }
  .lu-modal { padding: 9px; }
  .lu-modal-card { padding: 13px; }
  .lu-zoom-tools { width: 100%; margin-left: 0; }
  .lu-gallery-viewer { padding: 60px 12px 76px; }
  .lu-gv-prev, .lu-gv-next { top: auto; bottom: 17px; transform: none; width: 44px; height: 43px; }
  .lu-gv-prev { left: 18px; } .lu-gv-next { right: 18px; }
  .lu-gv-caption { bottom: 29px; left: 70px; right: 70px; font-size: 11px; }
  .lu-gv-image { max-height: calc(100vh - 155px); }
}
@media (max-width: 380px) {
  .lu-unit-grid { grid-template-columns: 1fr; }
}
