/* =========================================================
   Fundacja ERIJ — style własne (na bazie Bootstrap 5.3)
   ========================================================= */

:root {
  --ink: #12110f;
  --ink-2: #1d1b18;
  --ink-soft: #4b463f;
  --muted: #847d72;
  --bg: #f2eee7;
  --surface: #fbf9f5;
  --line: rgba(18, 17, 15, .1);
  --line-strong: rgba(18, 17, 15, .2);
  --gold: #c2a165;
  --gold-deep: #8f6f37;
  --gold-light: #ecd9a8;
  --gold-grad: linear-gradient(120deg, #b8975a 0%, #dcc28a 50%, #f3e2ad 100%);

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --gap: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* Bootstrap */
  --bs-body-font-family: var(--serif);
  --bs-body-font-size: 1.0625rem;
  --bs-body-line-height: 1.6;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-border-color: var(--line);
  --bs-link-color: var(--ink);
  --bs-link-color-rgb: 18, 17, 15;
  --bs-link-hover-color: var(--gold-deep);
  --bs-link-hover-color-rgb: 143, 111, 55;
  --bs-emphasis-color: var(--ink);
  --bs-border-radius: var(--r-md);
  --bs-border-radius-lg: var(--r-lg);
  --bs-border-radius-sm: 10px;
}

body {
  background: var(--bg);
  font-optical-sizing: auto;
  font-variant-numeric: lining-nums proportional-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; transition: color .2s ease; }
::selection { background: var(--gold-light); color: var(--ink); }

h1, h2, h3, h4 { font-weight: 400; letter-spacing: -.02em; }
em { font-style: italic; }

.container-xxl { --bs-gutter-x: 2rem; }

/* ---------- Chipy / etykiety ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink-soft);
  background: transparent;
  line-height: 1.2;
}
.chip-dark { color: rgba(255, 255, 255, .8); border-color: rgba(255, 255, 255, .2); }
.chip-glass {
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
  background: rgba(18, 17, 15, .35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.dot-live { position: relative; background: #5fae6e; }
.dot-live::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid #5fae6e; animation: ping 2s ease-out infinite;
}
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* ---------- Przyciski ---------- */
.btn {
  --bs-btn-font-family: var(--serif);
  --bs-btn-font-weight: 500;
  --bs-btn-font-size: 1rem;
  --bs-btn-border-radius: 999px;
  --bs-btn-focus-box-shadow: 0 0 0 .2rem rgba(194, 161, 101, .4);
}
.btn-pill {
  display: inline-flex; align-items: center; gap: .75rem;
  --bs-btn-padding-x: 1.4rem;
  --bs-btn-padding-y: .7rem;
  white-space: nowrap;
}
.btn-pill:has(.btn-ico) { --bs-btn-padding-x: 1.4rem; padding-right: .4rem; }
.btn-lg.btn-pill { --bs-btn-padding-y: .55rem; --bs-btn-font-size: 1.0625rem; min-height: 3.5rem; }
.btn-lg.btn-pill:not(:has(.btn-ico)) { --bs-btn-padding-x: 1.6rem; }
.btn-ico {
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .95rem;
  transition: transform .35s var(--ease);
}
.btn-lg .btn-ico { width: 2.6rem; height: 2.6rem; }
.btn-pill:hover .btn-ico { transform: rotate(45deg); }

.btn-ink {
  --bs-btn-color: #fff; --bs-btn-bg: var(--ink); --bs-btn-border-color: var(--ink);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #000; --bs-btn-hover-border-color: #000;
  --bs-btn-active-bg: #000; --bs-btn-active-color: #fff;
}
.btn-ink .btn-ico { background: var(--gold-light); color: var(--ink); }

.btn-gold {
  --bs-btn-color: var(--ink); --bs-btn-bg: var(--gold-light); --bs-btn-border-color: var(--gold-light);
  --bs-btn-hover-color: var(--ink); --bs-btn-hover-bg: #f6e8c2; --bs-btn-hover-border-color: #f6e8c2;
  --bs-btn-active-bg: var(--gold); --bs-btn-active-color: var(--ink);
}
.btn-gold .btn-ico { background: var(--ink); color: var(--gold-light); }

.btn-glass {
  --bs-btn-color: #fff; --bs-btn-bg: rgba(255, 255, 255, .06); --bs-btn-border-color: rgba(255, 255, 255, .22);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: rgba(255, 255, 255, .14); --bs-btn-hover-border-color: rgba(255, 255, 255, .4);
  --bs-btn-active-color: #fff;
}
.btn-outline {
  --bs-btn-color: var(--ink); --bs-btn-bg: transparent; --bs-btn-border-color: var(--line-strong);
  --bs-btn-hover-color: var(--ink); --bs-btn-hover-bg: var(--surface); --bs-btn-hover-border-color: var(--ink);
  --bs-btn-active-color: var(--ink);
}
.btn-outline .btn-ico { background: var(--ink); color: #fff; }

.circle-arrow {
  width: 2.75rem; height: 2.75rem; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: transform .4s var(--ease), background-color .3s ease, color .3s ease, border-color .3s ease;
}
.circle-arrow-ink { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Nawigacja (pływająca pigułka) ---------- */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1030;
  padding: 0 1rem;
  border-bottom: 1px solid transparent;
  transition: background-color .4s ease, border-color .4s ease, backdrop-filter .4s ease;
}
.nav-wrap.is-scrolled {
  background: rgba(242, 238, 231, .72);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom-color: var(--line);
}
.site-nav {
  margin: 0 auto;
  padding: 1.1rem 0;
  flex-wrap: nowrap;
  transition: padding .4s var(--ease);
}
.is-scrolled .site-nav { padding: .6rem 0; }
.brand-logo { height: 42px; width: auto; display: block; }
.site-nav .nav-link {
  font-size: 1.0625rem;
  color: var(--ink);
  padding: .5rem 1rem !important;
  border-radius: 999px;
  transition: background-color .25s ease;
}
.site-nav .nav-link:hover, .site-nav .nav-link.show { background: rgba(18, 17, 15, .06); color: var(--ink); }
.brand-logo { transition: height .4s var(--ease); }
.is-scrolled .brand-logo { height: 36px; }
.site-nav .dropdown-toggle::after { display: none; }
.site-nav .dropdown-toggle .bi { font-size: .7rem; margin-left: .2rem; transition: transform .3s ease; display: inline-block; }
.site-nav .dropdown-toggle.show .bi { transform: rotate(180deg); }

.dropdown-menu {
  --bs-dropdown-border-color: var(--line);
  --bs-dropdown-border-radius: 20px;
  --bs-dropdown-padding-x: .4rem;
  --bs-dropdown-padding-y: .4rem;
  --bs-dropdown-link-hover-bg: var(--bg);
  --bs-dropdown-link-active-bg: var(--bg);
  --bs-dropdown-link-active-color: var(--ink);
  min-width: 17rem;
  margin-top: .75rem !important;
  box-shadow: 0 24px 50px -20px rgba(18, 17, 15, .35);
}
.dropdown-item { padding: .7rem 1rem; border-radius: 14px; display: flex; flex-direction: column; }
.dropdown-item small { color: var(--muted); font-style: italic; }

.site-nav { position: relative; }
@media (min-width: 1400px) { .site-nav { max-width: 1288px; } }
.site-nav .navbar-brand { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; padding: 0; }
.nav-actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
@media (min-width: 992px) { .site-nav .navbar-nav .nav-item:first-child .nav-link { margin-left: -1rem; } }
.icon-btn {
  position: relative;
  width: 2.9rem; height: 2.9rem;
  border-radius: 50%;
  border: 0;
  background: rgba(18, 17, 15, .06);
  color: var(--ink);
  display: grid; place-items: center;
  font-size: 1.2rem;
  transition: background-color .2s ease;
}
.icon-btn:hover { background: rgba(18, 17, 15, .12); color: var(--ink); }
.cart-count {
  position: absolute; top: .1rem; right: .1rem;
  min-width: 1.1rem; height: 1.1rem;
  border-radius: 99px;
  background: var(--gold);
  color: #fff;
  font-size: .68rem; font-weight: 600;
  display: grid; place-items: center;
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.cart-count.bump { transform: scale(1.35); }

@media (max-width: 991.98px) {
  .brand-logo { height: 28px; }
  .is-scrolled .brand-logo { height: 26px; }
  .offcanvas-lg { --bs-offcanvas-width: min(88vw, 380px); --bs-offcanvas-bg: var(--surface); }
  .offcanvas-lg .nav-link { font-size: 1.875rem; font-weight: 300; padding: .4rem 0 !important; }
  .offcanvas-lg .nav-link:hover { background: none; }
  .offcanvas-lg .dropdown-menu { box-shadow: none; border: 0; background: transparent; padding-left: .5rem; }
}

/* ---------- Kafle (bento) ---------- */
.tile {
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  margin: 0;
}
.tile-dark { background: var(--ink); color: #fff; }
.tile-light { background: var(--surface); color: var(--ink); }
.tile-gold { background: var(--gold-grad); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding-top: 94px; }
.hero-main > .chip { align-self: flex-start; }
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: var(--gap);
}
.hero-main {
  grid-column: 1 / 9; grid-row: 1;
  padding: clamp(1.75rem, 3.5vw, 3.25rem);
  min-height: min(68vh, 620px);
  display: flex; flex-direction: column;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(194, 161, 101, .22), transparent 55%),
    var(--ink);
}
.display-title {
  font-size: clamp(3rem, 6.6vw, 6.6rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.045em;
  margin: 1.75rem 0 2rem;
  max-width: 11ch;
  position: relative; z-index: 1;
}
.display-title em, .bur-title em {
  font-weight: 300;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .08em;
}
.hero-bottom {
  margin-top: auto;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem 2rem;
  position: relative; z-index: 1;
}
.lede { font-size: 1.125rem; color: rgba(255, 255, 255, .7); max-width: 26rem; margin: 0; }
.hero-mark {
  position: absolute;
  right: -4%; top: -8%;
  width: 48%;
  opacity: .07;
  pointer-events: none;
}

.hero-photo {
  grid-column: 9 / 13; grid-row: 1 / 3;
  min-height: 420px;
  background: var(--ink);
}
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.glass-caption {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; gap: .6rem;
  padding: .75rem 1rem;
  border-radius: 18px;
  color: #fff;
  font-size: .875rem;
  font-style: italic;
  background: rgba(18, 17, 15, .35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .18);
}

.hero-next {
  grid-column: 1 / 5; grid-row: 2;
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: .75rem;
  color: var(--ink);
  transition: background-color .3s ease;
}
.hero-next:hover { color: var(--ink); background: #fff; }
.hero-next:hover .circle-arrow { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(45deg); }
.tile-top { display: flex; justify-content: space-between; align-items: center; }
.next-title { font-size: 1.625rem; font-weight: 400; line-height: 1.15; letter-spacing: -.02em; margin-top: auto; }
.next-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .9375rem; color: var(--muted); }
.next-meta i { margin-right: .25rem; }
.next-price { color: var(--gold-deep); font-weight: 500; }

.stat {
  padding: 1.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 190px;
}
.stat-a { grid-column: 5 / 7; grid-row: 2; }
.stat-b { grid-column: 7 / 9; grid-row: 2; }
.stat-num { font-size: clamp(2.75rem, 4.5vw, 4rem); font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.stat-label { font-size: .9375rem; color: var(--ink-soft); max-width: 12rem; line-height: 1.35; }
.tile-gold .stat-label { color: rgba(18, 17, 15, .75); }

.trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.5rem;
  padding: 1.75rem 0 0;
  color: var(--ink-soft);
  font-size: .9375rem;
}
.trust-item i { color: var(--gold-deep); margin-right: .4rem; }

@media (max-width: 1199.98px) {
  .hero-main { grid-column: 1 / 13; }
  .hero-photo { grid-column: 1 / 7; grid-row: 2 / 4; min-height: 0; }
  .hero-next { grid-column: 7 / 13; grid-row: 2; }
  .stat-a { grid-column: 7 / 10; grid-row: 3; }
  .stat-b { grid-column: 10 / 13; grid-row: 3; }
}
@media (max-width: 767.98px) {
  .hero { padding-top: 92px; }
  .hero-main { min-height: 0; }
  .hero-photo { grid-column: 1 / 13; grid-row: auto; aspect-ratio: 4 / 5; }
  .hero-next { grid-column: 1 / 13; grid-row: auto; }
  .stat-a { grid-column: 1 / 7; grid-row: auto; }
  .stat-b { grid-column: 7 / 13; grid-row: auto; }
  .stat { min-height: 150px; }
  .trust { justify-content: flex-start; flex-direction: column; gap: .5rem; }
}

/* ---------- Sekcje ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1.5rem 3rem; flex-wrap: wrap;
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
}
.section-title {
  font-size: clamp(2.5rem, 5.4vw, 5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.045em;
  margin: 1.1rem 0 0;
}
.section-title em { color: var(--gold-deep); }
.section-aside { max-width: 28rem; color: var(--ink-soft); margin: 0; }

/* ---------- Kursy ---------- */
.course {
  height: 100%;
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 10px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s ease;
}
.course:hover { background: #fff; transform: translateY(-4px); box-shadow: 0 30px 60px -35px rgba(18, 17, 15, .45); }
.course-media {
  position: relative; display: block;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink);
}
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.course:hover .course-media img { transform: scale(1.06); }
.course-chip { position: absolute; top: 12px; left: 12px; }
.course-body { padding: 1.25rem .9rem .5rem; flex: 1; }
.course-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .875rem; color: var(--muted); margin-bottom: .6rem; }
.course-meta i { color: var(--gold-deep); margin-right: .25rem; }
.course-title { font-size: 1.75rem; font-weight: 400; line-height: 1.12; letter-spacing: -.025em; margin-bottom: .5rem; }
.course-title a { color: var(--ink); }
.course-desc { color: var(--ink-soft); margin-bottom: 1rem; }
.course-who { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-size: .9375rem; }
.course-who:hover { color: var(--gold-deep); }
.avatar {
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--gold-light);
  font-size: .8rem; font-style: italic;
}
.course-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin: .5rem .25rem .25rem;
  padding: .9rem .65rem .4rem;
  border-top: 1px solid var(--line);
}
.course-price { display: block; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.01em; }
.course-deposit { display: block; font-size: .875rem; color: var(--muted); font-style: italic; }
.course:hover .circle-arrow-ink { transform: rotate(45deg); background: var(--gold-light); color: var(--ink); border-color: var(--gold-light); }

