/* ==========================================================================
   Lux Dog — wspólny arkusz stylów (zastępuje Tailwind CDN)
   ========================================================================== */

:root {
  --ink: #171310;
  --ink-2: #201a15;
  --ink-3: #2a2119;
  --cream: #f9f5ee;
  --white: #fffdf9;
  --gold: #b08d57;
  --gold-light: #d8bd8d;
  --gold-deep: #93713f;
  --rose: #d9a5a0;
  --line-gold: rgba(176, 141, 87, 0.25);
  --line-gold-soft: rgba(176, 141, 87, 0.14);
  --text-soft: rgba(23, 19, 16, 0.72);
  --text-softer: rgba(23, 19, 16, 0.55);
  --grad-gold: linear-gradient(120deg, #c9a76b 0%, #b08d57 45%, #e3cb9b 100%);
  --shadow-card: 0 1px 2px rgba(23, 19, 16, 0.04), 0 12px 32px -12px rgba(23, 19, 16, 0.12);
  --shadow-card-hover: 0 2px 4px rgba(23, 19, 16, 0.05), 0 24px 48px -16px rgba(23, 19, 16, 0.22);
  --radius: 20px;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Poppins", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { padding: 0; }
button { font: inherit; }
strong { font-weight: 600; }

::selection { background: var(--gold); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 3rem, 76rem);
  margin-inline: auto;
}
.container--narrow { width: min(100% - 3rem, 52rem); }

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
/* Sekcja bez poprzedzającego ciemnego hero — własny odstęp pod stały nagłówek (position: fixed). */
.section--first { padding-top: clamp(6.5rem, 11vw, 7.5rem); }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  background: var(--gold);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
}
.skip-link:focus { left: 0.75rem; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--grad-gold);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--grad-gold);
  flex: none;
}

h1, h2, h3, .display {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.14;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.32rem; line-height: 1.3; }

.accent {
  font-style: italic;
  /* Gradient zapętlony (początek = koniec), by shimmer płynnie krążył */
  background: linear-gradient(110deg, #c9a76b 0%, #ecd9ab 25%, #b08d57 50%, #ecd9ab 75%, #c9a76b 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer {
  to { background-position: -200% center; }
}

.lead {
  font-size: 1.14rem;
  font-weight: 300;
  color: var(--text-soft);
  max-width: 34rem;
}

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
  display: grid;
  gap: 1.1rem;
  justify-items: center;
}
.section-head--tight { margin-bottom: 1.75rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--gold {
  background: var(--grad-gold);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(176, 141, 87, 0.7);
}
.btn--gold:hover { box-shadow: 0 16px 34px -12px rgba(176, 141, 87, 0.85); }

.btn--ghost-light {
  border-color: rgba(255, 253, 249, 0.35);
  color: #fffdf9;
}
.btn--ghost-light:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn--ghost-dark {
  border-color: rgba(23, 19, 16, 0.3);
  color: var(--ink);
}
.btn--ghost-dark:hover { border-color: var(--gold); color: var(--gold-deep); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: rgba(23, 19, 16, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216, 189, 141, 0.14);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(23, 19, 16, 0.92);
  box-shadow: 0 12px 32px -18px rgba(0, 0, 0, 0.6);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fffdf9;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
}
.logo em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-list a {
  color: rgba(255, 253, 249, 0.74);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding-block: 0.4rem;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--gold-light); }
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(216, 189, 141, 0.4);
  color: #fffdf9;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.header-phone svg { width: 0.95em; height: 0.95em; color: var(--gold-light); }
.header-phone:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.header-phone:hover svg { color: #fff; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid rgba(216, 189, 141, 0.35);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: #fffdf9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1240px) {
  .nav-toggle { display: flex; }
  .header-phone .header-phone__label { display: none; }
  .header-phone { padding: 0.6rem 0.85rem; }
  .site-nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: rgba(23, 19, 16, 0.97);
    border-bottom: 1px solid rgba(216, 189, 141, 0.2);
    padding: 1rem 1.5rem 1.75rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list a {
    display: block;
    padding: 0.85rem 0.25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(216, 189, 141, 0.12);
  }
  .nav-list a::after { display: none; }
}

