/* =========================================================
   W14 Apartamenty – style zakładki (Bootstrap 5.3)
   Wszystko jest zamknięte w .w14, więc nie wpływa na resztę strony.
   ========================================================= */

.w14 {
  --w14-anthracite: #2B2E33;
  --w14-graphite: #2E3F51;
  --w14-larch: #B8774A;
  --w14-larch-dark: #8F5A33;   /* modrzew na jasnym tle – czytelny tekst */
  --w14-larch-light: #D9A47B;  /* modrzew na ciemnym tle */
  --w14-sand: #E9E2D8;
  --w14-sand-line: #D3C9BA;
  --w14-light: #F5F4F5;
  --w14-orange: #E95C20;
  --w14-orange-hover: #D24F17;
  --w14-text: #2B2E33;
  --w14-muted: #4A4E55;
  --w14-muted-2: #6B6F76;
  --w14-on-dark: #E9E2D8;
  --w14-on-dark-muted: #C9C2B8;
  --w14-nav-h: 56px;           /* wysokość przyklejonego menu strony (navbar fixed-top) */

  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--w14-text);
  background: var(--w14-light);
  line-height: 1.6;
}
.w14 *,
.w14 *::before,
.w14 *::after { box-sizing: border-box; }
.w14 [id] { scroll-margin-top: calc(var(--w14-nav-h) + 16px); }
.w14 figure { margin: 0; }

/* ---------- typografia ---------- */
.w14-kicker {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 16px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--w14-larch-dark);
}
.w14-kicker--light { color: var(--w14-on-dark); }
.w14-kicker--wood { color: var(--w14-larch-light); }
.w14-kicker__line { display: block; width: 40px; height: 2px; background: var(--w14-larch); }