/* ---------- Obszary ---------- */
.area {
  height: 100%;
  min-height: 300px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: 1.75rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid transparent;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
.area-num {
  font-size: 1rem; font-style: italic; color: var(--gold-deep);
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: border-color .45s ease, color .45s ease;
}
.area h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); font-weight: 300; line-height: 1.08; letter-spacing: -.03em; margin-bottom: .6rem; }
.area p { color: var(--ink-soft); margin: 0; transition: color .45s ease; }
.area:hover { background: var(--ink); color: #fff; }
.area:hover p { color: rgba(255, 255, 255, .7); }
.area:hover .area-num { color: var(--gold-light); border-color: rgba(255, 255, 255, .25); }

/* ---------- O nas ---------- */
.about { padding: 10px; }
.about-figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: var(--ink);
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.about-copy { padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 3vw, 3rem) clamp(1.5rem, 3vw, 2.5rem) 0; }
.pull-quote {
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -.035em;
  margin: 1.5rem 0 2rem;
}
.pull-quote em { color: var(--gold-deep); }
.about-copy p { color: var(--ink-soft); margin: 0; }
.about-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 2.25rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.seals { display: flex; flex-wrap: wrap; gap: .5rem; }
.seal {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .35rem .9rem .35rem .35rem;
  border-radius: 999px;
  background: var(--bg);
  font-size: .875rem; color: var(--ink-soft);
}
.seal strong {
  height: 2rem; padding: 0 .7rem;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--ink); color: var(--gold-light);
  font-size: .75rem; letter-spacing: .08em; font-weight: 600;
}
@media (max-width: 991.98px) { .about-copy { padding: .5rem 1rem 1.25rem; } }