/* ---------- Hero (ciemne) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(60rem 32rem at 85% -10%, rgba(176, 141, 87, 0.22), transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(217, 165, 160, 0.12), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 55%, var(--ink-3) 100%);
  color: #fffdf9;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 189, 141, 0.5), transparent);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
  padding-block: clamp(8rem, 15vw, 11.5rem) clamp(4.5rem, 9vw, 7.5rem);
}
.hero__inner--sub { padding-block: clamp(7.5rem, 13vw, 10rem) clamp(4rem, 8vw, 6.5rem); }
.hero__copy { display: grid; gap: 1.6rem; justify-items: start; }
.hero__copy .lead { color: rgba(255, 253, 249, 0.72); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.4rem; }

.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.6rem;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: rgba(255, 253, 249, 0.65);
}
.hero__stars { color: var(--gold-light); letter-spacing: 0.2em; font-size: 0.95rem; }

.hero__media { position: relative; }
.hero__media::before {
  content: "";
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid rgba(216, 189, 141, 0.4);
  border-radius: var(--radius);
  pointer-events: none;
}
.hero__media img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  position: relative;
}
.hero__badge {
  position: absolute;
  left: -1.6rem;
  bottom: 2rem;
  background: rgba(255, 253, 249, 0.97);
  color: var(--ink);
  border-radius: 16px;
  padding: 1rem 1.4rem;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line-gold);
}
.hero__badge strong {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__badge span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-softer);
}

.breadcrumb {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: rgba(255, 253, 249, 0.55);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; }
.breadcrumb a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb [aria-current="page"] { color: var(--gold-light); }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 30rem; }
  .hero__media::before { inset: 1rem -0.75rem -0.75rem 1rem; }
  .hero__badge { left: 1rem; bottom: 1rem; }
}

/* ---------- Karty usług ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1.5rem;
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-gold-soft);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.9rem;
  right: 1.9rem;
  height: 2px;
  background: var(--grad-gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--line-gold);
}
.card:hover::before { opacity: 1; }
.card--static:hover { transform: none; }

.card__icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: linear-gradient(140deg, rgba(176, 141, 87, 0.1), rgba(176, 141, 87, 0.02));
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}
.card__icon svg { width: 1.5rem; height: 1.5rem; }
.card h3 { transition: color 0.25s ease; }
a.card:hover h3 { color: var(--gold-deep); }
.card p { font-size: 0.95rem; color: var(--text-soft); }
.card__more {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.card__more svg { width: 0.9em; height: 0.9em; transition: transform 0.25s ease; }
a.card:hover .card__more svg { transform: translateX(4px); }

/* ---------- Statystyki ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.8rem, 5vw, 4rem);
  padding-top: clamp(2.2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-gold-soft);
}
.stats dt {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats dd {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-softer);
  margin-top: 0.3rem;
}

/* ---------- Galeria przed/po ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.gallery-filter {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--white);
  border: 1px solid var(--line-gold-soft);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.gallery-filter:hover { border-color: var(--gold); color: var(--gold-deep); }
.gallery-filter.is-active { background: var(--gold); border-color: var(--gold); color: #fff; }
.gallery-empty {
  text-align: center;
  color: var(--text-soft);
  padding: 2rem 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.75rem;
}
.ba-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-gold-soft);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ba-figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.ba-figure { cursor: pointer; }
.ba-figure:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ba-figure--single { cursor: default; }
.ba-figure--single:hover { transform: none; box-shadow: var(--shadow-card); }
/* Pojedyncze zdjęcie (bez pary przed/po): układ w poziomie, żeby blok miał
   ten sam rozmiar co karty z dwoma zdjęciami, zamiast być od nich wyższy.
   Zdjęcie po lewej w pełnych proporkach (bez przycinania), opis po prawej. */
