/* ==========================================================================
   SAUNATORIUM - Ekskluzywny Design System (Black & Gold Luxury SPA)
   ========================================================================== */

:root {
  /* Paleta barw luksusowych - ciepła czerń */
  --bg-deep: #070707;
  --bg-main: #0c0c0b;
  --bg-surface: #131312;
  --bg-surface-elevated: #1b1a18;
  --bg-glass: rgba(12, 12, 11, 0.86);

  /* Odcienie szlachetnego złota */
  --gold-light: #f3d99d;
  --gold: #c5a059;
  --gold-hover: #dfba73;
  --gold-dark: #987532;
  --gold-border: rgba(197, 160, 89, 0.28);
  --gold-border-bright: rgba(223, 186, 115, 0.6);
  --gold-glow: rgba(197, 160, 89, 0.15);
  --gold-gradient: linear-gradient(135deg, #f3d99d 0%, #c5a059 50%, #987532 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(243, 217, 157, 0.15) 0%, rgba(197, 160, 89, 0.05) 100%);

  /* Typografia i teksty */
  --text-main: #f5f3ef;
  --text-muted: #b0aca3;
  --text-dim: #79766e;

  /* Funkcjonalne */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(197, 160, 89, 0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --shell: 1280px;
  --transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  overflow-x: hidden;
}

body {
  margin: 0;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  transform: translateY(-200%);
  background: var(--gold);
  color: #000;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ==========================================================================
   TYPOGRAFIA I ELEMENTY DEKORACYJNE
   ========================================================================== */

h1, h2, h3, h4, .font-serif {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.25;
  margin-top: 0;
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
}

/* ==========================================================================
   PRZYCISKI (BUTTONS)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold-gradient);
  color: #0a0a0a;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(197, 160, 89, 0.25);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(197, 160, 89, 0.4);
  filter: brightness(1.05);
}

.btn--gold-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
}

.btn--gold-outline:hover {
  border-color: var(--gold);
  background: rgba(197, 160, 89, 0.08);
  color: #fff;
  transform: translateY(-2px);
}

.btn--compact {
  padding: 10px 20px;
  font-size: 13px;
}

.btn--full {
  width: 100%;
}

/* ==========================================================================
   NAGŁÓWEK (SITE HEADER)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 8px 0;
}

.header-brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  flex: 0 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  height: 48px;
  width: auto;
}

.brand-tagline {
  font-family: "Caveat", "Dancing Script", cursive, serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.6px;
  line-height: 1.15;
  margin: 0;
  text-shadow: 0 1px 8px rgba(197, 160, 89, 0.4);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: var(--text-main);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.header-phone__icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.header-phone:hover {
  color: #fff;
}

.menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 8px;
  color: var(--text-main);
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 101;
}

.menu-button span {
  display: block;
  height: 2px;
  width: 24px;
  background-color: var(--gold-light);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

.menu-button.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-button.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-button.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-backdrop.is-open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile-only {
  display: none;
}

/* ==========================================================================
   HERO SEKCJA
   ========================================================================== */

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  min-height: calc(100svh - 84px);
  display: flex;
  align-items: center;
  padding: 96px 0 110px;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.92) brightness(0.82);
  animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.48) 0%, rgba(7, 7, 7, 0.12) 35%, rgba(7, 7, 7, 0.22) 70%, var(--bg-main) 100%),
    radial-gradient(ellipse at 50% 45%, rgba(7, 7, 7, 0.28) 0%, rgba(7, 7, 7, 0.04) 60%, transparent 100%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.hero h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

.hero-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 26px 28px;
  background: rgba(12, 12, 11, 0.62);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.hero-stats > div {
  position: relative;
  padding: 0 8px;
}

.hero-stats > div + div::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 8%;
  height: 84%;
  width: 1px;
  background: var(--border-subtle);
}

.hero-stats dt {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 6px;
  white-space: nowrap;
}

.hero-stats dd {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   SEKCJA O NAS
   ========================================================================== */

.section {
  padding: 96px 0;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
}

.section-heading h2 {
  font-size: clamp(32px, 3.8vw, 44px);
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 600px;
  margin: 0;
}

.section-index {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--gold-border);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.about {
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface) 100%);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "top mosaic"
    "story mosaic";
  gap: 28px 64px;
  align-items: start;
  margin-bottom: 64px;
}

.about-grid > .section-top {
  grid-area: top;
  margin-bottom: 0;
}

.about-story {
  grid-area: story;
}

.about-story p.about-lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 24px;
}

.about-story p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 20px;
}

.about-values {
  list-style: none;
  margin: 32px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}

.about-values li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-values__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}

.about-values__icon svg {
  width: 20px;
  height: 20px;
}

.about-values strong {
  display: block;
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 3px;
}

.about-values li > div > span {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.about-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.about-cta__phone {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.about-cta__phone-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-dim);
}

.about-cta__phone strong {
  font-size: 18px;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.about-cta__phone:hover strong {
  color: #fff;
}

.about-mosaic {
  grid-area: mosaic;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-mosaic figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.about-mosaic figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-mosaic figure:hover img {
  transform: scale(1.05);
}

.about-mosaic__main {
  grid-column: span 2;
}

.about-mosaic__main img {
  height: 380px;
}

.about-mosaic__main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 7, 7, 0.85) 0%, rgba(7, 7, 7, 0.1) 45%, transparent 100%);
  pointer-events: none;
}