/* ---------- Prowadzący ---------- */
.person {
  display: block; height: 100%;
  padding: 10px;
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--ink);
  transition: background-color .3s ease;
}
.person:hover { color: var(--ink); background: #fff; }
.person-photo {
  display: grid; place-items: center;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 30% 15%, hsl(var(--hue) 16% 34%), hsl(var(--hue) 20% 9%));
}
.person-photo span {
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 200; font-style: italic;
  color: var(--gold-light);
  opacity: .9;
  transition: transform .7s var(--ease);
}
.person:hover .person-photo span { transform: scale(1.1); }
.person-info { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem .5rem .4rem; }
.person-name { display: block; font-size: 1.1875rem; line-height: 1.2; }
.person-role { display: block; font-style: italic; color: var(--muted); font-size: .9375rem; }
.person:hover .circle-arrow { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(45deg); }
@media (max-width: 575.98px) { .person-info .circle-arrow { display: none; } }

/* ---------- Sklep ---------- */
.product {
  position: relative; height: 100%;
  padding: 10px;
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: background-color .3s ease;
}
.product:hover { background: #fff; }
.product-img {
  --bs-aspect-ratio: 133.333%; /* 3:4 */
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg);
}
.product-img img { object-fit: cover; transition: transform .9s var(--ease); }
.product:hover .product-img img { transform: scale(1.05); }
.product-add {
  position: absolute; top: 22px; right: 22px;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 1.1rem;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .4);
  transition: transform .3s var(--ease), background-color .2s ease;
}
.product-add:hover { background: var(--gold-light); transform: scale(1.08); }
.product-add.added { background: var(--ink); color: #fff; }
.product-info { padding: 1rem .5rem .4rem; }
.product-brand { font-size: .8125rem; color: var(--muted); margin-bottom: .15rem; }
.product-name { font-size: 1.1875rem; line-height: 1.25; margin-bottom: .5rem; }
.product-name a { color: var(--ink); }
.product-name a:hover { color: var(--gold-deep); }
.product-price {
  display: inline-block;
  margin: 0;
  padding: .2rem .7rem;
  border-radius: 999px;
  background: var(--bg);
  font-size: .9375rem;
}

/* ---------- Panele ciemne (BUR + stopka) ---------- */
.bur-wrap, .footer-wrap { padding: 0 var(--gap); }
.footer-wrap { padding-top: var(--gap); padding-bottom: var(--gap); }
.panel-dark {
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(194, 161, 101, .16), transparent 60%),
    var(--ink);
  color: rgba(255, 255, 255, .72);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}