.ba-figure--single { display: flex; aspect-ratio: 6 / 5; }
.ba-figure--single .ba-figure__cell {
  flex: 1 1 50%;
  height: 100%;
  background: var(--cream);
}
.ba-figure--single .ba-figure__cell img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}
.ba-figure--single figcaption {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: none;
  border-left: 1px solid var(--line-gold-soft);
}
@media (max-width: 420px) {
  .ba-figure--single { flex-direction: column; aspect-ratio: auto; }
  .ba-figure--single .ba-figure__cell { aspect-ratio: 3 / 4; height: auto; }
  .ba-figure--single .ba-figure__cell img { aspect-ratio: 3 / 4; }
  .ba-figure--single figcaption { border-left: none; border-top: 1px solid var(--line-gold-soft); }
}
.ba-figure__pair { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.ba-figure__pair::after {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(216, 189, 141, 0.8), transparent);
}
.ba-figure__cell { position: relative; }
.ba-figure__cell img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.ba-figure__tag {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fffdf9;
  background: rgba(23, 19, 16, 0.65);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(216, 189, 141, 0.35);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.ba-figure__tag--gold { background: rgba(147, 113, 63, 0.82); }
.ba-figure__name {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
  margin-bottom: 0.2rem;
}
.ba-figure figcaption {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  border-top: 1px solid var(--line-gold-soft);
}

/* ---------- Modal: metamorfoza przed/po (suwak) ---------- */
.ba-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.ba-modal[hidden] { display: none; }
.ba-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 19, 16, 0.82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.ba-modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(94vw, 880px);
  max-height: 90vh;
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card-hover);
  border: 1px solid var(--line-gold-soft);
}
.ba-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(216, 189, 141, 0.5);
  background: rgba(23, 19, 16, 0.65);
  color: #fffdf9;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.ba-modal__close:hover { background: var(--gold-deep); }
.ba-modal__close svg { width: 1.1rem; height: 1.1rem; }
.ba-modal__caption {
  align-self: stretch;
  padding: 1rem 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-soft);
  border-top: 1px solid var(--line-gold-soft);
}

.ba-compare {
  --pos: 50%;
  position: relative;
  /* Rozmiar (width + aspect-ratio) ustawia JS w fitBox() — patrz main.js,
     bo box nie ma zwykłej (nieabsolutnej) zawartości, z której CSS mógłby
     go wyliczyć samodzielnie. */
  max-width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  background: var(--ink);
}
.ba-compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.ba-compare__after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-compare__divider {
  position: absolute;
  inset-block: 0;
  left: var(--pos);
  width: 2px;
  transform: translateX(-1px);
  background: rgba(249, 245, 238, 0.9);
  pointer-events: none;
}
.ba-compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #fffdf9;
  box-shadow: 0 4px 14px rgba(23, 19, 16, 0.35);
}
.ba-compare__handle svg { width: 1.3rem; height: 1.3rem; }
.ba-compare__tag {
  position: absolute;
  bottom: 0.9rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fffdf9;
  background: rgba(23, 19, 16, 0.65);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(216, 189, 141, 0.35);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  pointer-events: none;
}
.ba-compare__tag--before { left: 0.9rem; }
.ba-compare__tag--after { right: 0.9rem; background: rgba(147, 113, 63, 0.82); }
.ba-compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
  -webkit-appearance: none;
}
.ba-compare__range::-webkit-slider-thumb { appearance: none; width: 2.75rem; height: 2.75rem; }
.ba-compare__range::-moz-range-thumb { width: 2.75rem; height: 2.75rem; border: none; }

.link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.5rem;
  margin-top: clamp(2.2rem, 4vw, 3rem);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: 0.25rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.text-link:hover { color: var(--ink); border-color: var(--ink); }
.text-link svg { width: 0.9em; height: 0.9em; }