.about-mosaic__caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-mosaic__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #000;
  background: var(--gold-gradient);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}

.about-mosaic__caption strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  color: var(--text-main);
}

.about-mosaic__caption > span:not(.about-mosaic__tag) {
  font-size: 13px;
  color: var(--text-muted);
}

.pillars-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
}

.pillars-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pillars-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.55);
  transform: scale(1.04);
}

.pillars-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-main) 0%, rgba(12, 12, 11, 0.55) 25%, rgba(12, 12, 11, 0.55) 75%, var(--bg-surface) 100%),
    radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.12) 0%, transparent 60%);
}

.pillars-shell {
  position: relative;
  z-index: 1;
}

.section-top--center {
  justify-content: center;
  text-align: center;
}

.section-top--center .section-heading p {
  margin-inline: auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: rgba(12, 12, 11, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border-bright);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.pillar-icon svg {
  width: 26px;
  height: 26px;
}

.pillar-card small {
  display: none !important;
}

.pillar-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   SEKCJA OFERTA (KATEGORIE)
   ========================================================================== */

.categories {
  background: var(--bg-deep);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: var(--transition);
}

.category-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.category-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-card__img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-card);
}

.category-card__img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.12) 0%, transparent 45%, rgba(8, 8, 8, 0.6) 100%);
  transition: opacity 0.4s ease;
  z-index: 1;
}

.category-card:hover .category-card__img-wrap::after {
  opacity: 0.8;
}

.category-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover .category-card__img-wrap img {
  transform: scale(1.08);
}

.category-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(12, 12, 11, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.category-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.category-card__index {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.category-card__head h3 {
  text-align: right;
}

.category-card__content h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.category-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.category-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
}

.category-card__arrow {
  transition: transform 0.25s ease;
}

.category-card:hover .category-card__arrow {
  transform: translateX(6px);
}

/* ==========================================================================
   SEKCJA KATALOG PRODUKTÓW
   ========================================================================== */

.catalog {
  background: var(--bg-main);
}

.catalog-tools {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  padding: 20px 24px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.catalog-group-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.group-filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text-muted);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition);
}

.group-filter-btn:hover {
  color: var(--text-main);
  border-color: var(--gold-border);
}

.group-filter-btn.is-active {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(197, 160, 89, 0.35);
}

.catalog-sub-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 auto;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.filter-pill:hover {
  color: var(--text-main);
  border-color: var(--gold-border);
}

.filter-pill.is-active {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(197, 160, 89, 0.3);
}

.catalog-sub-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sort-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.sort-box:hover,
.sort-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.2);
}

.sort-box__icon {
  font-size: 13px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  pointer-events: none;
}

.sort-box select {
  background: transparent;
  border: none;
  outline: none;
  font-size: 13.5px;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  padding-right: 22px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c5a059' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
}

.sort-box select option {
  background: #171715;
  color: #f5f4ef;
  padding: 10px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  min-width: 260px;
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.2);
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text-main);
  width: 100%;
}

.search-box input::placeholder {
  color: var(--text-dim);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 24px var(--gold-glow);
}

.product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__media img,
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card__img {
  transform: scale(1.04);
}

.product-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(12, 12, 11, 0.85);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
  z-index: 3;
}

.product-gallery-btn:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.product-gallery-btn--prev {
  left: 8px;
}

.product-gallery-btn--next {
  right: 8px;
}

.product-gallery-indicator {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(7, 7, 7, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-light);
  z-index: 3;
  pointer-events: none;
}

.slider-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  width: 100%;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.3);
  border: 1px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-dot.is-active {
  background: var(--gold);
  width: 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 8px rgba(197, 160, 89, 0.4);
}

/* Na desktopie przycisk akordeonu jest statycznym nagłówkiem kolumny */
.footer-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  text-align: left;
  pointer-events: none;
  cursor: default;
}

.footer-accordion-icon {
  display: none;
}