.bur { padding: clamp(4rem, 8vw, 7rem) 0; }
.bur::before {
  content: "";
  position: absolute;
  right: -5rem; bottom: -6rem;
  width: 30rem; height: 22rem;
  background: url("../img/logo-mark.svg") center / contain no-repeat;
  opacity: .07;
}
.bur .container-xxl { position: relative; }
.bur-title {
  color: #fff;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.045em;
  margin: 1.25rem 0 0;
}

.site-footer { padding: clamp(3.5rem, 6vw, 5rem) 0 1.75rem; font-size: .9375rem; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: var(--gold-light); }
.footer-mark { height: 44px; margin-bottom: 1.25rem; }
.footer-name { color: #fff; font-size: 1.25rem; line-height: 1.3; margin-bottom: 1.25rem; }
.footer-contact { font-style: normal; line-height: 1.9; }
.footer-h { color: var(--gold-light); font-size: .8125rem; font-weight: 500; letter-spacing: .04em; margin-bottom: 1.1rem; }
.footer-links li { margin-bottom: .5rem; }
.newsletter {
  display: flex; align-items: center;
  padding: .35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
}
.newsletter .form-control {
  background: transparent; border: 0; color: #fff;
  padding-left: 1rem; box-shadow: none;
}
.newsletter .form-control::placeholder { color: rgba(255, 255, 255, .45); font-style: italic; }
.newsletter .btn { width: 2.75rem; height: 2.75rem; padding: 0; display: grid; place-items: center; flex: none; }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 2rem;
  font-size: .8125rem;
}
.credit {
  display: inline-flex; align-items: center; gap: .6rem;
  opacity: .6;
  transition: opacity .2s ease;
}
.credit:hover { opacity: 1; }
.credit span { font-style: italic; color: rgba(255, 255, 255, .8); }
.credit img { height: 16px; width: auto; }