.note {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-softer);
  margin-top: clamp(2.2rem, 4vw, 3rem);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(46rem 24rem at 50% 130%, rgba(176, 141, 87, 0.3), transparent 65%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fffdf9;
  text-align: center;
  padding-block: clamp(4.5rem, 9vw, 7rem);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 189, 141, 0.5), transparent);
}
.cta-band .container--narrow { display: grid; gap: 1.5rem; justify-items: center; }
.cta-band p { color: rgba(255, 253, 249, 0.7); font-weight: 300; font-size: 1.1rem; max-width: 32rem; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
/* Prawa kolumna: karta danych dopełnia wysokość, by dół mapy zrównał się
   z dołem formularza (mapa zachowuje stały rozmiar) */
.contact-side { display: flex; flex-direction: column; }
.contact-side .info-card { flex: 1; }

.form-card {
  background:
    radial-gradient(30rem 18rem at 110% -20%, rgba(176, 141, 87, 0.2), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fffdf9;
  border-radius: var(--radius);
  border: 1px solid rgba(216, 189, 141, 0.25);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.form-card h2 { margin-bottom: 1.6rem; font-size: 1.7rem; }
.form-status {
  margin-bottom: 1.4rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  font-size: 0.92rem;
  border: 1px solid;
}
.form-status--ok {
  background: rgba(176, 141, 87, 0.14);
  border-color: rgba(176, 141, 87, 0.4);
  color: var(--gold-light);
}
.form-status--error {
  background: rgba(217, 165, 160, 0.14);
  border-color: rgba(217, 165, 160, 0.45);
  color: var(--rose);
}
.form-grid { display: grid; gap: 1.15rem; }
.form-grid--cols { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) {
  .form-grid--cols { grid-template-columns: 1fr; }
}
.field label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: rgba(255, 253, 249, 0.75);
  margin-bottom: 0.4rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: #fffdf9;
  background: rgba(255, 253, 249, 0.07);
  border: 1px solid rgba(216, 189, 141, 0.3);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 253, 249, 0.38); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-light);
  background: rgba(255, 253, 249, 0.1);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23d8bd8d' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; }
/* Natywny kalendarz w ciemnym motywie (jasna ikona i picker na ciemnej karcie) */
.field input[type="date"] { color-scheme: dark; }
.field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.7; }
.field input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }
.field select option { color: var(--ink); background: var(--white); }
.form-note { margin-top: 1.4rem; font-size: 0.9rem; color: rgba(255, 253, 249, 0.6); }
.form-note a { color: var(--gold-light); font-weight: 500; text-decoration: none; }
.form-note a:hover { text-decoration: underline; }

.info-card {
  background: var(--white);
  border: 1px solid var(--line-gold-soft);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-card);
}
.info-card__divider {
  margin-block: 1.5rem;
  border: 0;
  border-top: 1px solid var(--line-gold-soft);
}
.info-card address { font-style: normal; display: grid; gap: 0.4rem; }
.info-card address a { text-decoration: none; transition: color 0.2s ease; }
.info-card address a:hover { color: var(--gold-deep); }
.hours-list { list-style: none; display: grid; gap: 0.35rem; font-size: 0.95rem; color: var(--text-soft); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-gold-soft);
  box-shadow: var(--shadow-card);
  margin-top: 2rem;
}
.map-frame iframe { width: 100%; height: 19rem; border: 0; }

/* ---------- Stopka ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  color: rgba(255, 253, 249, 0.72);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2.5rem;
}
.site-footer .logo { font-size: 1.7rem; margin-bottom: 1rem; display: inline-flex; }
.site-footer p { font-size: 0.95rem; }
.site-footer h3 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; display: grid; gap: 0.55rem; margin-top: 1.4rem; }
.footer-links a,
.site-footer address a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.footer-links a:hover,
.site-footer address a:hover { color: var(--gold-light); }
.site-footer address { font-style: normal; display: grid; gap: 0.45rem; font-size: 0.95rem; }
.site-footer .hours-list { color: rgba(255, 253, 249, 0.72); }
.site-footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(216, 189, 141, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  font-size: 0.8rem;
  color: rgba(255, 253, 249, 0.45);
  letter-spacing: 0.03em;
}

/* ---------- Sekcja "Dlaczego my" ---------- */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}
.split__media { position: relative; }
.split__media::before {
  content: "";
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  pointer-events: none;
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card-hover);
  position: relative;
}
.split__copy { display: grid; gap: 1.2rem; justify-items: start; }

.check-list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin-top: 0.6rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--text-soft);
  font-size: 0.98rem;
}
.check-list svg {
  width: 1.3rem;
  height: 1.3rem;
  flex: none;
  margin-top: 0.2rem;
  color: var(--gold-deep);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  padding: 0.2rem;
  background: linear-gradient(140deg, rgba(176, 141, 87, 0.12), rgba(176, 141, 87, 0.02));
}