.product-card__code {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(12, 12, 11, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.product-card__content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__cat {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.product-card__title {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.product-card__lead {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-card__specs-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: var(--bg-surface-elevated);
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.product-card__specs-pills small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold);
}

.product-card__specs-pills strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.catalog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-dim);
}

.catalog-footer__link {
  color: var(--gold-light);
  font-weight: 600;
  white-space: nowrap;
}

.catalog-footer__link:hover {
  color: #fff;
}

.catalog-empty {
  grid-column: 1 / -1;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 48px 24px;
  text-align: center;
  border-radius: var(--radius-md);
}

.catalog-empty h3 {
  font-size: 20px;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.catalog-empty p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto 24px;
}

.inspirations-disclaimer {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  font-style: italic;
}

/* ==========================================================================
   SEKCJA REALIZACJE (INSPIRACJE)
   ========================================================================== */

.realizations {
  background: var(--bg-surface);
}

/* Karuzela z zapętleniem */
.carousel {
  position: relative;
}

.carousel__track {
  --per-view: 3;
  --carousel-gap: 20px;
  display: flex;
  gap: var(--carousel-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__slide {
  flex: 0 0 calc((100% - var(--carousel-gap) * (var(--per-view) - 1)) / var(--per-view));
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.carousel-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  background: rgba(12, 12, 11, 0.6);
  color: var(--gold-light);
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 3px;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.realizations-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.realizations-footer .inspirations-disclaimer {
  margin: 0;
  text-align: left;
}

.realization-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  border: 1px solid var(--border-subtle);
}

.realization-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.realization-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 7, 7, 0.95) 0%, rgba(7, 7, 7, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition);
}

.realization-card:hover img {
  transform: scale(1.08);
}

.realization-card:hover {
  border-color: var(--gold-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.realization-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.realization-card h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.realization-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   SEKCJA KONTAKT
   ========================================================================== */

.contact-section {
  background: radial-gradient(circle at 10% 20%, rgba(197, 160, 89, 0.06) 0%, var(--bg-deep) 60%);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
}

.contact-title-with-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-title-with-logo h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 0;
}

.contact-title-logo {
  height: 40px;
  width: auto;
  opacity: 0.95;
  filter: drop-shadow(0 2px 8px rgba(197, 160, 89, 0.25));
}

.contact-info p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.contact-info .contact-promise {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 600;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-item-box {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact-item-box:hover {
  border-color: var(--gold-border);
  transform: translateX(4px);
}

.contact-item-body {
  display: block;
  flex: 1;
  min-width: 0;
}

.contact-item-body strong {
  overflow-wrap: anywhere;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.contact-item-body small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-item-body strong {
  display: block;
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 2px;
}

.contact-item-body span {
  font-size: 13px;
  color: var(--text-muted);
}

.contact-form-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.contact-form-wrap h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-form-wrap > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-grid-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.contact-grid > * {
  min-width: 0;
}

.form-field--full {
  grid-column: span 2;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.form-field label em {
  color: var(--gold-light);
  font-style: normal;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-main);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(197, 160, 89, 0.25);
}

.form-field select option {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 24px;
}

.form-consent input[type="checkbox"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.form-feedback {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 20px;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback.is-error {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #fca5a5;
}

.form-feedback.is-success {
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
}

/* ==========================================================================
   STOPKA (FOOTER)
   ========================================================================== */

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
  margin: 18px 0;
}

.footer-col h4 {
  font-size: 16px;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-dim);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  color: var(--text-dim);
}

.footer-legal-links a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   MODALE (SZCZEGÓŁY PRODUKTU I DOKUMENTY PRAWNE)
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 3, 0.85);
  backdrop-filter: blur(12px);
}

.modal__dialog {
  position: relative;
  z-index: 2;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  padding: 40px;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.is-open .modal__dialog {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal__close:hover {
  border-color: var(--gold);
  color: #fff;
  transform: rotate(90deg);
}

/* Wnętrze modala produktu */
.modal-product-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  margin-bottom: 36px;
}

.modal-product-media {
  position: relative;
  align-self: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border);
}

.modal-product-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.modal-media-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 10px;
}

.modal-model-badge {
  background: rgba(12, 12, 11, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.modal-cat-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.modal-product-title {
  font-size: 28px;
  margin-bottom: 12px;
}

.modal-product-lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

.modal-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.highlight-item {
  background: var(--bg-surface-elevated);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.highlight-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold);
}

.highlight-val {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.modal-cta-box {
  background: var(--gold-gradient-subtle);
  border: 1px solid var(--gold-border);
  padding: 20px;
  border-radius: var(--radius-md);
}

.modal-cta-text strong {
  display: block;
  font-size: 15px;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.modal-cta-text span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
}

.modal-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.modal-details-tabs {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.modal-section-box h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--gold-light);
}

.modal-full-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

.modal-section-box--full-desc {
  background: var(--bg-surface-elevated);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.modal-full-desc-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-full-desc-content p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.modal-perks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-perks-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.check-icon {
  color: var(--gold);
  font-weight: bold;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.specs-table th,
.specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.specs-table th {
  width: 35%;
  color: var(--gold-light);
  font-weight: 600;
  background: var(--bg-surface-elevated);
}

.specs-table td {
  color: var(--text-main);
}

/* Wnętrze modala dokumentów prawnych */
.modal-doc-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.modal-doc-content h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

.modal-doc-content h3 {
  font-size: 19px;
  color: var(--gold-light);
  margin-top: 24px;
  margin-bottom: 10px;
}

.modal-doc-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.modal-doc-content li {
  margin-bottom: 8px;
}

/* ==========================================================================
   PASEK MOBILNY (MOBILE ACTION BAR)
   ========================================================================== */

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(12, 12, 11, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--gold-border);
  padding: 12px 20px;
}

.mobile-bar__inner {
  display: flex;
  gap: 12px;
}

.mobile-bar a {
  flex: 1;
}

/* ==========================================================================
   ANIMACJE WEJŚCIA (SCROLL REVEAL)
   ========================================================================== */

/* Używamy właściwości `translate`, aby nie kolidować z transform na :hover */
.reveal {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), translate 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
}

/* ==========================================================================
   RESPONSYWNOŚĆ (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 20px;
  }
  .hero-stats > div:nth-child(3)::before {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "story"
      "mosaic";
    gap: 40px;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .carousel__track {
    --per-view: 2;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 56px 0;
  }

  .section-top {
    margin-bottom: 28px;
  }

  .hero {
    padding: 64px 0 72px;
    min-height: 0;
  }

  .about-grid {
    grid-template-areas:
      "mosaic"
      "top"
      "story";
    gap: 28px;
    margin-bottom: 28px;
  }

  .header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: auto;
    min-height: unset;
    padding: 10px 0 6px;
    gap: 4px 12px;
  }

  .header-brand-wrap {
    display: contents;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    order: 1;
  }

  .brand-logo {
    height: 38px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
  }

  .header-actions {
    gap: 12px;
    order: 2;
  }

  .menu-button {
    order: 3;
  }

  .brand-tagline {
    order: 4;
    width: 100%;
    text-align: center;
    font-size: clamp(15.5px, 4.3vw, 19.5px);
    letter-spacing: 0.3px;
    line-height: 1.25;
    padding: 4px 0 2px;
    border-top: 1px solid rgba(197, 160, 89, 0.12);
  }

  .header-phone {
    width: 44px;
    height: 44px;
    justify-content: center;
    border: 1px solid var(--gold-border);
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.08);
  }

  .header-phone__icon {
    width: 20px;
    height: 20px;
  }

  .header-phone__text {
    display: none;
  }

  /* backdrop-filter na headerze robił z niego containing block dla
     position: fixed - panel nawigacji był przycięty do wysokości paska. */
  .site-header {
    backdrop-filter: none;
    background: rgba(7, 7, 7, 0.96);
  }

  .site-header .main-nav {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 86px);
    height: calc(100dvh - 86px);
    background:
      radial-gradient(circle at 80% 10%, rgba(197, 160, 89, 0.12) 0%, transparent 45%),
      var(--bg-deep);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
    gap: 0;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0s linear 0.3s;
    overflow-y: auto;
    z-index: 99;
  }

  .site-header .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0s;
  }

  .main-nav a:not(.nav-mobile-only) {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(26px, 7vw, 34px);
    font-weight: 600;
    letter-spacing: 0;
    color: var(--text-main);
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .main-nav a:not(.nav-mobile-only)::before,
  .main-nav a:not(.nav-mobile-only)::after {
    display: none !important;
  }

  .nav-mobile-only {
    display: flex;
  }

  .main-nav a.nav-mobile-phone {
    margin-top: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #0a0a0a;
    background: #f4ead6;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 18px rgba(244, 234, 214, 0.22);
  }

  .nav-mobile-phone__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .main-nav a.nav-mobile-phone:hover {
    color: #0a0a0a;
    filter: brightness(1.06);
  }

  .main-nav a.nav-mobile-cta::after,
  .main-nav a.nav-mobile-phone::after {
    display: none;
  }

  .main-nav a.nav-mobile-cta {
    color: #000;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }

  .menu-button {
    display: flex;
  }

  .header-actions .button,
  .header-actions .btn {
    display: none;
  }

  .mobile-bar {
    display: block;
  }

  body {
    padding-bottom: 74px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 28px);
    margin-inline: auto;
  }

  .section {
    padding: 40px 0;
  }

  .section-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }

  .section-heading h2 {
    font-size: 25px;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .section-heading p {
    font-size: 13.5px;
    line-height: 1.5;
  }

  /* 8. SKRÓCONE HERO */
  .hero {
    padding: 48px 0 52px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.18;
    margin-bottom: 12px;
  }

  .hero-lead {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 18px;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 14px;
  }

  .hero-bg img {
    animation: none;
    object-position: center;
  }

  /* 7. SKRÓCONE O SAUNATORIUM */
  .about {
    padding-top: 28px;
  }

  .about-grid {
    grid-template-areas:
      "mosaic"
      "top"
      "story";
    gap: 20px;
    margin-bottom: 20px;
  }

  .about-story p.about-lead {
    font-size: 15.5px;
    line-height: 1.55;
    margin-bottom: 10px;
  }

  .about-story p {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .about-values {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 22px 0;
  }

  .about-values__icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .about-values strong {
    font-size: 14px;
  }

  .about-values li > div > span {
    font-size: 12.5px;
  }

  .about-cta {
    padding-top: 20px;
    gap: 14px 20px;
  }

  .about-cta .btn {
    width: 100%;
  }

  .about-mosaic {
    gap: 10px;
  }

  .about-mosaic figure img {
    height: 130px;
  }

  .about-mosaic__main img {
    height: 240px;
  }

  .about-mosaic__caption {
    left: 14px;
    right: 14px;
    bottom: 12px;
  }

  .about-mosaic__caption strong {
    font-size: 17px;
  }

  .about-mosaic__caption > span:not(.about-mosaic__tag) {
    font-size: 12px;
  }

  /* 2. KATEGORIE - SIATKA 2 x 2 */
  .category-grid,
  .category-grid[data-group="lazienka"] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .category-card {
    padding: 0;
  }

  .category-card__img-wrap {
    height: 120px;
  }

  .category-card__badge {
    top: 8px;
    left: 8px;
    font-size: 9.5px;
    padding: 3px 8px;
    letter-spacing: 0.6px;
  }

  .category-card__content {
    padding: 12px 12px 12px;
  }

  .category-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 4px;
  }

  .category-card__index {
    display: none;
  }

  .category-card__head h3,
  .category-card__content h3 {
    font-size: 15px;
    line-height: 1.25;
    text-align: left;
    margin-bottom: 4px;
  }

  .category-card__desc {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .category-card__footer {
    padding-top: 10px;
    font-size: 11.5px;
  }

  /* Ostatnia karta w Łazience oraz Akcesoria - pełna szerokość, układ poziomy */
  .category-grid[data-group="lazienka"] .category-card:nth-child(3),
  .category-grid--single .category-card {
    grid-column: 1 / -1;
  }

  .category-grid[data-group="lazienka"] .category-card:nth-child(3) .category-card__link,
  .category-grid--single .category-card__link {
    flex-direction: row;
    align-items: stretch;
  }

  .category-grid[data-group="lazienka"] .category-card:nth-child(3) .category-card__img-wrap,
  .category-grid--single .category-card__img-wrap {
    flex: 0 0 44%;
    height: auto;
    min-height: 140px;
  }

  .category-grid[data-group="lazienka"] .category-card:nth-child(3) .category-card__content,
  .category-grid--single .category-card__content {
    justify-content: center;
  }

  .category-grid[data-group="lazienka"] .category-card:nth-child(3) .category-card__desc,
  .category-grid--single .category-card__desc {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  /* 3. SIATKA PRODUKTÓW 2-KOLUMNOWA NA TELEFONY (ZWIĘKSZONA WIDOCZNOŚĆ MODELI) */
  .catalog-tools {
    padding: 12px;
    gap: 12px;
    margin-bottom: 20px;
  }

  .catalog-group-filters {
    display: flex;
    gap: 6px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .catalog-group-filters::-webkit-scrollbar {
    display: none;
  }

  .group-filter-btn {
    padding: 6px 14px;
    font-size: 12px;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .catalog-sub-tools {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .filter-list {
    width: 100%;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-list::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    padding: 6px 12px;
    font-size: 11.5px;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .catalog-sub-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .sort-box {
    width: 100%;
    min-width: 0;
    padding: 6px 14px;
  }

  .sort-box select {
    width: 100%;
    font-size: 12.5px;
  }

  .search-box {
    width: 100%;
    min-width: 0;
    padding: 6px 14px;
  }

  /* 2 KOLUMNY KART NA TELEFONIE */
  .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    overflow-x: visible !important;
    padding-inline: 0 !important;
    margin-inline: 0 !important;
  }

  .slider-dots {
    display: none !important;
  }

  .product-card {
    flex: none !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  }

  .product-card__media {
    height: 145px !important;
    aspect-ratio: unset !important;
    background: #ffffff !important;
  }

  .product-card__media img,
  .product-card__img {
    object-fit: contain !important;
    object-position: center !important;
  }

  .product-card__code {
    top: 6px;
    left: 6px;
    font-size: 9px;
    padding: 2px 6px;
  }

  .product-gallery-btn {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }

  .product-gallery-indicator {
    bottom: 6px;
    right: 6px;
    font-size: 9px;
    padding: 2px 6px;
  }

  .product-card__content {
    padding: 12px 10px !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .product-card__cat {
    font-size: 9.5px;
    letter-spacing: 0.6px;
    margin-bottom: 3px;
  }

  .product-card__title {
    font-size: 13px !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
    min-height: 34px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-badge {
    font-size: 9px !important;
    padding: 2px 6px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .product-card__lead {
    display: none !important; /* ukrywamy długi lead w widoku 2-kolumnowym dla czytelności */
  }

  .product-card__specs-pills {
    padding: 6px 8px !important;
    gap: 4px !important;
    margin-bottom: 8px !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .product-card__specs-pills small {
    font-size: 8.5px !important;
  }

  .product-card__specs-pills strong {
    font-size: 11px !important;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
  }

  .price-block {
    margin-bottom: 8px;
  }

  .price-block__value {
    font-size: clamp(20px, 5vw, 28px) !important;
  }

  .price-block__note {
    display: none !important;
  }

  .product-card__actions {
    gap: 6px !important;
    margin-top: auto;
  }

  .product-card__actions .btn {
    padding: 8px 6px !important;
    font-size: 11px !important;
    white-space: normal;
    line-height: 1.2;
  }

  /* 5. DLACZEGO SAUNATORIUM - GRID 2 x 2 */
  .pillars-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .pillar-card {
    padding: 14px 10px;
  }

  .pillar-card .pillar-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
  }

  .pillar-card .pillar-icon svg {
    width: 16px;
    height: 16px;
  }

  .pillar-card small {
    display: none !important;
  }

  .pillar-card h3 {
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.25;
  }

  .pillar-card p {
    font-size: 11.5px;
    line-height: 1.35;
    margin: 0;
  }

  /* 6. REALIZACJE - KARUZELA 1 SLAJD */
  .carousel__track {
    --per-view: 1;
    --carousel-gap: 12px;
  }

  .carousel-nav {
    display: none;
  }

  .realization-card {
    aspect-ratio: 4 / 3.2;
  }

  .realization-card__overlay {
    padding: 16px;
  }

  .realizations-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .realizations-footer .inspirations-disclaimer {
    text-align: center;
  }

  .realization-card h3 {
    font-size: 17px;
    margin-bottom: 4px;
  }

  .realization-card p {
    font-size: 12px;
  }

  /* WSPÓLNE KROPKI SLIDERÓW NA MOBILE */
  .slider-dots {
    display: flex;
    margin-top: 14px;
  }

  /* 9. FORMULARZ KONTAKTOWY NA MOBILE */
  .contact-title-with-logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
  }

  .contact-title-logo {
    height: 32px;
  }

  .contact-form-wrap {
    padding: 18px 14px;
  }

  .form-grid-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .form-field--full {
    grid-column: span 1;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 10px 12px;
    font-size: 14px;
  }

  .form-field textarea {
    min-height: 85px;
    height: 85px;
  }

  .contact-form .btn {
    padding: 14px 20px;
    font-size: 14px;
  }

  /* 10. STOPKA I AKORDEONY */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-col--accordion {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 8px;
  }

  .footer-accordion-btn {
    background: none;
    border: none;
    padding: 8px 0;
    color: inherit;
    cursor: pointer;
    pointer-events: auto;
  }

  .footer-accordion-btn h4 {
    margin: 0;
    font-size: 15px;
    color: var(--gold-light);
    font-weight: 600;
  }

  .footer-accordion-icon {
    display: inline-block;
    font-size: 20px;
    color: var(--gold);
    line-height: 1;
    font-weight: 300;
  }

  .footer-col--accordion ul {
    display: none;
    margin-top: 8px;
    padding-left: 0;
  }

  .footer-col--accordion.is-open ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-bottom {
    padding-top: 20px;
    flex-direction: column;
    gap: 14px;
  }

  /* MODAL */
  .modal__dialog {
    padding: 18px 14px;
    margin: 12px auto;
    max-height: calc(100vh - 24px);
  }

  .modal-main-img-wrap img {
    height: 220px;
  }

  .modal-product-info h2 {
    font-size: 20px;
  }

  .modal-cta-box {
    padding: 14px;
  }

  .modal-cta-buttons {
    flex-direction: column;
  }

  .modal-cta-buttons .btn {
    width: 100%;
  }

  .modal-perks-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .specs-table th,
  .specs-table td {
    padding: 8px 10px;
    font-size: 12px;
  }

  .mobile-bar {
    padding: 10px 14px;
  }

  .mobile-bar .btn {
    padding: 10px 12px;
    font-size: 12px;
  }

  body {
    padding-bottom: 68px;
  }
}

/* ==========================================================================
   PLACEHOLDERY OBRAZKÓW (do czasu dostarczenia zdjęć)
   ========================================================================== */

.img-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  min-height: 160px;
  background:
    radial-gradient(circle at 30% 20%, rgba(197, 160, 89, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(197, 160, 89, 0.08) 0%, transparent 50%),
    linear-gradient(160deg, #1c1a16 0%, #0f0f0e 100%);
  color: var(--gold);
  text-align: center;
  padding: 16px;
}

.img-placeholder::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(197, 160, 89, 0.18);
  border-radius: inherit;
  pointer-events: none;
}

.img-placeholder__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid var(--gold-border);
}

.img-placeholder__icon svg {
  width: 28px;
  height: 28px;
}

.img-placeholder__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.85;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.about-mosaic figure .img-placeholder {
  height: 220px;
}

.about-mosaic__main .img-placeholder {
  height: 380px;
}

.category-card__img-wrap .img-placeholder,
.product-card__media .img-placeholder,
.realization-card .img-placeholder {
  position: absolute;
  inset: 0;
  height: 100%;
}

.realization-card .img-placeholder {
  min-height: 0;
}

.category-card__img-wrap .img-placeholder__icon,
.product-card__media .img-placeholder__icon {
  width: 48px;
  height: 48px;
}

.modal-main-img-wrap {
  position: relative;
  height: 380px;
}

.modal-main-img-wrap .img-placeholder {
  height: 100%;
}

.modal-thumb-btn .img-placeholder {
  min-height: 0;
  gap: 0;
  padding: 0;
}

.modal-thumb-btn .img-placeholder::before {
  display: none;
}

.modal-thumb-btn .img-placeholder__icon {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
}

.modal-thumb-btn .img-placeholder__icon svg {
  width: 18px;
  height: 18px;
}

.modal-thumb-btn .img-placeholder__label {
  display: none;
}

/* ==========================================================================
   OFERTA - GRUPY KATEGORII (SPA / ŁAZIENKA / AKCESORIA)
   ========================================================================== */

.category-groups {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.category-group__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.category-group__head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 64px;
  height: 2px;
  background: var(--gold-gradient);
}

.category-group__title {
  font-size: 26px;
  margin: 0;
  color: var(--gold-light);
}

.category-group__tagline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.category-grid[data-group="lazienka"] {
  grid-template-columns: repeat(3, 1fr);
}

.category-grid--single {
  grid-template-columns: 1fr;
}

.category-grid--single .category-card__link {
  flex-direction: row;
  align-items: stretch;
}

.category-grid--single .category-card__img-wrap {
  flex: 0 0 320px;
  height: auto;
  min-height: 200px;
}

.category-grid--single .category-card__content {
  justify-content: center;
}

.category-grid--single .category-card__head {
  justify-content: flex-start;
  gap: 14px;
}

.category-grid--single .category-card__head h3 {
  text-align: left;
}

.category-grid--single .category-card__desc {
  flex-grow: 0;
  max-width: 560px;
}

.category-card__img-wrap {
  position: relative;
}

.category-card__badge--available {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
}

.category-card--soon .category-card__img-wrap img {
  filter: saturate(0.6) brightness(0.8);
}

.category-card--soon .category-card__footer {
  color: var(--text-muted);
}

.category-card--soon:hover .category-card__footer {
  color: var(--gold-light);
}

/* ==========================================================================
   PRODUKTY - BADGE, CENA, PUSTY STAN
   ========================================================================== */

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}

.product-badge::before {
  content: "✓";
  font-size: 10px;
  color: var(--gold);
}

.price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}

.price-block__value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  align-self: flex-start;
}

.price-block__value--ask {
  font-size: 22px;
}

.price-block__note {
  font-size: 12px;
  color: var(--text-dim);
}

.price-block--lg {
  margin-bottom: 16px;
}

.price-block--lg .price-block__value {
  font-size: 34px;
}

.catalog-empty__icon {
  display: block;
  font-size: 32px;
  margin-bottom: 12px;
}

.catalog-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ==========================================================================
   JAK WYGLĄDA ZAKUP (KROKI)
   ========================================================================== */

.steps-section {
  background: var(--bg-deep);
  position: relative;
}

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: steps;
  position: relative;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-border-bright) 20%, var(--gold-border-bright) 80%, transparent 100%);
  pointer-events: none;
}

.step-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px 30px;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px var(--bg-deep), 0 0 24px rgba(197, 160, 89, 0.18);
}