/* ---------- Animacje wejścia ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .dot-live::after { animation: none; }
}

/* ---------- Podstrony ---------- */
.site-nav .nav-link.active { background: rgba(18, 17, 15, .06); }
.page-head { padding: 124px 0 clamp(2.5rem, 5vw, 4rem); }
.page-head .breadcrumb { --bs-breadcrumb-divider-color: var(--muted); --bs-breadcrumb-item-active-color: var(--muted); font-size: .9375rem; margin: 0; }
.page-head .breadcrumb a { color: var(--ink-soft); }
.page-head .breadcrumb a:hover { color: var(--gold-deep); }
.page-head .section-title { margin-top: 1.25rem; }
.page-body { padding-bottom: clamp(4.5rem, 9vw, 8rem); }
.page-figure { position: sticky; top: 100px; }
.page-text { max-width: 44rem; }
.page-text p { color: var(--ink-soft); margin-bottom: 1.4rem; }
.page-text .page-lead { font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.45; letter-spacing: -.015em; color: var(--ink); margin-bottom: 2rem; }
.page-text .page-closing { font-size: 1.1875rem; font-style: italic; color: var(--ink); padding-left: 1.5rem; border-left: 2px solid var(--gold); margin: 2.25rem 0; }
.page-text .seal { background: var(--surface); }
@media (max-width: 991.98px) {
  .page-head { padding-top: 108px; }
  .page-figure { position: static; aspect-ratio: 4 / 3; }
}