.w14-h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -.01em; color: var(--w14-text); }
.w14-h2--md { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.w14-h2--sm { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; }
.w14-body { font-size: 18px; color: var(--w14-muted); }
.w14-body p { margin-bottom: 18px; }
.w14-body--light { color: var(--w14-on-dark); }
.w14-strong { font-size: 19px; font-weight: 600; }
.w14-note { font-size: 13px; color: var(--w14-muted-2); }
.w14-maxw-380 { max-width: 380px; }
.w14-maxw-640 { max-width: 640px; }
.w14-maxw-720 { max-width: 720px; }

/* ---------- przyciski ---------- */
.w14-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font-size: 19px; font-weight: 600; line-height: 1.2;
  text-decoration: none; border-radius: 2px; border: 1.5px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.w14-btn--primary { background: var(--w14-orange); color: #fff; }
.w14-btn--primary:hover,
.w14-btn--primary:focus-visible { background: var(--w14-orange-hover); color: #fff; }
.w14-btn--ghost { border-color: var(--w14-sand); color: var(--w14-light); background: transparent; }
.w14-btn--ghost:hover,
.w14-btn--ghost:focus-visible { background: var(--w14-light); color: var(--w14-text); }
.w14 a:focus-visible,
.w14 button:focus-visible { outline: 3px solid var(--w14-larch-light); outline-offset: 2px; }

/* ---------- podpisy zdjęć ---------- */
.w14-cap {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(43, 46, 51, .8); color: var(--w14-light);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 10px; line-height: 1.3;
}
.w14-photo { position: relative; overflow: hidden; height: 100%; }
.w14-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.w14-photo--tall { height: 600px; }
.w14-photo--remont { height: 560px; }

/* ---------- hero ---------- */
.w14-hero { background: var(--w14-anthracite); }
.w14-hero__row { min-height: 760px; }
.w14-hero__panel {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  padding: calc(var(--w14-nav-h) + 64px) 56px 56px;
}
.w14-hero__content { display: flex; flex-direction: column; gap: 28px; }
.w14-hero__content .w14-kicker { margin: 0; }
/* „Apartamenty” musi się zmieścić w panelu: na telefonie panel ma pełną szerokość,
   od 992 px tylko 5/12 ekranu, więc rozmiar liczony jest osobno dla obu układów. */
.w14-title { margin: 0; font-size: clamp(38px, calc(11.5vw - 6px), 76px); line-height: .98; font-weight: 700; letter-spacing: -.02em; color: #fff; overflow-wrap: anywhere; }
.w14-title span { display: block; color: var(--w14-larch-light); }
.w14-lead { margin: 0; max-width: 440px; font-size: 20px; line-height: 1.55; color: var(--w14-on-dark); }
.w14-hero__facts { border-top: 1px solid #454A52; padding-top: 28px; margin: 0; }
.w14-hero__facts > [class*="col-"] { padding-left: 0; }
.w14-hero__num { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.1; color: #fff; }
.w14-hero__label { margin-top: 6px; font-size: 13px; color: var(--w14-on-dark-muted); }
.w14-hero__media { position: relative; min-height: 420px; }
.w14-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% center; } /* napis WOLNEGO 14 zostaje w kadrze */

/* ---------- liczby ---------- */
.w14-stats { background: var(--w14-sand); }
.w14-stat { padding: 40px 28px; border-right: 1px solid var(--w14-sand-line); }
.w14-stat:first-child { padding-left: 0; }
.w14-stat:last-child { border-right: 0; }
.w14-stat__num { font-size: clamp(32px, 3.4vw, 44px); font-weight: 700; line-height: 1; color: var(--w14-larch-dark); }
.w14-stat__label { margin-top: 10px; font-size: 15px; font-weight: 500; }

/* ---------- nawigacja po sekcjach ---------- */
.w14-subnav { background: #fff; border-bottom: 1px solid #E4E1DC; }
.w14-subnav__list {
  display: flex; gap: 8px 28px; margin: 0; padding: 18px 0; list-style: none;
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.w14-subnav__list::-webkit-scrollbar { display: none; }
.w14-subnav__list a { font-size: 14px; font-weight: 500; color: var(--w14-text); text-decoration: none; padding: 8px 0; display: inline-block; }
.w14-subnav__list a:hover { color: var(--w14-larch-dark); }

/* ---------- sekcje ---------- */
.w14-section { padding: 120px 0; }
.w14-section--white { background: #fff; }
.w14-section--sand { background: var(--w14-sand); padding: 96px 0; }
.w14-section--dark { background: var(--w14-anthracite); color: #fff; }

.w14-feature { border-top: 2px solid var(--w14-anthracite); padding-top: 20px; }
.w14-feature h3 { margin: 0; font-size: 19px; font-weight: 600; }
.w14-feature p { margin: 8px 0 0; font-size: 16px; color: var(--w14-muted); }

/* ---------- karty metraży ---------- */
.w14-size { height: 100%; background: var(--w14-light); padding: 40px 32px; display: flex; flex-direction: column; gap: 20px; }
.w14-size hr { margin: 0; border: 0; border-top: 1px solid #D9D5D0; opacity: 1; }
.w14-size__name { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--w14-muted-2); }
.w14-size__area { font-size: 40px; font-weight: 700; line-height: 1; }
.w14-size__area span { font-size: 20px; font-weight: 600; }
.w14-size__prices { margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.w14-size__prices > div { display: flex; justify-content: space-between; gap: 12px; }
.w14-size__prices dt { font-weight: 400; color: var(--w14-muted); }
.w14-size__prices dd { margin: 0; font-weight: 600; }
.w14-size--dark { background: var(--w14-anthracite); color: #fff; }
.w14-size--dark .w14-size__name { color: var(--w14-larch-light); }
.w14-size--dark hr { border-top-color: #454A52; }
.w14-size--dark dt { color: var(--w14-on-dark-muted); }

/* ---------- standardy ---------- */
.w14-std { height: 100%; border: 1.5px solid var(--w14-anthracite); padding: 48px 40px; display: flex; flex-direction: column; gap: 24px; }
.w14-std > p { margin: 0; font-size: 17px; color: var(--w14-muted); }
.w14-std__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; }
.w14-std__head h3 { margin: 0; font-size: 28px; font-weight: 700; }
.w14-std__head span { font-size: 16px; color: var(--w14-muted); }
.w14-std--wood { background: var(--w14-larch); border-color: var(--w14-larch); color: #fff; }
.w14-std--wood > p,
.w14-std--wood .w14-std__head span { color: #fff; }
.w14-dash { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.w14-dash li { position: relative; padding-left: 28px; }
.w14-dash li::before { content: "—"; position: absolute; left: 0; font-weight: 700; color: var(--w14-larch-dark); }
.w14-std--wood .w14-dash li::before { color: #fff; }

.w14-gallery {
  display: grid; gap: 16px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 150px;
}
.w14-g1 { grid-column: span 8; grid-row: span 3; }
.w14-g2 { grid-column: span 4; grid-row: span 3; }
.w14-g3, .w14-g4, .w14-g5 { grid-column: span 4; grid-row: span 2; }

/* ---------- dla inwestora ---------- */
.w14-roi { font-size: clamp(72px, 10vw, 128px); font-weight: 700; line-height: .9; letter-spacing: -.03em; color: var(--w14-larch-light); }
.w14-roi__label { margin: 16px 0 0; font-size: 20px; color: var(--w14-on-dark); }
.w14-divider-top { border-top: 1px solid #454A52; padding-top: 28px; }

/* ---------- postęp remontu ---------- */
.w14-progress-list { margin-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.w14-prog { display: flex; flex-direction: column; gap: 8px; }
.w14-prog__row { display: flex; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 500; }
.w14-prog__row strong { font-weight: 700; color: var(--w14-larch-dark); }
.w14-prog__row em { font-style: normal; font-weight: 600; color: var(--w14-muted); }
.w14-progress { height: 8px; border-radius: 0; background: var(--w14-sand); }
.w14-progress .progress-bar { background: var(--w14-larch); }

/* ---------- lokalizacja ---------- */
.w14-times { margin: 36px 0 0; padding: 0; list-style: none; font-size: 16px; }
.w14-times li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid #C9BEAD; }
.w14-times li:last-child { border-bottom: 1px solid #C9BEAD; }
.w14-times strong { font-weight: 700; white-space: nowrap; }
.w14-map { background: var(--w14-sand-line); }
.w14-map iframe { border: 0; filter: grayscale(.35); }
.w14-maplink { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--w14-larch-dark); }
.w14-maplink:hover { color: var(--w14-text); }

/* ---------- pytania (akordeon Bootstrapa) ---------- */
.w14-faq { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--w14-anthracite); --bs-accordion-border-radius: 0; --bs-accordion-inner-border-radius: 0; --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(184, 119, 74, .35); --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--w14-text); }
.w14-faq .accordion-item { border-left: 0; border-right: 0; }
.w14-faq .accordion-button { padding: 24px 0; font-size: 19px; font-weight: 600; color: var(--w14-text); background: transparent; box-shadow: none; }
.w14-faq .accordion-button:not(.collapsed) { box-shadow: none; }
.w14-faq .accordion-body { padding: 0 0 24px; font-size: 17px; color: var(--w14-muted); }

/* ---------- kontakt ---------- */
.w14-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.w14-contact a { font-size: 22px; font-weight: 600; color: #fff; text-decoration: none; }
.w14-contact a:hover { color: var(--w14-larch-light); }
.w14-form { background: var(--w14-light); color: var(--w14-text); padding: 40px; }
.w14-form .form-label { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.w14-form .form-control,
.w14-form .form-select { min-height: 48px; border-color: #B9B4AD; border-radius: 2px; font-size: 16px; }
.w14-form .form-control:focus,
.w14-form .form-select:focus { border-color: var(--w14-larch); box-shadow: 0 0 0 3px rgba(184, 119, 74, .25); }
.w14-form .form-check-input { width: 20px; height: 20px; margin-top: 1px; border-color: #8E8982; border-radius: 2px; }
.w14-form .form-check-input:checked { background-color: var(--w14-larch); border-color: var(--w14-larch); }
.w14-consent { display: flex; gap: 10px; padding-left: 0; font-size: 13px; color: var(--w14-muted); }
.w14-consent .form-check-input { float: none; margin-left: 0; flex-shrink: 0; }
.w14-consent .invalid-feedback { flex-basis: 100%; }
.w14-consent { flex-wrap: wrap; }
.w14-consent .form-check-label { flex: 1 1 0; }
.w14-form__msg { padding: 14px 16px; font-size: 15px; font-weight: 500; }
.w14-form__msg.is-ok { background: #E3EEDF; color: #2C5221; }
.w14-form__msg.is-err { background: #F8E1DA; color: #8A2E12; }
.w14-legal { margin: 80px 0 0; padding-top: 28px; border-top: 1px solid #454A52; font-size: 12px; line-height: 1.6; color: var(--w14-on-dark-muted); }

/* ---------- pasek na telefonie ---------- */
.w14-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; display: flex; background: var(--w14-anthracite); box-shadow: 0 -1px 0 #454A52; }
.w14-mbar a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 56px; font-size: 16px; font-weight: 600; text-decoration: none; }
.w14-mbar__call { color: #fff; }
.w14-mbar__ask { background: var(--w14-orange); color: #fff; }

/* ---------- responsywność ---------- */
@media (min-width: 992px) {
  .w14-title { font-size: clamp(36px, calc(5.3vw - 16px), 76px); }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .w14-hero__panel { padding-left: 36px; padding-right: 36px; }
}
@media (max-width: 991.98px) {
  .w14 { padding-bottom: 56px; } /* miejsce na pasek kontaktu */
  .w14-hero__row { min-height: 0; }
  .w14-hero__panel { padding: calc(var(--w14-nav-h) + 40px) 20px 40px; gap: 36px; }
  .w14-hero__media { min-height: 360px; }
  .w14-section { padding: 80px 0; }
  .w14-section--sand { padding: 72px 0; }
  .w14-stat { padding: 28px 16px; border-bottom: 1px solid var(--w14-sand-line); }
  .w14-stat:nth-child(odd) { padding-left: 0; }
  .w14-stat:nth-child(2n) { border-right: 0; }
  .w14-stat:nth-child(n+3) { border-bottom: 0; }
  .w14-photo--tall { height: 420px; }
  .w14-photo--remont { height: 400px; }
  .w14-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .w14-g1 { grid-column: span 2; grid-row: span 2; }
  .w14-g2, .w14-g3, .w14-g4, .w14-g5 { grid-column: span 1; grid-row: span 1; }
  .w14-std { padding: 36px 28px; }
  .w14-form { padding: 28px 20px; }
}
@media (max-width: 575.98px) {
  .w14-btn { font-size: 17px; width: 100%; }
  .w14-hero__num { font-size: 24px; }
  .w14-photo--tall { height: 340px; }
  .w14-size__area { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .w14 * { transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Dodane 22.10.2026 – treści z katalogu
   ========================================================= */
/* parking i piwnice */
.w14-ex { border-top: 2px solid var(--w14-larch); padding-top: 14px; }
.w14-ex h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.w14-ex p { margin: 0; font-size: 15px; color: var(--w14-muted); }
.w14-ex--note { border-top-color: var(--w14-sand-line); }
.w14-ex--note p { font-size: 13px; color: var(--w14-muted-2); }

/* dla inwestora – lista atutów */
.w14-points { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid #454A52; }
.w14-points li { padding: 16px 0; border-bottom: 1px solid #454A52; }
.w14-points h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; color: #fff; }
.w14-points p { margin: 0; font-size: 15px; color: var(--w14-on-dark); }

/* dlaczego Katowice */
.w14-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.w14-why li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: 18px 0; border-top: 1px solid #454A52; }
.w14-why li:nth-last-child(-n+2) { border-bottom: 1px solid #454A52; }
.w14-why__n { font-size: 22px; font-weight: 300; line-height: 1.1; color: var(--w14-larch-light); }
.w14-why h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; color: #fff; }
.w14-why p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--w14-on-dark); }
.w14-note--light { color: var(--w14-on-dark-2); }
@media (max-width: 767.98px) {
  .w14-why { grid-template-columns: minmax(0, 1fr); }
  .w14-why li:nth-last-child(2) { border-bottom: 0; }
}