.step-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   FORMULARZ - STAN SUKCESU
   ========================================================================== */

.form-success {
  text-align: center;
  padding: 24px 8px 8px;
}

.form-success__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #000;
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(197, 160, 89, 0.35);
}

.form-success h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto 24px;
  max-width: 420px;
}

.form-success p a {
  color: var(--gold-light);
  font-weight: 700;
}

/* ==========================================================================
   MODAL PRODUKTU - UZUPEŁNIENIA
   ========================================================================== */

.modal-gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: thin;
}

.modal-thumb-btn {
  flex: 0 0 72px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  padding: 0;
  background: #0f0f0e;
  opacity: 0.65;
  transition: var(--transition);
}

.modal-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-thumb-btn:hover,
.modal-thumb-btn.is-active {
  opacity: 1;
  border-color: var(--gold);
}

.modal-product-media .modal-badges,
.modal-product-info .product-badges {
  margin-bottom: 14px;
}

.modal-cta-note {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

.modal-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.modal-perks-list--single {
  grid-template-columns: 1fr;
}

.modal-perks-list--options .check-icon {
  color: var(--text-dim);
}

/* ==========================================================================
   STOPKA - KONTAKT
   ========================================================================== */

.footer-contact-list li > span {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSYWNOŚĆ NOWYCH KOMPONENTÓW
   ========================================================================== */

@media (max-width: 1080px) {
  .category-grid[data-group="lazienka"] {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  .modal-two-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .category-grid--single .category-card__img-wrap {
    flex-basis: 40%;
  }

  .hero-stats {
    gap: 18px 16px;
    padding: 20px 20px;
  }
}

@media (max-width: 640px) {
  .category-groups {
    gap: 32px;
  }

  .category-group__head {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
  }

  .category-group__title {
    font-size: 21px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
    padding: 16px 14px;
  }

  .hero-stats > div {
    padding: 0 4px;
  }

  .hero-stats > div + div::before {
    left: -6px;
  }

  .hero-stats dt {
    font-size: 18px;
  }

  .hero-stats dd {
    font-size: 11px;
  }

  .about-mosaic figure .img-placeholder {
    height: 130px;
  }

  .about-mosaic__main .img-placeholder {
    height: 240px;
  }

  .img-placeholder__icon {
    width: 40px;
    height: 40px;
  }

  .img-placeholder__icon svg {
    width: 20px;
    height: 20px;
  }

  .img-placeholder__label {
    font-size: 10px;
  }

  .price-block__value {
    font-size: 24px;
  }

  .price-block--lg .price-block__value {
    font-size: 28px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-card {
    padding: 18px 16px;
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
  }

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 16px;
    margin-bottom: 0;
    grid-row: 1 / span 2;
    box-shadow: none;
  }

  .step-card h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .step-card p {
    font-size: 13px;
  }

  .modal-main-img-wrap {
    height: 220px;
  }

  .contact-info h2 {
    font-size: 24px;
  }

  .form-success h3 {
    font-size: 22px;
  }

  .catalog-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section-top--center {
    align-items: center;
  }

  .pillars-bg img {
    transform: none;
  }
}

.modal-full-desc--extra {
  margin-top: 12px;
}

/* ==========================================================================
   NOWA PODSTRONA OFERTY (OFERTA.HTML) I BANERY INFORMACYJNE
   ========================================================================== */

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: var(--transition);
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.breadcrumbs__separator {
  color: var(--gold);
  font-size: 11px;
}

.breadcrumbs__current {
  color: var(--gold-light);
  font-weight: 600;
}

/* Page Intro / Catalog Hero */
.catalog-page-hero {
  padding: 56px 0 36px;
  background: radial-gradient(circle at 50% 0%, rgba(197, 160, 89, 0.12) 0%, transparent 70%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.catalog-page-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 14px;
  line-height: 1.18;
}

.catalog-page-hero .hero-desc {
  max-width: 820px;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Informacja o wariantach (Baner z zalecenia klienta #1) */
.catalog-alert-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, rgba(27, 26, 24, 0.95) 0%, rgba(19, 19, 18, 0.95) 100%);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 24px var(--gold-glow);
  position: relative;
  overflow: hidden;
  margin-bottom: 36px;
}

.catalog-alert-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-gradient);
}

.catalog-alert-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold-light);
}