/* Opinie klientów (social proof) */
.quote-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-gold-soft);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.quote-card::before {
  content: "\201D";
  position: absolute;
  top: 0.4rem;
  right: 1.4rem;
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--line-gold);
  pointer-events: none;
}
.quote-card__stars {
  color: var(--gold);
  letter-spacing: 0.2em;
  font-size: 0.95rem;
}
.quote-card blockquote {
  font-style: italic;
  font-size: 0.97rem;
  color: var(--text-soft);
}
.quote-card figcaption {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.92rem;
}
.quote-card figcaption span {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-softer);
}

/* Certyfikaty i szkolenia */
.cert-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.25rem;
}
.cert-badge {
  border: 1px dashed var(--line-gold);
  border-radius: 16px;
  padding: 1.4rem 1.1rem;
  text-align: center;
  display: grid;
  gap: 0.6rem;
  justify-items: center;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  background: var(--white);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.cert-badge:hover { border-color: var(--gold); transform: translateY(-3px); }
.cert-badge svg { width: 1.7rem; height: 1.7rem; color: var(--gold-deep); }

/* ---------- Pływający przycisk rezerwacji (mobile) ---------- */
.fab-cta {
  position: fixed;
  left: 50%;
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 45;
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  background: var(--grad-gold);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 14px 34px -8px rgba(176, 141, 87, 0.75), 0 4px 14px rgba(23, 19, 16, 0.3);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}
.fab-cta svg { width: 1.1em; height: 1.1em; flex: none; }
.fab-cta:active { transform: translateX(-50%) scale(0.97); }

/* Z JS przycisk startuje schowany i wjeżdża po przewinięciu poza hero */
html.js .fab-cta {
  opacity: 0;
  transform: translate(-50%, 5rem);
  pointer-events: none;
}
html.js .fab-cta.is-shown {
  opacity: 1;
  transform: translateX(-50%);
  pointer-events: auto;
  animation: fab-glow 3.5s ease-in-out 1s infinite;
}
@keyframes fab-glow {
  0%, 100% { box-shadow: 0 14px 34px -8px rgba(176, 141, 87, 0.75), 0 4px 14px rgba(23, 19, 16, 0.3); }
  50% { box-shadow: 0 14px 42px -6px rgba(216, 189, 141, 0.95), 0 4px 14px rgba(23, 19, 16, 0.3); }
}

@media (max-width: 860px) {
  .fab-cta { display: inline-flex; }
}

/* ---------- Animacje ozdobne ---------- */

/* Sekwencyjne wejście treści hero przy załadowaniu strony */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.hero__copy > * { animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.hero__copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero__copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.25s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.35s; }
.hero__copy > *:nth-child(5) { animation-delay: 0.45s; }
.hero__copy > *:nth-child(6) { animation-delay: 0.55s; }

/* Delikatny efekt Kena Burnsa na zdjęciu hero */
@keyframes hero-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero__media img { animation: hero-zoom 1.8s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* Pływająca plakietka z oceną */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.hero__badge { animation: float 6s ease-in-out 2s infinite; }

/* Połysk przesuwający się po złotym przycisku */
.btn--gold { position: relative; overflow: hidden; }
.btn--gold::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn--gold:hover::after { left: 130%; }

/* Ikony kart: obrót i powiększenie przy najechaniu */
.card__icon { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.35s ease; }
.card:hover .card__icon {
  transform: rotate(-8deg) scale(1.12);
  border-color: var(--gold);
}

/* Zoom zdjęć w galerii przed/po */
.ba-figure__cell { overflow: hidden; }
.ba-figure__cell img { transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.ba-figure:hover .ba-figure__cell img { transform: scale(1.07); }

/* Pulsująca złota poświata sekcji CTA */
@keyframes glow-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(42rem 22rem at 50% 120%, rgba(216, 189, 141, 0.24), transparent 65%);
  animation: glow-pulse 7s ease-in-out infinite;
  pointer-events: none;
}
.cta-band .container--narrow { position: relative; z-index: 1; }

/* ---------- Animacje wejścia ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; }
}