.catalog-alert-text {
  flex: 1 1 auto;
}

.catalog-alert-text strong {
  display: block;
  font-size: 16px;
  color: var(--gold-light);
  margin-bottom: 4px;
  font-family: "Playfair Display", Georgia, serif;
}

.catalog-alert-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.catalog-alert-banner .btn {
  flex: 0 0 auto;
}

/* Badge wariantu rozmiaru i koloru na karcie */
.product-badge--variation {
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.25) 0%, rgba(152, 117, 50, 0.35) 100%);
  color: var(--gold-light);
  border: 1px solid var(--gold-border-bright);
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.15);
}

/* Baner wariantu w oknie modalnym */
.modal-variation-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--gold-gradient-subtle);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.modal-variation-icon {
  font-size: 20px;
  line-height: 1;
  flex: 0 0 auto;
  color: var(--gold-light);
}

.modal-variation-text strong {
  display: block;
  font-size: 14px;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.modal-variation-text p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* CTA Baner pod kategoriami na stronie głównej index.html */
.categories-cta-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, #161513 0%, #100f0e 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 36px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.categories-cta-banner::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.categories-cta-banner__content h3 {
  font-size: 26px;
  margin-bottom: 8px;
  color: var(--text-main);
}

.categories-cta-banner__content p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 620px;
}

.badge-gold {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--gold-border);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

/* Aktywny link w nawigacji */
.main-nav a.is-current {
  color: var(--gold-light);
}

.main-nav a.is-current::after {
  width: 100%;
}

@media (max-width: 900px) {
  .catalog-alert-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }
  .catalog-alert-banner .btn {
    width: 100%;
  }
  .categories-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 20px;
  }
  .categories-cta-banner .btn {
    width: 100%;
  }
}

/* Wymuszenie wyświetlania numeru telefonu w jednej ciągłej linii bez łamania wiersza */
[data-phone-display],
.header-phone,
.header-phone__text,
.about-cta__phone,
.about-cta__phone strong,
.contact-item-box strong,
.nav-mobile-phone,
.footer-contact-list a,
.mobile-bar a,
a[href^="tel:"] {
  white-space: nowrap !important;
}


/* Client revisions: original logo, readable prices and uncropped product images. */
.brand-logo,
.contact-title-logo {
  width: 120px;
  height: 72px;
  max-width: 100%;
  object-fit: cover;
  object-position: center 70%;
}
/* Keep the emblem and signature together in a compact horizontal lockup. */
.site-header .brand-logo { width: 140px; height: 84px; }
.header-brand-wrap {
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.header-brand-wrap .brand-tagline {
  width: 176px;
  max-width: 176px;
  padding: 0 0 0 16px;
  border-left: 1px solid var(--gold-border);
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0;
  white-space: normal;
  text-align: left;
  text-wrap: balance;
  text-shadow: none;
}
.header-inner { min-height: 100px; gap: 24px; padding-block: 8px; }
.main-nav { flex-shrink: 0; }
.product-card__media { aspect-ratio: 4 / 3; }
.product-card__media img { padding: 16px; }
.product-card:hover .product-card__img { transform: none; }
.modal-main-img-wrap { background: #fff; }
.modal-main-img-wrap img {
  height: 100%;
  object-fit: contain;
  padding: 20px;
}
.modal-thumb-btn img {
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.price-block { align-items: center; text-align: center; gap: 6px; }
.price-block__value { align-self: center; font-size: 36px; line-height: 1.2; }
.price-block__value--ask { font-size: 26px; }
.price-block--lg .price-block__value { font-size: 42px; }
.modal-product-grid > *, .modal-two-cols > *, .product-card__content { min-width: 0; }
.modal-full-desc-content, .specs-table, .modal-perks-list, .product-card__specs-pills {
  overflow-wrap: anywhere;
}
.specs-table { table-layout: fixed; }
@media (max-width: 1200px) and (min-width: 861px) {
  .header-actions .btn { display: none; }
  .header-brand-wrap .brand-tagline { display: none; }
  .main-nav { gap: 16px; }
}
@media (max-width: 860px) {
  .site-header { --mobile-header-height: 128px; }
  .site-header .brand-logo { width: 116px; height: 70px; }
  .header-brand-wrap .brand-tagline {
    display: grid;
    place-items: center;
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 16px;
    line-height: 18px;
    text-align: center;
  }
  .site-header .header-inner {
    height: var(--mobile-header-height);
    min-height: var(--mobile-header-height);
    padding-block: 8px;
    gap: 6px 12px;
  }
  .site-header .brand { flex: 1 1 auto; }
  .site-header .main-nav {
    top: var(--mobile-header-height);
    height: calc(100vh - var(--mobile-header-height));
    height: calc(100dvh - var(--mobile-header-height));
  }
}
@media (max-width: 640px) {
  .product-card__media img { padding: 10px; }
  .price-block__value--ask { font-size: 18px !important; }
  .price-block--lg .price-block__value { font-size: 32px !important; }
  .modal-cta-box .price-block__note { display: block !important; }
  .modal-section-box--full-desc { padding: 18px 14px; }
}

/* Dane administratora przy formularzu zapytania. */
.form-privacy-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 12px 0 20px;
  overflow-wrap: anywhere;
}
.form-privacy-note a { color: var(--gold-light); text-decoration: underline; }
