/* ============================================================
   DREWNOKREATYWNI WÓJCIK SP. Z O.O.
   Premium Corporate Website — v1.0
   Design System & Global Styles
   ============================================================ */

/* Fonts: ładowane z <link> w HTML (bez @import — szybszy pierwszy render). */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colour Palette */
  --clr-brown-dark:   #2C1A0E;
  --clr-brown-mid:    #5C3A1E;
  --clr-brown-warm:   #8B5E3C;
  --clr-brown-light:  #C49A6C;
  --clr-beige-dark:   #D4B896;
  --clr-beige-mid:    #E8D5BC;
  --clr-beige-light:  #F5EDE0;
  --clr-cream:        #FAF6F0;
  --clr-white:        #FFFFFF;
  --clr-black:        #0D0A07;
  --clr-text-primary: #1A1208;
  --clr-text-body:    #3D2B1A;
  --clr-text-muted:   #7A6350;
  --clr-accent-gold:  #B8860B;
  --clr-accent-warm:  #C8A96E;
  --clr-overlay:      rgba(28, 16, 6, 0.55);

  /* Typography */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  /* Spacing Scale */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   7rem;
  --space-2xl: 10rem;

  /* Layout */
  --max-width: 1280px;
  --section-pad: 6rem 1.5rem;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-base: 0.35s var(--ease-smooth);
  --transition-slow: 0.6s var(--ease-smooth);

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(44, 26, 14, 0.08);
  --shadow-md:  0 8px 32px rgba(44, 26, 14, 0.14);
  --shadow-lg:  0 20px 60px rgba(44, 26, 14, 0.20);
  --shadow-xl:  0 32px 80px rgba(44, 26, 14, 0.28);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Header (fixed bar — hero clearance; dopasowane do logo + padding) */
  --header-height: 72px;
  /* Dodatkowy odstęp treści hero pod fixed header (dłuższy „eyebrow” z CMS) */
  --hero-header-gap: clamp(0.85rem, 2.2vh, 1.65rem);
}

/* ---------- CSS Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--clr-text-body);
  background-color: var(--clr-cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul, ol { list-style: none; }

/* ---------- Typography Scale ---------- */
.t-display {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--clr-white);
}

.t-h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--clr-text-primary);
}

.t-h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.2;
  color: var(--clr-text-primary);
}

.t-h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.3;
  color: var(--clr-text-primary);
}

.t-lead {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  color: var(--clr-text-muted);
}

.t-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--clr-text-body);
}

.t-small {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--clr-text-muted);
}

/* ---------- Layout Utilities ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-pad);
}

.section--dark {
  background-color: var(--clr-brown-dark);
  color: var(--clr-beige-light);
}

.section--cream {
  background-color: var(--clr-cream);
}

.section--beige {
  background-color: var(--clr-beige-light);
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clr-accent-gold);
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
}

.section-label--light {
  color: var(--clr-beige-dark);
}

.section-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-accent-gold), var(--clr-brown-light));
  margin: 1.5rem 0 2.5rem;
  border: none;
}

.section-divider--center {
  margin-left: auto;
  margin-right: auto;
}

.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover::after { opacity: 1; }

.btn--primary {
  background: var(--clr-accent-gold);
  color: var(--clr-white);
  border-radius: var(--radius-sm);
}

.btn--primary:hover {
  background: var(--clr-brown-warm);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--clr-white);
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-sm);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--clr-white);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--clr-brown-dark);
  border: 1.5px solid var(--clr-brown-mid);
  border-radius: var(--radius-sm);
}

.btn--outline-dark:hover {
  background: var(--clr-brown-dark);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(18, 11, 6, 0.52);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header__logo-img {
  height: 56px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
  transition: opacity var(--transition-base);
}

@media (max-width: 768px) {
  .header__logo-img {
    height: 48px;
    max-width: 200px;
  }
}

.header__logo:hover .header__logo-img {
  opacity: 0.85;
}

.header__toggle {
  display: none;
  width: 46px;
  height: 46px;
  background: rgba(245, 237, 224, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  color: var(--clr-beige-light);
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.header__toggle-box {
  width: 18px;
  height: 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.header__toggle-line {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth);
}

.header__backdrop,
.header__panel-top,
.header__panel-close {
  display: none;
}

.header__toggle:hover {
  transform: translateY(-1px);
  background: rgba(245, 237, 224, 0.12);
  border-color: rgba(196, 154, 108, 0.48);
}

.header__toggle:focus-visible {
  outline: 2px solid var(--clr-accent-gold);
  outline-offset: 2px;
}

.header__mobile-actions {
  display: none;
  align-items: center;
  gap: 0.42rem;
  margin-left: auto;
  position: relative;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.header__link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--clr-beige-light);
  text-decoration: none;
  transition: color var(--transition-base);
}

.header__link:hover {
  color: var(--clr-accent-warm);
}

.header__cta {
  flex-shrink: 0;
}

body.header-menu-open {
  overflow: hidden;
  touch-action: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* min zamiast stałego 100vh — przy większej treści sekcja może urosnąć; bez overflow:hidden nie tnijemy CTA */
  min-height: max(680px, 100vh);
  min-height: max(680px, 100dvh);
  display: flex;
  align-items: center;
  overflow-x: clip;
  overflow-y: visible;
  padding-top: calc(var(--header-height) + var(--hero-header-gap));
  padding-bottom: clamp(2.25rem, 6vh, 4.75rem);
  box-sizing: border-box;
  background-color: #1e1109;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  transition: transform 8s var(--ease-smooth);
  filter: brightness(1.06) contrast(1.02) saturate(1.02);
}

.hero.loaded .hero__bg img {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(14, 8, 4, 0.36) 0%,
    rgba(18, 10, 5, 0.2) 42%,
    rgba(10, 6, 3, 0.12) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 max(1.5rem, 3vw) 0 max(1.5rem, 2vw);
  width: 100%;
}

@media (min-width: 900px) {
  .hero__content {
    padding-left: max(1.5rem, 2vw);
    padding-right: clamp(2rem, 6vw, 5.5rem);
  }

  /* Tekst po prawej — dom po lewej stronie kadru pozostaje odkryty */
  .hero__text-block {
    margin-left: auto;
  }
}

/* Lokalny gradient pod tekstem — tylko czytelność, bez ciężkiego global overlay */
.hero__text-block {
  position: relative;
  max-width: min(32rem, 100%);
  padding: 1.65rem 1.25rem 1.75rem 0;
  margin-top: 0.35rem;
}

.hero__text-block::before {
  content: '';
  position: absolute;
  /* Wyżej nie rozlewaj ciemnego tła pod header — przy długim tekście z CMS */
  inset: 0.65rem -0.5rem -0.35rem -0.75rem;
  z-index: -1;
  border-radius: var(--radius-lg);
  background: radial-gradient(
    ellipse 88% 118% at 82% 46%,
    rgba(8, 4, 2, 0.2) 0%,
    rgba(14, 8, 4, 0.09) 52%,
    transparent 70%
  );
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero__text-block {
    padding-left: 0;
    padding-right: 0;
    margin-top: 0.25rem;
  }
  .hero__text-block::before {
    inset: 0.55rem -0.75rem -0.4rem -0.75rem;
  }
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.65rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-smooth) 0.3s forwards;
}

.hero__eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--clr-accent-gold);
}

.hero__eyebrow-text {
  font-size: clamp(0.74rem, 0.68rem + 0.22vw, 0.84rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-accent-gold);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.34);
  font-weight: 600;
  line-height: 1.55;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.85vw, 5.15rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--clr-white);
  margin: 0 0 1.2rem;
  max-width: min(34rem, 100%);
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s var(--ease-smooth) 0.5s forwards;
}

.hero__title-line {
  display: block;
}

.hero__title-line:first-child {
  margin-bottom: 0.18em;
}

.hero__title-em {
  font-style: italic;
  font-weight: 300;
  font-size: 0.86em;
  letter-spacing: 0.02em;
  color: rgba(232, 213, 188, 0.88);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
}

@supports not (font-weight: 300) {
  .hero__title-em {
    font-weight: 400;
    opacity: 0.88;
  }
}

.hero__title-rule {
  width: 2.75rem;
  height: 1px;
  margin: 0 0 1.65rem;
  background: linear-gradient(90deg, rgba(184, 134, 11, 0.85), rgba(200, 169, 110, 0.28), transparent);
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-smooth) 0.65s forwards;
}

.hero__subtitle {
  font-size: clamp(0.97rem, 1.25vw, 1.08rem);
  font-weight: 300;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.74);
  max-width: 28rem;
  margin: 0 0 3.35rem;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s var(--ease-smooth) 0.7s forwards;
}

.hero__actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0;
  padding-top: 0.15rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease-smooth) 0.9s forwards;
}

.hero__actions .btn {
  padding: 0.7rem 1.65rem;
  font-size: 0.76rem;
  letter-spacing: 0.11em;
}

.hero__actions .btn--primary {
  background: rgba(184, 134, 11, 0.88);
  box-shadow: none;
}

.hero__actions .btn--primary:hover {
  background: rgba(139, 94, 60, 0.95);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.hero__actions .btn--outline {
  border-width: 1.25px;
  border-color: rgba(255, 255, 255, 0.38);
  transition:
    background 0.45s var(--ease-smooth),
    border-color 0.45s var(--ease-smooth),
    color 0.45s var(--ease-smooth),
    transform 0.45s var(--ease-smooth),
    box-shadow 0.45s var(--ease-smooth);
}

.hero__actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.62);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

.hero__scroll {
  position: absolute;
  bottom: clamp(0.9rem, 3.5vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  opacity: 0;
  animation:
    fadeIn 1s var(--ease-smooth) 1.4s forwards,
    heroScrollFloat 7.2s cubic-bezier(0.42, 0, 0.18, 1) 2.2s infinite;
  transition:
    opacity 0.55s var(--ease-smooth),
    transform 0.55s var(--ease-smooth),
    visibility 0.55s;
  will-change: opacity, transform;
}

@media (min-width: 900px) {
  .hero__scroll {
    bottom: clamp(1.1rem, 4vh, 2.8rem);
  }
}

.hero__scroll--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
  animation: none;
}

/* Po pierwszym ruchu scroll: wskaźnik "podąża" przy dolnej krawędzi viewportu. */
.hero__scroll--follow {
  position: fixed;
  bottom: clamp(0.85rem, 2.8vh, 1.7rem);
  left: 50%;
  z-index: 30;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .header__toggle,
  .header__toggle-line,
  .header__backdrop,
  .header__nav,
  .header__panel-close {
    transition: none;
  }

  .hero__eyebrow {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero__scroll {
    animation: fadeIn 1s var(--ease-smooth) 1.4s forwards;
  }

  .hero__scroll--hidden {
    transform: translateX(-50%);
  }
}

.hero__scroll-text {
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(200, 169, 110, 0.94);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  font-weight: 600;
}

.hero__scroll-line {
  width: 2px;
  height: 36px;
  border-radius: 1px;
  background: linear-gradient(
    to bottom,
    rgba(184, 134, 11, 0.92) 0%,
    rgba(200, 169, 110, 0.62) 55%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(184, 134, 11, 0.25);
  animation: scrollHint 5.8s cubic-bezier(0.42, 0, 0.18, 1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line {
    animation: none;
    opacity: 0.55;
  }
}

/* ---------- Parallax Image Section ---------- */
.parallax-image {
  position: relative;
  width: 100%;
  height: 55vh;
  min-height: 320px;
  overflow: hidden;
}

.parallax-image__inner {
  position: absolute;
  inset: 0;
}

.parallax-image__bg {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
}

.parallax-image__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  will-change: transform;
  backface-visibility: hidden;
}

/* Panorama — pełna szerokość strony (bez .section), cover + zapas pod delikatny parallax */
.parallax-image--panorama {
  display: block;
  width: 100%;
  max-width: none;
  height: clamp(300px, 52vh, 600px);
  min-height: 300px;
  isolation: isolate;
}

/* Subtelny blend krawędzi — premium transition między sekcjami */
.parallax-image--panorama::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(252, 250, 246, 0.22) 0%,
    transparent 14%,
    transparent 86%,
    rgba(18, 11, 6, 0.18) 100%
  );
}

.parallax-image--panorama .parallax-image__bg {
  inset: -18%;
  width: 136%;
  height: 136%;
  background: linear-gradient(
    180deg,
    #1f1209 0%,
    #2c1a0e 45%,
    #1a1008 100%
  );
}

.parallax-image--panorama .parallax-image__bg img {
  object-fit: cover;
  object-position: 48% 54%;
}

@media (prefers-reduced-motion: reduce) {
  .parallax-image__bg img {
    will-change: auto;
  }

  .parallax-image__overlay {
    will-change: auto;
  }

  .parallax-image--panorama::before {
    opacity: 0.85;
  }
}

.parallax-image__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 85% at 50% 38%, transparent 0%, rgba(14, 9, 5, 0.12) 55%, rgba(14, 9, 5, 0.28) 100%),
    linear-gradient(
      180deg,
      rgba(44, 26, 14, 0.08) 0%,
      rgba(26, 16, 10, 0.18) 100%
    );
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
}

/* ---------- About Section ---------- */
.about {
  background-color: var(--clr-cream);
}

.about--premium {
  background: linear-gradient(
    180deg,
    var(--clr-cream) 0%,
    var(--clr-beige-light) 42%,
    rgba(245, 237, 224, 0.65) 58%,
    var(--clr-cream) 100%
  );
}

/* —— Intro header —— */
.about__intro {
  max-width: 52rem;
  margin-bottom: clamp(3.35rem, 6.75vw, 5.5rem);
}

.about__kicker {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 0.75rem;
}

.about__intro .section-label {
  margin-bottom: 1rem;
}

.about__title {
  margin-bottom: 1.25rem;
}

.about__lead {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--clr-text-muted);
  max-width: 36rem;
  margin-bottom: 0;
}

.about__intro-divider {
  margin-top: 2rem;
  margin-bottom: 0;
}

.about__title--featured {
  position: relative;
  margin-bottom: 1rem;
}

.about__intro .about__title--featured {
  line-height: 1.1;
  letter-spacing: -0.012em;
}

.about__title-decor {
  display: block;
  width: 3.25rem;
  height: 2px;
  margin: 0 0 1.35rem;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--clr-accent-gold), rgba(184, 134, 11, 0.25), transparent);
}

/* Intro H2 + pierwsza narracja + obraz: jedna siatka — obraz od góry (obok nagłówka sekcji) */
.about__intro-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.1rem, 4.8vw, 4.1rem);
  align-items: start;
  padding-bottom: clamp(2.35rem, 4.7vw, 3.85rem);
}

.about__intro-story-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.about__intro-story .about__intro {
  margin-bottom: clamp(1.2rem, 2.45vw, 1.9rem);
  max-width: 44rem;
}

.about__intro-story .about__story-text {
  max-width: 44rem;
  padding: clamp(1.15rem, 2.4vw, 1.5rem) clamp(1rem, 2.1vw, 1.35rem);
  border-radius: 1.15rem;
  border: 1px solid rgba(44, 26, 14, 0.08);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.84), rgba(249, 244, 236, 0.72));
  box-shadow: 0 12px 26px -22px rgba(44, 26, 14, 0.36);
}

.about__intro-index {
  margin: 0.55rem 0 0.7rem;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(44, 26, 14, 0.44);
  font-weight: 600;
}

.about__intro-lead {
  margin: 0;
  max-width: 38rem;
  color: var(--clr-text-secondary);
  line-height: 1.72;
  font-size: clamp(1rem, 1.32vw, 1.12rem);
}

.about__intro-story .about__story-head--accent {
  margin-bottom: 0.78rem;
}

.about__intro-story .about__story-body.about__prose.about__story-body--material {
  max-width: 35rem;
}

.about__intro-story .about__story-body.about__prose.about__story-body--material .about__text {
  line-height: 1.74;
  max-width: 34rem;
}

.about__intro-story .about__story-body.about__prose.about__story-body--material .about__text--lead {
  margin-bottom: 0.58rem;
}

.about__intro-story .about__story-figure {
  margin-top: clamp(0.4rem, 1.7vw, 1.35rem);
}

/* #o-firmie icons: Lucide outline, stroke 1.5 */
.about__icon-svg {
  display: block;
}

.about__trust-icon .about__icon-svg {
  width: 1.625rem;
  height: 1.625rem;
}

.about__trust-icon .about__icon-svg--stat {
  width: 1.5rem;
  height: 1.5rem;
}

.about__trust-icon .about__icon-svg--log {
  width: 1.95rem;
  height: 1.95rem;
}

.about__story-icon .about__icon-svg {
  width: 2.15rem;
  height: 2.15rem;
}

.about__checklist-icon .about__icon-svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* —— Story rows: alternating text + image (homepage #o-firmie) —— */
.about__story {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.about__story-sep {
  height: 1px;
  margin: clamp(0.25rem, 1.5vw, 0.75rem) 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(44, 26, 14, 0.09) 20%,
    rgba(44, 26, 14, 0.09) 80%,
    transparent 100%
  );
}

.about__trust--band + .about__story-sep {
  margin: clamp(0.2rem, 1.2vw, 0.6rem) 0;
}

.about__story-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-top: clamp(2.25rem, 4.5vw, 3.5rem);
  padding-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
  border-bottom: none;
}

.about__story-text {
  grid-column: 1;
  min-width: 0;
  max-width: 42rem;
}

.about__story-figure {
  grid-column: 2;
  min-width: 0;
}

.about__story-row--reverse .about__story-text {
  grid-column: 2;
}

.about__story-row--reverse .about__story-figure {
  grid-column: 1;
}

/* „Materiał i technologia” — blok architektoniczny: góra wiersza, szerszy kadł panoramiczny */
.about__story-row--reverse {
  align-items: start;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(1.85rem, 3.6vw, 3.1rem);
  padding-top: clamp(1.85rem, 3.7vw, 2.875rem);
}

.about__story-row--reverse .about__story-text {
  padding-left: clamp(0.85rem, 1.75vw, 1.2rem);
  border-left: 1px solid rgba(44, 26, 14, 0.075);
}

.about__story-row--reverse .about__story-head--accent {
  margin-bottom: clamp(1.05rem, 2.1vw, 1.4rem);
}

.about__story-row--reverse .about__story-icon {
  margin-bottom: 0.6rem;
}

.about__story-row--reverse .about__story-title {
  margin: 0 0 0.45rem;
  line-height: 1.17;
}

.about__story-body.about__prose.about__story-body--material {
  max-width: 34rem;
  margin-top: 0.4rem;
}

.about__story-eyebrow--material {
  letter-spacing: 0.105em;
  margin-top: 0.2rem;
  margin-bottom: 0.7rem;
}

.about__story-row--reverse .about__story-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.about__story-row--reverse .about__story-img {
  aspect-ratio: 5 / 3;
  object-position: center 40%;
  box-shadow:
    0 1px 2px rgba(44, 26, 14, 0.055),
    0 10px 26px -6px rgba(44, 26, 14, 0.13);
  border: 1px solid rgba(44, 26, 14, 0.055);
  transition:
    transform 1s var(--ease-smooth),
    box-shadow 0.65s var(--ease-smooth);
}

.about__story-row--reverse .about__story-media:hover .about__story-img,
.about__story-row--reverse .about__story-media:focus-within .about__story-img {
  transform: scale(1.03);
  box-shadow:
    0 2px 4px rgba(44, 26, 14, 0.065),
    0 14px 30px -8px rgba(44, 26, 14, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  .about__story-row--reverse .about__story-img {
    transition: none;
  }

  .about__story-row--reverse .about__story-media:hover .about__story-img,
  .about__story-row--reverse .about__story-media:focus-within .about__story-img {
    transform: none;
  }
}

.about__story-head {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.about__story-head--narrative .about__story-title::after {
  content: "";
  display: block;
  width: clamp(2.35rem, 7vw, 3.15rem);
  height: 1px;
  margin-top: 0.65rem;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--clr-accent-gold), rgba(184, 134, 11, 0.18), transparent);
}

.about__story-head--accent .about__story-title::after {
  content: "";
  display: block;
  width: clamp(2.5rem, 8vw, 3.5rem);
  height: 2px;
  margin-top: 0.575rem;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--clr-accent-gold), rgba(184, 134, 11, 0.25), transparent);
}

.about__story-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  color: var(--clr-accent-gold);
  opacity: 0.92;
}

.about__story-title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--clr-text-primary);
  margin: 0 0 0.5rem;
}

.about__story-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-accent-gold);
  line-height: 1.45;
  margin: 0;
}

.about__story-body.about__prose {
  max-width: 38rem;
}

.about__story-body.about__prose .about__text {
  margin-bottom: clamp(0.9rem, 2.2vw, 1.1rem);
}

.about__story-body.about__prose .about__text:last-child {
  margin-bottom: 0;
}

.about__story-media {
  position: relative;
}

.about__story-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(44, 26, 14, 0.06);
}

/* Obraz przy intro + „Doświadczenie…”: wyższy kadr, premium shadow, subtelny zoom (bez rotatora) */
.about__intro-story .about__story-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.about__intro-story .about__story-media:not(.about__story-media--rotator) .about__story-img {
  aspect-ratio: 3 / 4;
  object-position: center 38%;
  box-shadow:
    0 2px 10px rgba(44, 26, 14, 0.07),
    0 22px 44px -14px rgba(44, 26, 14, 0.18),
    0 0 0 1px rgba(44, 26, 14, 0.05);
  transition:
    transform 0.75s var(--ease-smooth),
    box-shadow 0.55s var(--ease-smooth);
}

.about__intro-story .about__story-media:not(.about__story-media--rotator):hover .about__story-img,
.about__intro-story .about__story-media:not(.about__story-media--rotator):focus-within .about__story-img {
  transform: scale(1.028);
  box-shadow:
    0 4px 16px rgba(44, 26, 14, 0.09),
    0 30px 56px -16px rgba(44, 26, 14, 0.22),
    0 0 0 1px rgba(44, 26, 14, 0.06);
}

/* Intro: rotator 5 zdjęć (shared/images/index/1/*.jpg) — crossfade + autoplay ~8 s */
.about__intro-story .about__story-media--rotator {
  position: relative;
  box-shadow:
    0 2px 10px rgba(44, 26, 14, 0.06),
    0 18px 38px -18px rgba(44, 26, 14, 0.18),
    0 0 0 1px rgba(44, 26, 14, 0.045);
  background: rgba(44, 26, 14, 0.04);
  transform: translateY(clamp(0.1rem, 1.3vw, 0.75rem));
}

.about__intro-story .about__story-media--rotator:focus-visible {
  outline: 2px solid rgba(184, 134, 11, 0.55);
  outline-offset: 3px;
}

.about__intro-rotator__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.about__intro-rotator__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  transition:
    opacity 1.2s var(--ease-smooth),
    transform 1.2s var(--ease-smooth);
  transform: scale(1.012);
}

.about__intro-rotator__layer.is-active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .about__intro-story .about__story-media:not(.about__story-media--rotator) .about__story-img {
    transition: none;
  }

  .about__intro-story .about__story-media:not(.about__story-media--rotator):hover .about__story-img,
  .about__intro-story .about__story-media:not(.about__story-media--rotator):focus-within .about__story-img {
    transform: none;
  }

  .about__intro-rotator__layer {
    transition: opacity 0.35s ease;
    transform: none;
  }

  .about__intro-rotator__layer.is-active {
    transform: none;
  }

  .about__intro-rotator__btn {
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  .about__intro-rotator__btn:hover {
    transform: translateY(-50%);
  }

  .about__intro-rotator__btn:active {
    transform: translateY(-50%);
  }
}

.about__intro-rotator__btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 2.32rem;
  height: 2.32rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(20, 13, 8, 0.35);
  color: rgba(255, 248, 240, 0.95);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  transition:
    background 0.3s var(--ease-smooth),
    border-color 0.3s var(--ease-smooth),
    transform 0.3s var(--ease-smooth),
    box-shadow 0.3s var(--ease-smooth);
}

.about__intro-rotator__btn:hover {
  background: rgba(184, 134, 11, 0.42);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.22);
}

.about__intro-rotator__btn:focus-visible {
  outline: 2px solid var(--clr-accent-gold);
  outline-offset: 2px;
}

.about__intro-rotator__btn:active {
  transform: translateY(-50%) scale(0.98);
}

.about__intro-rotator__btn--prev {
  left: 0.55rem;
}

.about__intro-rotator__btn--next {
  right: 0.55rem;
}

.about__intro-rotator__btn-icon {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
  pointer-events: none;
}

.about__intro-rotator__counter {
  position: absolute;
  right: 0.8rem;
  bottom: 0.75rem;
  z-index: 4;
  margin: 0;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(20, 13, 8, 0.35);
  color: rgba(255, 248, 240, 0.9);
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.about__intro-highlights {
  margin: 1.05rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.about__intro-highlight {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(44, 26, 14, 0.1);
  background: rgba(255, 255, 255, 0.7);
  color: var(--clr-text-secondary);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.about__intro-highlight-icon {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: rgba(196, 154, 108, 0.16);
  border: 1px solid rgba(196, 154, 108, 0.3);
  color: #7b5a22;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.about__intro-highlight-icon .about__icon-svg {
  width: 0.85rem;
  height: 0.85rem;
}

@media (max-width: 520px) {
  .about__intro-rotator__btn {
    width: 2.12rem;
    height: 2.12rem;
  }

  .about__intro-rotator__btn--prev {
    left: 0.4rem;
  }

  .about__intro-rotator__btn--next {
    right: 0.4rem;
  }

  .about__intro-rotator__counter {
    right: 0.5rem;
    bottom: 0.5rem;
    font-size: 0.72rem;
  }
}

.about__image-badge--story {
  bottom: -1.35rem;
  right: -0.75rem;
  padding: 1.35rem 1.65rem;
}

.about__image-badge--story .about__image-badge-num {
  font-size: 2.35rem;
}

/* —— Panel: cytat + checklist + zdjęcie (blok tonalny) —— */
.about__panel {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.about__panel--tone {
  padding: clamp(2.25rem, 5vw, 3.75rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    165deg,
    rgba(250, 246, 240, 0.95) 0%,
    rgba(232, 213, 188, 0.22) 48%,
    rgba(245, 237, 224, 0.55) 100%
  );
  border: 1px solid rgba(44, 26, 14, 0.06);
  box-shadow: var(--shadow-sm);
}

.about__panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: stretch;
}

.about__panel-figure {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Slider zdjęć w panelu „Zakres i standard” — jeden duży kadr, crossfade */
.about__panel-slider {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 2px 12px rgba(44, 26, 14, 0.08),
    0 0 0 1px rgba(44, 26, 14, 0.05);
  background: rgba(44, 26, 14, 0.04);
}

.about__panel-slider:focus-visible {
  outline: 2px solid rgba(184, 134, 11, 0.55);
  outline-offset: 3px;
}

.about__panel-slider__viewport {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: clamp(22rem, 32vh, 30rem);
}

.about__panel-slider__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  transition:
    opacity 0.78s var(--ease-smooth),
    transform 0.78s var(--ease-smooth);
  transform: scale(1.02);
}

.about__panel-slider__layer.is-active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
}

.about__panel-slider__btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(44, 26, 14, 0.42);
  color: rgba(255, 248, 240, 0.95);
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition:
    background 0.3s var(--ease-smooth),
    border-color 0.3s var(--ease-smooth),
    transform 0.3s var(--ease-smooth),
    box-shadow 0.3s var(--ease-smooth);
}

.about__panel-slider__btn:hover {
  background: rgba(184, 134, 11, 0.55);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.about__panel-slider__btn:focus-visible {
  outline: 2px solid var(--clr-accent-gold);
  outline-offset: 2px;
}

.about__panel-slider__btn:active {
  transform: translateY(-50%) scale(0.98);
}

.about__panel-slider__btn--prev {
  left: 0.65rem;
}

.about__panel-slider__btn--next {
  right: 0.65rem;
}

.about__panel-slider__btn-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .about__panel-slider__layer {
    transition: opacity 0.35s ease;
    transform: none;
  }

  .about__panel-slider__layer.is-active {
    transform: none;
  }

  .about__panel-slider__btn {
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  .about__panel-slider__btn:hover {
    transform: translateY(-50%);
  }

  .about__panel-slider__btn:active {
    transform: translateY(-50%);
  }
}

@media (max-width: 900px) {
  .about__panel-figure {
    display: block;
  }

  .about__panel-slider {
    display: block;
    flex: none;
  }

  .about__panel-slider__viewport {
    flex: none;
    height: auto;
    min-height: 22rem;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 520px) {
  .about__panel-slider__viewport {
    min-height: 14rem;
    aspect-ratio: 16 / 11;
  }

  .about__panel-slider__btn {
    width: 2.4rem;
    height: 2.4rem;
  }

  .about__panel-slider__btn--prev {
    left: 0.4rem;
  }

  .about__panel-slider__btn--next {
    right: 0.4rem;
  }
}

.about__panel-main {
  min-width: 0;
  max-width: 36rem;
}

.about__story-head--panel {
  margin-bottom: clamp(1.35rem, 2.5vw, 1.85rem);
}

.about__panel-lead {
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--clr-text-body);
  margin: 0 0 1.75rem;
}

.about__quote {
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  padding: 0 0 0 1.15rem;
  border-left: 2px solid rgba(184, 134, 11, 0.45);
}

.about__quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--clr-brown-mid);
  margin: 0;
}

.about__checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.about__checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.about__checklist-icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--clr-accent-gold);
  opacity: 0.85;
}

.about__checklist-text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--clr-text-body);
}

.about__trust--band {
  margin-top: 0;
  margin-bottom: 0;
  padding: clamp(1.5rem, 2.9vw, 2.25rem) clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid rgba(44, 26, 14, 0.06);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(245, 237, 224, 0.35) 50%,
    rgba(255, 255, 255, 0.5) 100%
  );
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.about__trust--center {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

/* —— Stage: image + narrative —— */
.about__stage {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about__grid--stage {
  align-items: start;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.about__figure {
  position: relative;
}

.about__image-wrap {
  position: relative;
}

.about__image-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 40%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(44, 26, 14, 0.06);
}

.about__image-badge {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--clr-brown-dark);
  color: var(--clr-white);
  padding: 2rem 2.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about__image-badge-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  color: var(--clr-accent-warm);
  display: block;
}

.about__image-badge-text {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-beige-dark);
  margin-top: 0.35rem;
  display: block;
}

.about__article {
  padding-top: 0.25rem;
  min-width: 0;
}

.about__modules {
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 4vw, 3.25rem);
  max-width: 50rem;
}

.about__module {
  display: grid;
  grid-template-columns: minmax(9.5rem, 13rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(44, 26, 14, 0.08);
}

.about__module:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.about__module-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--clr-text-primary);
  margin: 0 0 0.5rem;
}

.about__module-claim {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-accent-gold);
  line-height: 1.45;
  margin: 0;
}

.about__prose {
  max-width: 48rem;
}

.about__text {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--clr-text-body);
  margin: 0 0 1rem;
}

.about__text:last-child {
  margin-bottom: 0;
}

.about__text--lead {
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--clr-text-primary);
}

.about__accent {
  color: var(--clr-brown-warm);
  font-weight: 600;
}

.about__content { padding-right: 1rem; }

/* —— Trust cards —— */
.about__trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  padding: 0;
  list-style: none;
}

.about__trust-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 10.5rem;
  padding: 1.65rem 1.5rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(44, 26, 14, 0.065);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(44, 26, 14, 0.06);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.about__trust-card:hover {
  border-color: rgba(184, 134, 11, 0.28);
  box-shadow: 0 6px 30px rgba(44, 26, 14, 0.085);
  transform: translateY(-1px);
}

.about__trust-icon {
  color: var(--clr-accent-gold);
  opacity: 0.82;
}

.about__trust-inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
}

.about__trust-inner .about__stat-label {
  letter-spacing: 0.11em;
  color: rgba(61, 43, 26, 0.88);
}

.about__trust-value {
  display: block;
}

.about__trust-label {
  display: block;
}

/* —— CTA —— */
.about__cta {
  text-align: center;
  padding-top: 0.5rem;
}

.about__cta-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.about__cta-more {
  margin: 0;
}

.about__link-more {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-brown-mid);
  border-bottom: 1px solid rgba(92, 58, 30, 0.25);
  padding-bottom: 0.15rem;
  transition: color var(--transition-base), border-color var(--transition-base);
}

.about__link-more:hover {
  color: var(--clr-accent-gold);
  border-bottom-color: var(--clr-accent-gold);
}

/* —— Legacy stats grid (np. o-firmie.html) —— */
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.about__stat {
  padding: 1.5rem;
  background: var(--clr-beige-light);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--clr-accent-gold);
}

.about__stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--clr-brown-mid);
  line-height: 1;
  display: block;
}

.about__stat-num--text {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  color: var(--clr-brown-mid);
  line-height: 1.15;
}

.about__stat-num--place {
  font-size: clamp(1.05rem, 2.2vw, 1.42rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.about__stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-top: 0.4rem;
  display: block;
}

/* ---------- Why premium / Dlaczego my + proces (cinematic dark) ---------- */
.why-premium {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: -1px;
  color: rgba(245, 237, 224, 0.92);
  /* Płynne wejście z końca sekcji .services (#1d1209) — bez ostrej krawędzi */
  background: linear-gradient(
    180deg,
    #1d1209 0%,
    #150f0a 18%,
    #0e0a06 36%,
    #0a0705 52%,
    #0a0705 100%
  );
}

.why-premium__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 55% at 50% -15%, rgba(196, 154, 90, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 85%, rgba(184, 134, 11, 0.09), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 60%, rgba(92, 58, 30, 0.16), transparent 55%),
    linear-gradient(168deg, #1d1209 0%, #100b08 22%, #16100c 42%, #0d0906 100%);
}

.why-premium__ambient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0 42%, rgba(252, 248, 240, 0.045) 49.8%, transparent 51%),
    linear-gradient(12deg, transparent 55%, rgba(245, 237, 224, 0.028) 62%, transparent 68%);
  opacity: 0.85;
  will-change: opacity;
}

.why-premium__ambient::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Osłabienie winiety u góry — nie przyciemniaj samego łączenia z .services */
  background:
    linear-gradient(180deg, rgba(29, 18, 9, 0.2) 0%, transparent 28%),
    radial-gradient(ellipse 92% 78% at 50% 52%, transparent 24%, rgba(0, 0, 0, 0.48) 100%),
    repeating-linear-gradient(
      -9deg,
      transparent,
      transparent 3px,
      rgba(255, 252, 247, 0.014) 3px,
      rgba(255, 252, 247, 0.014) 4px
    );
  mix-blend-mode: soft-light;
  opacity: 0.48;
}

@media (prefers-reduced-motion: no-preference) {
  .why-premium__ambient::before {
    animation: whyPremiumShimmer 16s ease-in-out infinite alternate;
  }
}

@keyframes whyPremiumShimmer {
  0% {
    opacity: 0.52;
    transform: translate3d(-1.5%, 0, 0);
  }
  100% {
    opacity: 0.92;
    transform: translate3d(1.5%, 0, 0);
  }
}

.why-premium__container {
  position: relative;
  z-index: 1;
}

.why-premium__brand {
  margin: 0 auto clamp(1.5rem, 3.5vw, 2.5rem);
  padding: 0;
  max-width: 17rem;
  text-align: center;
}

.why-premium__brand-img {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 6px 28px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 48px rgba(184, 134, 11, 0.14));
}

.why-premium .section-label {
  color: rgba(212, 175, 108, 0.95);
}

.why-premium__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1px) minmax(0, 0.8fr);
  gap: clamp(1.55rem, 3.5vw, 3rem);
  align-items: start;
}

.why-premium__rule {
  width: 1px;
  min-height: 18rem;
  align-self: stretch;
  justify-self: center;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(184, 134, 11, 0.38) 18%,
    rgba(245, 237, 224, 0.14) 50%,
    rgba(184, 134, 11, 0.32) 82%,
    transparent 100%
  );
  box-shadow: 0 0 22px rgba(184, 134, 11, 0.18);
  border-radius: 1px;
}

.why-premium__intro {
  margin-bottom: clamp(1.25rem, 2.2vw, 1.8rem);
}

.why-premium__intro .section-label {
  margin-bottom: 1rem;
}

.why-premium__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 22ch;
  color: rgba(252, 248, 240, 0.98);
  text-shadow:
    0 2px 32px rgba(0, 0, 0, 0.45),
    0 0 52px rgba(184, 134, 11, 0.1);
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .why-premium__title {
    color: transparent;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(118deg, #fdf8f0 0%, #e8d5bc 42%, #c9a34a 92%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: none;
  }
}

.why-premium__title--process {
  max-width: 16ch;
  line-height: 1.16;
}

.why-premium__lead {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(0.94rem, 1.12vw, 1.06rem);
  line-height: 1.65;
  color: rgba(210, 195, 175, 0.9);
}

.why-premium__photo {
  margin: 0 0 clamp(1rem, 2.2vw, 1.45rem);
  border-radius: clamp(0.95rem, 1.6vw, 1.2rem);
  overflow: hidden;
  border: 1px solid rgba(184, 134, 11, 0.38);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 22px 52px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 252, 247, 0.06);
  max-width: min(100%, 43rem);
  position: relative;
}

.why-premium__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.28),
    inset 0 -30% 48px -22px rgba(0, 0, 0, 0.55),
    inset 0 20% 40px -18px rgba(0, 0, 0, 0.22);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.22) 0%,
    transparent 28%,
    transparent 72%,
    rgba(0, 0, 0, 0.48) 100%
  );
}

.why-premium__photo-viewport {
  position: relative;
}

.why-premium__photo-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
  object-position: center 40%;
}

.why-premium__photo-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateX(1.5%);
  transition:
    opacity 0.85s var(--ease-smooth),
    transform 0.85s var(--ease-smooth);
}

.why-premium__photo-layer.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
}

.why-premium__photo-arrow {
  position: absolute;
  top: 50%;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(12, 8, 5, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(255, 251, 245, 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 3;
  transition:
    background-color 0.28s var(--ease-smooth),
    border-color 0.28s var(--ease-smooth),
    box-shadow 0.28s var(--ease-smooth),
    transform 0.28s var(--ease-smooth);
}

.why-premium__photo-arrow--prev {
  left: 0.58rem;
}

.why-premium__photo-arrow--next {
  right: 0.58rem;
}

.why-premium__photo-arrow:hover {
  background: rgba(21, 13, 8, 0.42);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 14px rgba(21, 13, 8, 0.2);
}

.why-premium__photo-arrow:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.why-premium__photo-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.why-premium__photo-arrow svg {
  width: 1.05rem;
  height: 1.05rem;
}

.why-premium__photo-counter {
  position: absolute;
  right: 0.58rem;
  bottom: 0.58rem;
  margin: 0;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(8, 5, 3, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(255, 252, 247, 0.94);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 3;
}

.why-premium__cards-wrap {
  width: 100%;
  max-width: min(100%, 42rem);
  margin-inline: auto;
  margin-top: clamp(0.75rem, 2vw, 1.15rem);
  margin-bottom: clamp(0.65rem, 1.8vw, 1.05rem);
}

.why-premium__value-panel {
  margin: 0;
  padding: clamp(1.1rem, 2.2vw, 1.65rem) clamp(1.15rem, 2.5vw, 1.85rem);
  background: rgba(18, 12, 8, 0.55);
  border: 1px solid rgba(184, 134, 11, 0.24);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 0 rgba(255, 252, 247, 0.04) inset,
    0 12px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .why-premium__value-panel {
    background: rgba(22, 15, 10, 0.92);
  }
}

.why-premium__value-panel-title {
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 1.55vw, 1.38rem);
  font-weight: 500;
  margin: 0 0 1rem;
  color: rgba(252, 248, 240, 0.98);
  line-height: 1.22;
  letter-spacing: 0.01em;
}

.why-premium__value-panel-body {
  margin: 0;
}

.why-premium__value-panel-body p {
  margin: 0 0 0.88rem;
  font-size: 0.9rem;
  line-height: 1.68;
  color: rgba(200, 182, 160, 0.9);
}

.why-premium__value-panel-body p:last-child {
  margin-bottom: 0;
}

.why-premium__value-panel-body strong {
  font-weight: 600;
  color: rgba(218, 185, 120, 0.96);
}

.why-premium__icon-svg {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
}

/* Zamknięcie kolumn: dwa wiersze, ten sam rytm co druga kolumna */
.why-premium__closing {
  margin: clamp(1.55rem, 3vw, 2.1rem) 0 0;
  padding: clamp(1.35rem, 2.6vw, 1.85rem) 0 0;
  border-top: 1px solid rgba(184, 134, 11, 0.18);
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.why-premium__closing-line {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.68;
  letter-spacing: 0.01em;
  color: rgba(228, 215, 198, 0.92);
}

.why-premium__closing-line + .why-premium__closing-line {
  font-size: 0.86rem;
  line-height: 1.64;
  color: rgba(185, 168, 148, 0.82);
}

.why-premium__closing--right {
  margin-top: clamp(1.85rem, 3.2vw, 2.35rem);
  max-width: 34rem;
}

/* Wyrównanie z panelem wartości (ta sama szerokość co .why-premium__cards-wrap) */
.why-premium__closing--left {
  max-width: min(100%, 42rem);
  margin-inline: auto;
  width: 100%;
}

.why-premium__closing--left strong {
  font-weight: 600;
  color: rgba(218, 185, 120, 0.98);
}

.why-premium__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 31rem;
}

.why-premium__timeline::before {
  content: '';
  position: absolute;
  left: 0.65rem;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(184, 134, 11, 0.22) 0%,
    rgba(245, 237, 224, 0.08) 42%,
    rgba(245, 237, 224, 0.08) 58%,
    rgba(184, 134, 11, 0.18) 100%
  );
  border-radius: 1px;
  opacity: 0.9;
}

.why-premium__step {
  position: relative;
  padding-left: 1.85rem;
  padding-bottom: clamp(1.65rem, 3vw, 2.35rem);
  z-index: 0;
}

.why-premium__step:last-child {
  padding-bottom: 0;
}

.why-premium__step::after {
  content: '';
  position: absolute;
  left: 0.65rem;
  top: 0.55rem;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: rgba(184, 134, 11, 0.38);
  box-shadow: 0 0 0 1px rgba(255, 252, 248, 0.85);
  z-index: 1;
}

.why-premium__step-body {
  min-width: 0;
  padding-top: 0.05rem;
}

.why-premium__step-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.3rem;
}

.why-premium__step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(212, 175, 108, 0.85);
  opacity: 0.85;
}

.why-premium__step-icon .why-premium__icon-svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke-width: 1.4;
}

.why-premium__step-title {
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  font-weight: 500;
  margin: 0;
  color: rgba(252, 248, 240, 0.96);
  line-height: 1.2;
}

.why-premium__step-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.62;
  color: rgba(200, 182, 160, 0.88);
  max-width: 32rem;
}

.why-premium__price-note {
  margin: clamp(1.1rem, 2.2vw, 1.4rem) 0 0;
  padding: 0.72rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(184, 134, 11, 0.22);
  background: rgba(18, 12, 8, 0.65);
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(228, 215, 198, 0.9);
  max-width: 27.5rem;
}

@media (max-width: 900px) {
  .why-premium__grid {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 2.75rem);
  }

  .why-premium__rule {
    display: none;
  }

  .why-premium__cards-wrap {
    max-width: 100%;
    margin-top: clamp(0.65rem, 2vw, 1rem);
    margin-bottom: clamp(0.45rem, 1.5vw, 0.85rem);
  }

  .why-premium__closing--left {
    max-width: 100%;
    margin-inline: 0;
  }

  .why-premium__value-panel {
    padding: clamp(0.95rem, 2.8vw, 1.35rem) clamp(0.88rem, 2.6vw, 1.25rem);
  }

  .why-premium__value-panel-title {
    font-size: clamp(1.02rem, 3.2vw, 1.2rem);
    margin-bottom: 0.75rem;
  }

  .why-premium__value-panel-body p {
    font-size: 0.84rem;
    line-height: 1.62;
    margin-bottom: 0.72rem;
  }

  .why-premium__title,
  .why-premium__title--process {
    max-width: none;
  }

  .why-premium__photo-img {
    aspect-ratio: 16 / 10;
    object-position: center 36%;
  }

  .why-premium__photo-arrow {
    width: 2.75rem;
    height: 2.75rem;
  }

  .why-premium__process-panel {
    margin-top: clamp(1.35rem, 4vw, 2rem);
    padding: clamp(1.05rem, 3.5vw, 1.5rem) clamp(0.95rem, 3vw, 1.25rem);
    border-radius: clamp(0.88rem, 2vw, 1.12rem);
  }

  .why-premium__process-panel .services-process__header {
    margin-bottom: 1.15rem;
  }

  .why-premium__process-panel .services-process__icon {
    width: 4rem;
    height: 4rem;
  }

  .why-premium__price-note {
    max-width: none;
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-premium__ambient::before {
    animation: none !important;
  }

  .why-premium__process-panel a.services-process__step--link:hover .services-process__icon {
    transform: none;
  }
}

@media (max-width: 480px) {
  .why-premium__value-panel-body p {
    font-size: 0.8rem;
    line-height: 1.58;
  }
}

/* ---------- Services Section ---------- */
.services {
  background:
    radial-gradient(100% 80% at 84% 18%, rgba(196, 154, 108, 0.09), transparent 70%),
    linear-gradient(180deg, #1c1108 0%, #25170d 47%, #1d1209 100%);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 53%, rgba(245, 237, 224, 0.04) 53.3% 53.5%, transparent 54%),
    linear-gradient(160deg, transparent 0 67%, rgba(245, 237, 224, 0.025) 67.2% 67.35%, transparent 67.6%);
  pointer-events: none;
}

.services__header {
  margin-bottom: clamp(2.25rem, 5.7vw, 4.35rem);
  max-width: 44rem;
}

.services__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.45rem, 3vw, 2.65rem);
  align-items: start;
}

.services__carousel {
  min-width: 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.15rem);
  align-items: stretch;
}

.services__mobile-nav {
  display: none;
}

.services__mobile-arrow {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 237, 224, 0.34);
  background: rgba(245, 237, 224, 0.06);
  color: var(--clr-beige-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease-smooth), background 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth);
}

.services__mobile-arrow svg {
  width: 1rem;
  height: 1rem;
}

.services__mobile-arrow:hover {
  transform: translateY(-1px);
  border-color: rgba(196, 154, 108, 0.62);
  background: rgba(196, 154, 108, 0.15);
}

.services__mobile-arrow:focus-visible {
  outline: 2px solid var(--clr-accent-gold);
  outline-offset: 2px;
}

.services__mobile-arrow[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.services__mobile-status {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, 0.76);
}

.services__mobile-hint {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  line-height: 1.45;
  color: rgba(245, 237, 224, 0.52);
  text-align: center;
  max-width: 18rem;
}

.service-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.5vw, 1.75rem) clamp(1.2rem, 1.9vw, 1.55rem);
  position: relative;
  overflow: hidden;
  transition:
    background 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    border-color 0.35s var(--ease-smooth);
  cursor: default;
  box-shadow: 0 10px 28px -20px rgba(0, 0, 0, 0.58);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
}

.service-card:nth-child(1) {
  grid-column: 1 / span 5;
}

.service-card:nth-child(2) {
  grid-column: 6 / span 3;
}

.service-card:nth-child(3) {
  grid-column: 9 / span 4;
}

.service-card:nth-child(4) {
  grid-column: 1 / span 4;
}

.service-card:nth-child(5) {
  grid-column: 5 / span 4;
}

.service-card:nth-child(6) {
  grid-column: 9 / span 4;
}

button.service-card,
button.service-card.service-card--interactive {
  display: block;
  width: 100%;
  margin: 0;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.service-card--interactive:focus-visible {
  outline: 2px solid var(--clr-accent-gold);
  outline-offset: 3px;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--clr-accent-gold), var(--clr-brown-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: auto -18% -32% auto;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 154, 108, 0.15), transparent 72%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
  transform: translateY(8px);
  pointer-events: none;
}

.service-card:hover {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.06));
  border-color: rgba(196, 154, 108, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -18px rgba(0, 0, 0, 0.56);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.service-card--featured {
  min-height: clamp(14.6rem, 22.4vw, 16.9rem);
  padding: clamp(1.45rem, 2.35vw, 1.95rem) clamp(1.25rem, 2vw, 1.65rem);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
  border-color: rgba(196, 154, 108, 0.28);
}

.service-card--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, rgba(31, 19, 12, 0.2), rgba(31, 19, 12, 0.42) 62%, rgba(31, 19, 12, 0.48));
}

.service-card--compact {
  min-height: clamp(9.9rem, 13.4vw, 11.15rem);
}

.service-card--compact-tall {
  min-height: clamp(10.6rem, 14.4vw, 11.85rem);
}

.service-card--mid {
  min-height: clamp(10.15rem, 14vw, 11.4rem);
}

.service-card--wide {
  min-height: clamp(10.5rem, 14.2vw, 11.8rem);
}

.service-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 0.8rem;
  border-radius: 0.85rem;
  background: linear-gradient(
    145deg,
    rgba(196, 154, 108, 0.2) 0%,
    rgba(44, 26, 14, 0.28) 100%
  );
  border: 1px solid rgba(196, 154, 108, 0.28);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
  transition:
    transform 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    border-color 0.35s var(--ease-smooth);
}

.service-card:hover .service-card__icon-wrap,
.service-card:focus-visible .service-card__icon-wrap {
  transform: translateY(-1px);
  border-color: rgba(196, 154, 108, 0.55);
  box-shadow:
    0 7px 20px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.service-card__icon {
  width: 1.45rem;
  height: 1.45rem;
  color: var(--clr-accent-gold);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
  position: relative;
  z-index: 1;
}

.service-card__icon * {
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__num {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(245, 237, 224, 0.38);
  position: absolute;
  top: 0.92rem;
  right: 1.04rem;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  transition: color var(--transition-base), transform 0.3s var(--ease-smooth);
}

.service-card:hover .service-card__num {
  color: rgba(245, 237, 224, 0.52);
  transform: translateY(-1px);
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  font-weight: 500;
  color: var(--clr-beige-light);
  margin: 0;
  line-height: 1.28;
  position: relative;
  z-index: 1;
  max-width: 26ch;
}

.service-card__desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(245, 237, 224, 0.72);
  max-width: 36ch;
  position: relative;
  z-index: 1;
  margin: 0;
}

.service-card__eyebrow,
.service-card__title,
.service-card__icon-wrap {
  position: relative;
  z-index: 1;
}

.service-card__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.72rem;
  padding: 0.33rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 237, 224, 0.34);
  background: rgba(21, 13, 8, 0.38);
  color: rgba(245, 237, 224, 0.88);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card--featured .service-card__eyebrow,
.service-card--featured .service-card__title {
  color: rgba(255, 248, 240, 0.95);
  text-shadow: none;
}

.services__grid-note {
  margin: clamp(0.9rem, 1.8vw, 1.2rem) 0 0;
  color: rgba(245, 237, 224, 0.72);
  font-size: 0.81rem;
  line-height: 1.62;
  letter-spacing: 0.01em;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 34ch;
}

.services__grid-note-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.12rem;
  border-radius: 50%;
  border: 1px solid rgba(196, 154, 108, 0.38);
  color: rgba(245, 237, 224, 0.82);
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 154, 108, 0.08);
}

/* ----- Usługi S07+ — dodatkowe kafelki pod bazową szóstką ----- */
.services__extra {
  margin-top: clamp(1rem, 2vw, 1.45rem);
  width: 100%;
}

.services__extra-label {
  margin: 0 0 0.7rem;
}

.services__extra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 0.62rem 0.72rem;
}

.services-overview__extra {
  margin-top: clamp(1rem, 2vw, 1.35rem);
}

.services-overview__extra-label {
  margin: 0 0 0.72rem;
}

.services-overview__grid.services-overview__grid--extra {
  grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
  gap: 0.68rem;
}

.services-overview__item--extra {
  min-height: 0;
}

.service-card-extra {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  align-items: start;
  column-gap: 0.55rem;
  row-gap: 0.18rem;
  padding: 0.82rem 1rem 0.92rem;
  border-radius: calc(var(--radius-md) + 1px);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    border-color 0.35s var(--ease-smooth),
    background 0.35s var(--ease-smooth);
  -webkit-tap-highlight-color: transparent;
}

.service-card-extra:focus-visible {
  outline: 2px solid var(--clr-accent-gold);
  outline-offset: 2px;
}

.service-card-extra__num {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1;
  margin: 0;
}

.service-card-extra__icon {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  color: rgba(196, 154, 108, 0.75);
}

.service-card-extra__icon-svg {
  display: block;
}

.service-card-extra__title,
.service-card-extra__name {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.28;
  margin: 0.15rem 0 0;
}

.service-card-extra__lead,
.service-card-extra__desc {
  grid-column: 1 / -1;
  grid-row: 3;
  font-size: 0.76rem;
  line-height: 1.48;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card-extra--home {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(245, 237, 224, 0.15);
  box-shadow: 0 10px 22px -18px rgba(0, 0, 0, 0.65);
}

.service-card-extra--home .service-card-extra__num {
  color: rgba(184, 134, 11, 0.52);
}

.service-card-extra--home .service-card-extra__title {
  color: rgba(252, 248, 240, 0.96);
}

.service-card-extra--home .service-card-extra__lead {
  color: rgba(205, 188, 165, 0.78);
}

.service-card-extra--home:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 154, 108, 0.38);
  box-shadow: 0 14px 28px -20px rgba(0, 0, 0, 0.72);
}

/* Kafelki S07+ na /usługi — ten sam „szklany” ciemny styl co na stronie głównej */
.service-card-extra--overview {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(245, 237, 224, 0.15);
  box-shadow: 0 10px 22px -18px rgba(0, 0, 0, 0.65);
}

.service-card-extra--overview .service-card-extra__num {
  color: rgba(184, 134, 11, 0.52);
}

.service-card-extra--overview .service-card-extra__icon {
  color: rgba(196, 154, 108, 0.75);
}

.service-card-extra--overview .service-card-extra__name {
  color: rgba(252, 248, 240, 0.96);
}

.service-card-extra--overview .service-card-extra__desc {
  color: rgba(205, 188, 165, 0.78);
}

.service-card-extra--overview:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -20px rgba(0, 0, 0, 0.72);
  border-color: rgba(196, 154, 108, 0.38);
}

/* Strona główna — sekcja #uslugi: desktop (901+) jak przegląd na /uslugi.html
   Reguły dla max-width: 900px (karuzela mobilna) pozostają nietknięte. */
@media (min-width: 901px) {
  body.page-home #uslugi .services__carousel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    align-self: stretch;
  }

  body.page-home #uslugi .services__grid[data-services-track] {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 0.72rem 0.85rem;
    align-items: stretch;
  }

  body.page-home #uslugi .services__grid[data-services-track] .service-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  body.page-home #uslugi .services__grid[data-services-track] .service-card {
    min-height: 0;
    height: 100%;
  }

  body.page-home #uslugi .service-card--featured,
  body.page-home #uslugi .service-card--compact,
  body.page-home #uslugi .service-card--compact-tall,
  body.page-home #uslugi .service-card--mid,
  body.page-home #uslugi .service-card--wide {
    min-height: 0;
  }

  body.page-home #uslugi .services__showcase {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 0;
    margin: 0;
    transition:
      box-shadow 0.5s var(--ease-smooth),
      transform 0.5s var(--ease-smooth),
      border-color 0.45s ease;
  }

  body.page-home #uslugi .services__showcase:hover {
    box-shadow:
      0 28px 48px -32px rgba(0, 0, 0, 0.85),
      0 0 0 1px rgba(196, 154, 108, 0.2);
    transform: translateY(-2px);
  }

  body.page-home #uslugi .services__showcase-media {
    flex: 1 1 auto;
    min-height: 11rem;
    margin-top: 1rem;
    aspect-ratio: unset;
  }

  body.page-home #uslugi .services__showcase-media:hover,
  body.page-home #uslugi .services__showcase:hover .services__showcase-media {
    box-shadow: inset 0 0 0 1px rgba(245, 237, 224, 0.12);
  }
}

@media (min-width: 901px) and (max-width: 1020px) {
  body.page-home #uslugi .services__layout {
    grid-template-columns: 1fr;
  }

  body.page-home #uslugi .services__showcase {
    order: -1;
    max-width: min(28rem, 100%);
    margin: 0 auto 0 0;
  }
}

@media (min-width: 1021px) {
  body.page-home #uslugi .services__layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(14rem, 36%);
    gap: clamp(1.5rem, 3.5vw, 2.75rem);
    align-items: stretch;
  }

  body.page-home #uslugi .services__showcase {
    position: sticky;
    top: 1.25rem;
  }
}

.services__showcase {
  min-width: 0;
  padding: clamp(1.05rem, 2vw, 1.45rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245, 237, 224, 0.14);
  background: linear-gradient(152deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 22px 34px -30px rgba(0, 0, 0, 0.8);
}

.services__showcase-kicker {
  margin: 0;
  color: rgba(245, 237, 224, 0.62);
  font-size: 0.68rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.services__showcase-title {
  margin: 0.45rem 0 0.62rem;
  color: var(--clr-beige-light);
  font-family: var(--font-serif);
  font-size: clamp(1.33rem, 2.2vw, 1.8rem);
  line-height: 1.27;
}

.services__showcase-text {
  margin: 0;
  color: rgba(245, 237, 224, 0.71);
  line-height: 1.72;
  font-size: 0.92rem;
}

.services__showcase-media {
  margin-top: 1rem;
  position: relative;
  border-radius: calc(var(--radius-lg) - 0.15rem);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  min-height: clamp(16.5rem, 31vw, 22.5rem);
  background: rgba(21, 13, 8, 0.45);
}

.services__showcase-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.95s var(--ease-smooth);
}

.services__showcase-layer.is-active {
  opacity: 1;
  z-index: 2;
}

.services__showcase-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(21, 13, 8, 0.62));
  pointer-events: none;
  z-index: 2;
}

.services__showcase-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border: 1px solid rgba(245, 237, 224, 0.4);
  background: rgba(21, 13, 8, 0.38);
  color: rgba(245, 237, 224, 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s var(--ease-smooth), transform 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth);
}

.services__showcase-arrow svg {
  width: 0.95rem;
  height: 0.95rem;
}

.services__showcase-arrow:hover {
  background: rgba(196, 154, 108, 0.32);
  border-color: rgba(245, 237, 224, 0.6);
}

.services__showcase-arrow:focus-visible {
  outline: 2px solid var(--clr-accent-gold);
  outline-offset: 2px;
}

.services__showcase-arrow--prev {
  left: 0.62rem;
}

.services__showcase-arrow--next {
  right: 0.62rem;
}

.services__showcase-counter {
  position: absolute;
  right: 0.62rem;
  bottom: 0.62rem;
  z-index: 3;
  margin: 0;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 237, 224, 0.34);
  background: rgba(21, 13, 8, 0.4);
  color: rgba(245, 237, 224, 0.92);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---------- Pricing Section ---------- */
.pricing {
  background-color: var(--clr-beige-light);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.pricing-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid rgba(44, 26, 14, 0.08);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  background: var(--clr-brown-dark);
  color: var(--clr-beige-light);
  border-color: transparent;
  transform: scale(1.03);
}

.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.pricing-card__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-accent-gold);
  color: var(--clr-white);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.35rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pricing-card__tier {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clr-text-muted);
  margin-bottom: 1.25rem;
}

.pricing-card--featured .pricing-card__tier {
  color: var(--clr-beige-dark);
}

.pricing-card__price {
  margin-bottom: 0.5rem;
}

.pricing-card__price-from {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  display: block;
  margin-bottom: 0.25rem;
}

.pricing-card--featured .pricing-card__price-from {
  color: var(--clr-beige-dark);
}

.pricing-card__price-range {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--clr-brown-mid);
  line-height: 1;
}

.pricing-card--featured .pricing-card__price-range {
  color: var(--clr-accent-warm);
}

.pricing-card__price-unit {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  margin-top: 0.3rem;
  display: block;
}

.pricing-card--featured .pricing-card__price-unit {
  color: var(--clr-beige-dark);
}

.pricing-card__divider {
  width: 100%;
  height: 1px;
  background: rgba(44, 26, 14, 0.1);
  margin: 2rem 0;
  border: none;
}

.pricing-card--featured .pricing-card__divider {
  background: rgba(255,255,255,0.12);
}

.pricing-card__features {
  flex: 1;
  margin-bottom: 2.5rem;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0;
  font-size: 0.9rem;
  color: var(--clr-text-body);
  border-bottom: 1px solid rgba(44, 26, 14, 0.06);
}

.pricing-card--featured .pricing-card__feature {
  color: rgba(255,255,255,0.8);
  border-bottom-color: rgba(255,255,255,0.08);
}

.pricing-card__feature-icon {
  width: 16px;
  height: 16px;
  color: var(--clr-accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card--featured .pricing-card__feature-icon {
  color: var(--clr-accent-warm);
}

.pricing-card__cta {
  display: block;
  text-align: center;
  padding: 0.9rem 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  border: 1.5px solid var(--clr-brown-mid);
  color: var(--clr-brown-dark);
}

.pricing-card__cta:hover {
  background: var(--clr-brown-dark);
  color: var(--clr-white);
  border-color: var(--clr-brown-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pricing-card--featured .pricing-card__cta {
  background: var(--clr-accent-gold);
  color: var(--clr-white);
  border-color: var(--clr-accent-gold);
}

.pricing-card--featured .pricing-card__cta:hover {
  background: var(--clr-brown-warm);
  border-color: var(--clr-brown-warm);
}

.pricing__note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

/* ---------- Portfolio / Realizacje ---------- */
.portfolio {
  background-color: var(--clr-cream);
}

.portfolio__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.portfolio-item:nth-child(1) {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
}
.portfolio-item:nth-child(2) {
  grid-column: 8 / span 5;
  grid-row: 1;
}
.portfolio-item:nth-child(3) {
  grid-column: 8 / span 5;
  grid-row: 2;
}
.portfolio-item:nth-child(4) {
  grid-column: 1 / span 12;
  grid-row: 3;
}

.portfolio-item__img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-item:nth-child(1) .portfolio-item__img {
  min-height: 560px;
}

.portfolio-item:nth-child(4) .portfolio-item__img {
  min-height: 300px;
}

.portfolio-item:hover .portfolio-item__img {
  transform: scale(1.06);
}

.portfolio-item__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
  margin: 0;
  padding: 0.75rem 1rem 0.9rem;
  max-width: min(100%, 22rem);
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 1.05vw, 1.1rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--clr-white);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 0 1.25rem rgba(0, 0, 0, 0.35);
  background: linear-gradient(
    to top,
    rgba(20, 10, 4, 0.72) 0%,
    rgba(20, 10, 4, 0.35) 55%,
    transparent 100%
  );
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* ---------- Realizacja subpage ---------- */
.page-realizacja .realizacja-main {
  padding: calc(var(--header-height) + 2rem) 0 4rem;
  min-height: 60vh;
}

.realizacja-breadcrumb {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-bottom: 2rem;
}

.realizacja-breadcrumb a {
  color: var(--clr-brown-mid);
  text-decoration: none;
  transition: color var(--transition-base);
}

.realizacja-breadcrumb a:hover {
  color: var(--clr-accent-gold);
}

.realizacja-breadcrumb__sep {
  margin: 0 0.5rem;
  opacity: 0.6;
}

.realizacja-header {
  margin-bottom: 2.5rem;
}

.realizacja-title {
  margin-top: 0.5rem;
}

.realizacja-gallery {
  margin-bottom: 3rem;
}

.realizacja-gallery__main {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-beige-light);
  margin-bottom: 1rem;
}

.realizacja-gallery__main img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  display: block;
}

.realizacja-gallery__grid {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.realizacja-gallery__thumb {
  width: 100px;
  height: 100px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: none;
  transition: border-color var(--transition-base), opacity var(--transition-base);
}

.realizacja-gallery__thumb:hover,
.realizacja-gallery__thumb.active {
  border-color: var(--clr-accent-gold);
  opacity: 1;
}

.realizacja-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.realizacja-content {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .realizacja-content {
    grid-template-columns: 1fr;
  }
}

.realizacja-meta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.realizacja-meta__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.realizacja-meta__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-beige-light);
  border-radius: var(--radius-sm);
  color: var(--clr-accent-gold);
}

.realizacja-meta__label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 0.25rem;
}

.realizacja-meta__value {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--clr-text-primary);
}

.realizacja-opis__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--clr-text-primary);
  margin-bottom: 1rem;
}

.realizacja-opis__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--clr-text-body);
}

.realizacja-back {
  margin-top: 2rem;
}

/* ---------- Contact Section ---------- */
.contact {
  background-color: var(--clr-brown-dark);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

/* Tylko podstrona kontakt: układ dwukolumnowy z danymi pod mapą (index ma inną strukturę .contact__grid). */
.contact__grid-aside {
  min-width: 0;
  width: 100%;
}

/* Formularz wyłączony: nagłówek po lewej, mapa po prawej, a dane kontaktowe pod spodem w dwóch kolumnach (3 + 3). */
body.page-contact .contact__intro {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

body.page-contact .contact__details {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  width: min(100%, 74rem);
  justify-self: center;
}

body.page-contact .contact__grid-aside {
  grid-column: 2;
  grid-row: 1;
}

/* Strona glowna (#kontakt): taki sam uklad jak na podstronie Kontakt (bez formularza). */
body:not(.page-contact) #kontakt .contact__intro {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

body:not(.page-contact) #kontakt .contact__details {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  width: min(100%, 74rem);
  justify-self: center;
}

body:not(.page-contact) #kontakt .contact__grid-aside {
  grid-column: 2;
  grid-row: 1;
}

body:not(.page-contact) #kontakt .contact__address {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, auto));
  grid-auto-flow: column;
  column-gap: clamp(1.25rem, 2.6vw, 2.2rem);
  margin-inline: auto;
  width: 100%;
}

body:not(.page-contact) #kontakt .contact__address .contact__info-item {
  border-top: none;
}

body:not(.page-contact) #kontakt .contact__address .contact__info-item:nth-child(1),
body:not(.page-contact) #kontakt .contact__address .contact__info-item:nth-child(4) {
  border-top: 1px solid rgba(255,255,255,0.08);
}

body.page-contact:not(.page-contact--has-form) .contact__address {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, auto));
  grid-auto-flow: column;
  column-gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-inline: auto;
  width: 100%;
}

body.page-contact:not(.page-contact--has-form) .contact__address .contact__info-item {
  border-top: none;
}

body.page-contact:not(.page-contact--has-form) .contact__address .contact__info-item:nth-child(1),
body.page-contact:not(.page-contact--has-form) .contact__address .contact__info-item:nth-child(4) {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.contact__grid-aside .contact__map {
  width: 100%;
}

/* Formularz włączony: lewa kolumna = intro + wszystkie dane; prawa kolumna = formularz nad mapą. */
body.page-contact.page-contact--has-form .contact__grid-form {
  grid-column: 2;
  grid-row: 1;
  margin-bottom: 0;
}

body.page-contact.page-contact--has-form .contact__intro {
  grid-column: 1;
  grid-row: 1;
}

body.page-contact.page-contact--has-form .contact__details {
  grid-column: 1;
  grid-row: 2;
}

body.page-contact.page-contact--has-form .contact__grid-aside {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

body.page-contact.page-contact--has-form .contact__address {
  display: block;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact__info-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.contact__info-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-accent-warm);
  transition: background var(--transition-base);
}

.contact__info-item:hover .contact__info-icon {
  background: rgba(184, 134, 11, 0.15);
}

.contact__info-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 0.4rem;
  display: block;
}

.contact__info-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--clr-beige-light);
  transition: color var(--transition-base);
}

.contact__info-item:hover .contact__info-value {
  color: var(--clr-accent-warm);
}

.contact__info-value a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

.contact__info-item:hover .contact__info-value a {
  color: var(--clr-accent-warm);
}

.contact__social {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--clr-beige-light);
  line-height: 1.5;
}

.contact__social a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color var(--transition-base), border-color var(--transition-base);
}

.contact__social a:hover {
  color: var(--clr-accent-warm);
  border-bottom-color: var(--clr-accent-warm);
}

.contact__social-sep {
  margin: 0 0.5rem;
  opacity: 0.45;
}

.contact-form-root {
  margin-top: 0;
}

.contact-form-root[hidden] {
  display: none !important;
}

.contact-form-root--visible {
  display: block;
}

.contact-form {
  position: relative;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.contact-form__lead {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(245, 237, 224, 0.88);
}

.contact-form__field {
  margin-bottom: 1rem;
}

.contact-form__field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, 0.72);
  margin-bottom: 0.4rem;
}

.contact-form__req {
  color: var(--clr-accent-warm);
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(13, 10, 7, 0.35);
  color: var(--clr-beige-light);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth);
}

.contact-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: rgba(196, 154, 108, 0.55);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.18);
}

.contact-form__submit {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}

.contact-form__status {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(245, 237, 224, 0.75);
}

.contact-form__status--ok {
  color: rgba(180, 220, 160, 0.95);
}

.contact-form__status--err {
  color: rgba(255, 180, 160, 0.95);
}

.contact-form__status--assistive {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Pełnoekranowy overlay wysyłki formularza kontaktowego */
.contact-submit-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  opacity: 0;
  animation: contact-overlay-in 0.35s var(--ease-smooth, ease-out) forwards;
}

.contact-submit-overlay.is-closing {
  animation: contact-overlay-out 0.28s var(--ease-smooth, ease-in) forwards;
}

@keyframes contact-overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes contact-overlay-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.contact-submit-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 10, 7, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-submit-overlay__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 22rem);
  padding: clamp(1.75rem, 4vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: rgba(26, 22, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  text-align: center;
  transform: scale(0.98);
  animation: contact-panel-in 0.4s var(--ease-smooth, cubic-bezier(0.22, 1, 0.36, 1)) forwards;
}

@keyframes contact-panel-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.contact-submit-overlay__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.contact-submit-overlay__spinner {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid rgba(245, 237, 224, 0.12);
  border-top-color: rgba(196, 154, 108, 0.95);
  animation: contact-spin 0.85s linear infinite;
}

@keyframes contact-spin {
  to {
    transform: rotate(360deg);
  }
}

.contact-submit-overlay__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.8vw, 1.2rem);
  font-weight: 500;
  color: var(--clr-beige-light);
  line-height: 1.35;
}

.contact-submit-overlay__sub {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(245, 237, 224, 0.72);
}

.contact-submit-overlay__icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-submit-overlay__icon-wrap--success {
  background: rgba(90, 140, 90, 0.22);
  border: 1px solid rgba(140, 200, 140, 0.35);
  animation: contact-success-pop 0.55s var(--ease-smooth, cubic-bezier(0.22, 1, 0.36, 1)) forwards;
}

.contact-submit-overlay__icon-wrap--error {
  background: rgba(160, 80, 70, 0.2);
  border: 1px solid rgba(220, 120, 100, 0.35);
  animation: contact-error-pop 0.45s var(--ease-smooth, ease-out) forwards;
}

@keyframes contact-success-pop {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes contact-error-pop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.contact-submit-overlay__check {
  width: 1.65rem;
  height: 1.65rem;
  color: rgba(160, 210, 150, 0.98);
}

.contact-submit-overlay__close {
  margin-top: 0.35rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.contact-submit-overlay__close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.contact-submit-overlay__close:focus-visible {
  outline: 2px solid rgba(196, 154, 108, 0.75);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .contact-submit-overlay {
    animation-duration: 0.01s;
  }

  .contact-submit-overlay__panel {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .contact-submit-overlay__spinner {
    animation-duration: 1.4s;
  }

  .contact-submit-overlay__icon-wrap--success,
  .contact-submit-overlay__icon-wrap--error {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.subpage-content .contact-form {
  background: rgba(255, 255, 255, 0.04);
}

.contact__hint {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 0.45rem;
  letter-spacing: 0.02em;
}

.contact__map {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.contact__map iframe,
.contact__map-frame {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.contact__map-placeholder {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.25rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 60%),
    rgba(13, 10, 7, 0.2);
}

.contact__map-placeholder-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--clr-beige-light);
}

.contact__map-placeholder-text {
  margin: 0;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.56;
}

.contact__map-placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.contact__map-external-link {
  text-decoration: none;
}

.contact__map-placeholder .btn,
.contact__map-placeholder a.btn {
  border-color: rgba(245, 237, 224, 0.5);
  color: var(--clr-beige-light);
  background: rgba(255, 255, 255, 0.06);
}

.contact__map-placeholder .btn:hover,
.contact__map-placeholder a.btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--clr-beige-light);
  color: var(--clr-white);
}

.contact__map-caption {
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

/* Kontakt: responsywność podstrony mobilnej */
@media (max-width: 1024px) {
  body.page-contact .contact__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  body.page-contact .contact__intro,
  body.page-contact .contact__details,
  body.page-contact .contact__grid-aside,
  body.page-contact.page-contact--has-form .contact__grid-form,
  body.page-contact.page-contact--has-form .contact__intro,
  body.page-contact.page-contact--has-form .contact__details,
  body.page-contact.page-contact--has-form .contact__grid-aside {
    grid-column: 1;
    grid-row: auto;
  }

  body.page-contact:not(.page-contact--has-form) .contact__address {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    column-gap: 0;
  }

  body.page-contact:not(.page-contact--has-form) .contact__address .contact__info-item,
  body.page-contact:not(.page-contact--has-form) .contact__address .contact__info-item:first-child,
  body.page-contact:not(.page-contact--has-form) .contact__address .contact__info-item:nth-child(1),
  body.page-contact:not(.page-contact--has-form) .contact__address .contact__info-item:nth-child(4) {
    border-top: 0;
  }

  body.page-contact:not(.page-contact--has-form) .contact__address .contact__info-item:first-child {
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  body.page-contact .contact__map iframe,
  body.page-contact .contact__map-frame,
  body.page-contact .contact__map-placeholder {
    height: 280px;
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  body.page-contact .contact__info-item {
    gap: 0.95rem;
    padding: 1.15rem 0;
  }

  body.page-contact .contact__info-icon {
    width: 40px;
    height: 40px;
  }

  body.page-contact .contact__info-value {
    font-size: 1.08rem !important;
    line-height: 1.45;
  }

  body.page-contact .contact__social {
    font-size: 1.08rem;
    line-height: 1.45;
  }

  body.page-contact .contact__map iframe,
  body.page-contact .contact__map-frame,
  body.page-contact .contact__map-placeholder {
    height: 240px;
    min-height: 240px;
  }

  body.page-contact .contact__map-caption {
    padding: 0.85rem 1rem;
    letter-spacing: 0.03em;
  }
}

/* ---------- Footer ---------- */
.footer {
  background:
    linear-gradient(180deg, #17100b 0%, #130d08 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(2.35rem, 4.6vw, 3rem) 0 clamp(1rem, 2.6vw, 1.35rem);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(1.15rem, 2.3vw, 1.85rem);
  margin-bottom: clamp(1rem, 2vw, 1.45rem);
}

.footer__brand-desc {
  font-size: 0.82rem;
  line-height: 1.62;
  color: rgba(245, 237, 224, 0.64);
  max-width: 28rem;
  margin: 0.65rem 0 0;
}

.footer__brand-logo {
  display: inline-flex;
  align-items: center;
}

.footer__brand-logo-img {
  width: min(224px, 100%);
  height: auto;
  display: block;
  opacity: 0.94;
}

.footer__col-title {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(196, 154, 108, 0.9);
  margin: 0 0 0.78rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.44rem;
  margin: 0;
  padding: 0;
}

.footer__link {
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(245, 237, 224, 0.72);
  text-decoration: none;
  transition: color var(--transition-base), opacity var(--transition-base);
}

.footer__link:hover {
  color: var(--clr-beige-light);
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.44rem;
  margin: 0;
  padding: 0;
}

.footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(245, 237, 224, 0.72);
  text-decoration: none;
  transition: color var(--transition-base), opacity var(--transition-base);
}

.footer__contact-link:hover {
  color: var(--clr-beige-light);
}

.footer__contact-icon {
  width: 1rem;
  height: 1rem;
  color: rgba(196, 154, 108, 0.86);
  flex-shrink: 0;
}

.footer__contact-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__social-link {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(245, 237, 224, 0.15);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(245, 237, 224, 0.82);
  transition: border-color var(--transition-base), color var(--transition-base), background var(--transition-base), transform var(--transition-base);
}

.footer__social-link svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.footer__social-link:hover {
  border-color: rgba(196, 154, 108, 0.6);
  color: var(--clr-accent-gold);
  background: rgba(196, 154, 108, 0.1);
  transform: translateY(-1px);
}

.footer__social-link:focus-visible,
.footer__link:focus-visible,
.footer__contact-link:focus-visible {
  outline: 2px solid var(--clr-accent-gold);
  outline-offset: 2px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.footer__copy {
  font-size: 0.72rem;
  color: rgba(245, 237, 224, 0.44);
  margin: 0;
}

.footer__legal {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.footer__legal a {
  font-size: 0.72rem;
  color: rgba(245, 237, 224, 0.5);
  text-decoration: none;
  transition: color var(--transition-base), opacity var(--transition-base);
}

.footer__legal a:hover {
  color: rgba(245, 237, 224, 0.78);
}

.footer__media-note {
  margin: 0.35rem 0 0;
  padding-top: 0.5rem;
  font-size: 0.62rem;
  color: rgba(245, 237, 224, 0.26);
  letter-spacing: 0.04em;
  line-height: 1.45;
  max-width: 40rem;
}

/* ---------- Cookie trigger (fixed icon) ---------- */
.cookie-trigger {
  position: fixed;
  left: 1.25rem;
  bottom: 1.5rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-brown-dark);
  color: var(--clr-accent-warm);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(44, 26, 14, 0.25);
  transition: transform var(--transition-base), box-shadow var(--transition-base), color var(--transition-base);
}

.cookie-trigger:hover {
  color: var(--clr-beige-light);
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(44, 26, 14, 0.35);
}

.cookie-trigger__icon {
  width: 22px;
  height: 22px;
}

html.has-cookie-consent-bar body {
  padding-bottom: clamp(5.5rem, 14vw, 7.25rem);
}

/* Ikona cookies — na czas banera przeniesiona w prawy dolny róg, żeby nie zachodziła na kartę (lewy dół) */
html.has-cookie-consent-bar .cookie-trigger {
  left: auto;
  right: 1.25rem;
  bottom: calc(clamp(5.5rem, 14vw, 7.25rem) + 0.5rem);
}

@media (min-width: 900px) {
  html.has-cookie-consent-bar body {
    padding-bottom: clamp(1.25rem, 3vw, 2rem);
  }

  html.has-cookie-consent-bar .cookie-trigger {
    bottom: 1.5rem;
  }
}

/* ---------- Cookie consent bar (first visit) ---------- */
.cookie-consent-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  padding: 1rem max(1rem, 2vw) calc(1rem + env(safe-area-inset-bottom, 0px));
  background:
    linear-gradient(165deg, rgba(22, 14, 9, 0.96) 0%, rgba(18, 11, 6, 0.98) 45%, rgba(26, 17, 11, 0.99) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow:
    0 -12px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 252, 247, 0.06);
  transform: translateY(104%);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.38s var(--ease-smooth),
    opacity 0.32s var(--ease-smooth),
    visibility 0.32s;
}

@media (min-width: 900px) {
  .cookie-consent-bar {
    left: max(1rem, env(safe-area-inset-left, 0px));
    right: auto;
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    width: min(100% - 2rem, 38rem);
    max-height: min(52vh, 26rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 1.15rem 1.2rem 1.2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
      0 22px 56px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(0, 0, 0, 0.12),
      inset 0 1px 0 rgba(255, 252, 247, 0.07);
    transform: translate(-108%, 0);
  }

  .cookie-consent-bar.cookie-consent-bar--visible {
    transform: translate(0, 0);
  }

  .cookie-consent-bar__inner {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-consent-bar__actions {
    width: 100%;
    justify-items: stretch;
  }
}

.cookie-consent-bar.cookie-consent-bar--visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-consent-bar__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem 1.25rem;
}

.cookie-consent-bar__copy {
  flex: 1 1 16rem;
  min-width: 0;
}

/* Mobile / tablet: treść nad przyciskami — brak overflow w poziomie i „kolumn” z liter */
@media (max-width: 899px) {
  .cookie-consent-bar__inner {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .cookie-consent-bar__copy {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .cookie-consent-bar__actions {
    flex: 0 0 auto;
  }
}

@media (max-width: 380px) {
  .cookie-consent-bar__actions {
    grid-template-columns: 1fr;
  }
}

.cookie-consent-bar__heading {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 2.2vw, 1.22rem);
  font-weight: 600;
  color: rgba(252, 248, 240, 0.98);
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.cookie-consent-bar__lead {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(245, 237, 224, 0.86);
  max-width: 52ch;
}

.cookie-consent-bar__lead strong {
  font-weight: 600;
  color: rgba(252, 248, 240, 0.96);
}

.cookie-consent-bar__accent {
  color: rgba(218, 185, 120, 0.95);
  font-weight: 500;
}

.cookie-consent-bar__links {
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.84rem;
  line-height: 1.45;
}

.cookie-consent-bar__links a {
  color: rgba(218, 185, 120, 0.98);
  text-decoration: underline;
  text-underline-offset: 0.14em;
  text-decoration-thickness: 1px;
  font-weight: 500;
}

.cookie-consent-bar__links a:hover {
  color: var(--clr-beige-light);
}

.cookie-consent-bar__links-sep {
  opacity: 0.45;
  user-select: none;
}

@media (min-width: 900px) {
  .cookie-consent-bar__lead {
    max-width: none;
  }
}

.cookie-consent-bar__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  align-items: center;
  justify-content: stretch;
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.cookie-consent-bar__btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.7rem 0.85rem;
  font-size: clamp(0.72rem, 2.8vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: manual;
  border-radius: var(--radius-md);
}

.cookie-consent-bar__btn--secondary {
  border-width: 1.5px;
}

.cookie-consent-bar__btn--accept {
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.12),
    0 8px 20px rgba(184, 134, 11, 0.22);
}

.cookie-consent-bar__btn--accept:hover {
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.14),
    0 10px 26px rgba(184, 134, 11, 0.28);
}

.cookie-consent-bar .btn--outline-dark {
  border-color: rgba(245, 237, 224, 0.48);
  color: rgba(252, 248, 240, 0.96);
  background: rgba(255, 255, 255, 0.07);
}

.cookie-consent-bar .btn--outline-dark:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(252, 248, 240, 0.75);
  color: var(--clr-white);
}

/* ---------- Cookies settings modal ---------- */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-smooth), visibility 0.35s var(--ease-smooth);
}

.cookie-modal[hidden] {
  display: none !important;
}

.cookie-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 10, 7, 0.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.cookie-modal__panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(44, 26, 14, 0.1);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(180deg, #fffdf9 0%, var(--clr-cream) 100%);
  padding: clamp(1.25rem, 3vw, 2rem);
  transform: translateY(12px) scale(0.985);
  opacity: 0;
  transition: transform 0.35s var(--ease-smooth), opacity 0.35s var(--ease-smooth);
}

.cookie-modal.is-open .cookie-modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.cookie-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(44, 26, 14, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(44, 26, 14, 0.04);
  color: var(--clr-brown-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base);
}

.cookie-modal__close:hover {
  background: var(--clr-brown-dark);
  color: var(--clr-beige-light);
}

.cookie-modal__header {
  max-width: 36rem;
  margin-bottom: 1.15rem;
}

.cookie-modal__title {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  line-height: 1.12;
  color: var(--clr-text-primary);
}

.cookie-modal__intro {
  margin: 0;
  color: var(--clr-text-muted);
  line-height: 1.62;
}

.cookie-modal__hint {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--clr-text-muted);
}

.cookie-modal__feedback {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--clr-brown-mid);
  background: rgba(184, 134, 11, 0.12);
  border: 1px solid rgba(184, 134, 11, 0.22);
}

.cookie-modal__feedback[hidden] {
  display: none !important;
}

.cookie-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.cookie-modal__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(44, 26, 14, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88) 0%, rgba(252, 249, 244, 0.78) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.cookie-modal__item--toggle {
  align-items: center;
}

.cookie-modal__item--essential {
  align-items: center;
  background: linear-gradient(145deg, rgba(255, 252, 245, 0.95) 0%, rgba(245, 236, 220, 0.55) 100%);
  border-color: rgba(184, 134, 11, 0.22);
}

.cookie-modal__item-main {
  min-width: 0;
}

.cookie-modal__item-main strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--clr-text-primary);
}

.cookie-modal__item-main p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--clr-text-muted);
}

.cookie-essential-badge {
  flex-shrink: 0;
  align-self: center;
  padding: 0.4rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(74, 52, 28, 0.88);
  background: rgba(184, 134, 11, 0.2);
  border: 1px solid rgba(184, 134, 11, 0.35);
  border-radius: 999px;
  white-space: nowrap;
}

/* Przełączniki (analityczne / funkcjonalne) — animowany tor + suwak */
.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.55rem;
  height: 2.35rem;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  border-radius: 999px;
}

.cookie-toggle__input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.cookie-toggle__track {
  display: block;
  width: 3.35rem;
  height: 1.88rem;
  border-radius: 999px;
  position: relative;
  border: 1px solid rgba(44, 26, 14, 0.22);
  background: linear-gradient(180deg, rgba(44, 26, 14, 0.08) 0%, rgba(44, 26, 14, 0.04) 100%);
  box-shadow: inset 0 2px 6px rgba(13, 10, 7, 0.12);
  transition:
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.cookie-toggle__thumb {
  position: absolute;
  top: 50%;
  left: 0.2rem;
  width: 1.42rem;
  height: 1.42rem;
  border-radius: 50%;
  background: linear-gradient(165deg, #ffffff 0%, rgba(252, 249, 244, 0.96) 100%);
  box-shadow:
    0 2px 6px rgba(13, 10, 7, 0.2),
    0 0 0 1px rgba(44, 26, 14, 0.06);
  transform: translate(0, -50%);
  transition: transform 0.32s cubic-bezier(0.34, 1.35, 0.64, 1);
  pointer-events: none;
}

.cookie-toggle__input:hover + .cookie-toggle__track {
  border-color: rgba(184, 134, 11, 0.45);
  box-shadow: inset 0 2px 6px rgba(13, 10, 7, 0.1), 0 0 0 1px rgba(184, 134, 11, 0.12);
}

.cookie-toggle__input:focus-visible + .cookie-toggle__track {
  outline: 2px solid rgba(184, 134, 11, 0.8);
  outline-offset: 3px;
}

.cookie-toggle__input:checked + .cookie-toggle__track {
  border-color: rgba(154, 112, 18, 0.85);
  background: linear-gradient(165deg, rgba(222, 178, 72, 0.98) 0%, rgba(184, 134, 11, 0.92) 55%, rgba(154, 112, 18, 0.88) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(44, 26, 14, 0.08),
    0 2px 8px rgba(154, 112, 18, 0.28);
}

.cookie-toggle__input:checked + .cookie-toggle__track .cookie-toggle__thumb {
  transform: translate(calc(3.35rem - 1.42rem - 0.4rem), -50%);
}

@media (prefers-reduced-motion: reduce) {
  .cookie-toggle__track,
  .cookie-toggle__thumb {
    transition-duration: 0.01ms !important;
  }
}

.cookie-modal__actions {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(44, 26, 14, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.cookie-modal__actions .btn {
  min-height: 2.65rem;
  padding-inline: 1rem;
  font-weight: 600;
  font-size: 0.88rem;
}

.cookie-modal__actions .btn--primary {
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1), 0 6px 16px rgba(184, 134, 11, 0.18);
}

.cookie-modal__note {
  margin: 0.8rem 0 0;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

/* ---------- Privacy page ---------- */
.privacy-page__hero .subpage-hero__inner {
  max-width: 64rem;
}

.privacy-page__content {
  padding-top: clamp(2.5rem, 4.2vw, 4rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.privacy-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.55fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: start;
}

.privacy-page__card {
  padding: clamp(1.15rem, 2.4vw, 1.8rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(44, 26, 14, 0.08);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 28px rgba(44, 26, 14, 0.06);
}

.privacy-page__title {
  margin: 0.45rem 0 0.8rem;
}

.privacy-page__lead {
  max-width: 46rem;
  margin-bottom: 0.35rem;
}

.privacy-page__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.privacy-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.privacy-page__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 134, 11, 0.35);
  background: rgba(184, 134, 11, 0.08);
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--clr-brown-dark);
}

.privacy-page__chip strong {
  font-weight: 700;
}

.privacy-content {
  display: grid;
  gap: clamp(0.7rem, 1.2vw, 1rem);
  color: var(--clr-text-primary);
}

.privacy-content h2,
.privacy-content h3,
.privacy-content h4 {
  margin: 1.2rem 0 0.3rem;
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
  line-height: 1.22;
  color: var(--clr-text-primary);
}

.privacy-content h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.privacy-content h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.42rem);
}

.privacy-content h4 {
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
}

.privacy-content p {
  margin: 0;
  max-width: 68ch;
  color: rgba(31, 22, 17, 0.9);
}

.privacy-content ul,
.privacy-content ol {
  margin: 0.1rem 0 0.2rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.42rem;
  color: rgba(31, 22, 17, 0.92);
}

.privacy-content li {
  padding-left: 0.12rem;
}

.privacy-content a {
  color: var(--clr-accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.privacy-page__mini-card {
  padding: clamp(1rem, 2vw, 1.3rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(44, 26, 14, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(250, 246, 238, 0.72) 100%);
  box-shadow: 0 8px 22px rgba(44, 26, 14, 0.06);
}

.privacy-page__mini-title {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  color: var(--clr-text-primary);
}

.privacy-page__mini-card .t-body {
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .cookie-trigger {
    left: 1rem;
    bottom: 1rem;
    width: 40px;
    height: 40px;
  }
  .cookie-trigger__icon {
    width: 20px;
    height: 20px;
  }

  .cookie-modal__actions {
    flex-direction: column;
  }

  .cookie-modal__actions .btn {
    width: 100%;
  }

  .privacy-page__layout {
    grid-template-columns: 1fr;
  }
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

@keyframes scrollHint {
  0%, 100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 0.58;
    transform: translateY(3px);
  }
}

/* Delikatny „oddech” całego wskaźnika Przewiń (nie koliduje z fadeIn — tylko transform) */
@keyframes heroScrollFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(5px);
  }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: var(--clr-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base);
  font-size: 1.25rem;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.2);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .header {
    z-index: 210;
  }

  .header.header--menu-open {
    background: linear-gradient(180deg, #2c1a0e 0%, #1a1008 55%, #120a05 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header__toggle {
    display: inline-flex;
  }

  .header__mobile-actions {
    display: flex;
  }

  .header__phone-wrap {
    position: relative;
  }

  .header__phone-btn {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(245, 237, 224, 0.06);
    color: var(--clr-beige-light);
    cursor: pointer;
    transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
  }

  .header__phone-btn svg {
    width: 20px;
    height: 20px;
  }

  .header__phone-btn:hover {
    transform: translateY(-1px);
    background: rgba(245, 237, 224, 0.12);
    border-color: rgba(196, 154, 108, 0.48);
  }

  .header__phone-btn:focus-visible {
    outline: 2px solid var(--clr-accent-gold);
    outline-offset: 2px;
  }

  .header__phone-btn[aria-expanded="true"] {
    background: rgba(196, 154, 108, 0.18);
    border-color: rgba(196, 154, 108, 0.55);
  }

  .header__phone-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 11.5rem;
    padding: 0.45rem 0;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(165deg, #2c1a0e 0%, #1a1008 100%);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
    z-index: 220;
  }

  .header__phone-popover[hidden] {
    display: none !important;
  }

  .header__phone-popover a {
    display: block;
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(245, 237, 224, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition-base), color var(--transition-base);
  }

  .header__phone-popover a:first-child {
    border-top: none;
  }

  .header__phone-popover a:hover,
  .header__phone-popover a:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    color: var(--clr-accent-warm);
    outline: none;
  }

  .header__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(12, 8, 5, 0.56);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-smooth), visibility 0.3s var(--ease-smooth);
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(78vw, 340px);
    min-width: 270px;
    background-color: #1a1008;
    background-image: linear-gradient(170deg, #2c1a0e 0%, #1a1008 48%, #120a05 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: -10px 0 32px rgba(0, 0, 0, 0.38);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--header-height) + 0.28rem) 1rem 0.85rem;
    transform: translateX(104%);
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transition: transform 0.32s var(--ease-smooth);
    z-index: 212;
    overflow: visible;
    justify-content: flex-start;
  }

  .header--menu-open .header__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header--menu-open .header__nav,
  .header__nav--open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header__panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.82rem;
    padding-bottom: 0.62rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .header__panel-brand {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.02rem;
    color: rgba(245, 237, 224, 0.92);
    letter-spacing: 0.03em;
  }

  .header__panel-close {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--clr-beige-light);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
  }

  .header__panel-close:hover {
    background: rgba(196, 154, 108, 0.18);
    border-color: rgba(196, 154, 108, 0.56);
    transform: translateY(-1px);
  }

  .header__panel-close:focus-visible {
    outline: 2px solid var(--clr-accent-gold);
    outline-offset: 2px;
  }

  .header__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.26rem;
    margin-bottom: 0.82rem;
  }

  .header__links .header__link {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgba(245, 237, 224, 0.94);
    text-decoration: none;
    padding: 0.7rem 0.2rem;
    border-radius: var(--radius-sm);
    min-height: 44px;
    opacity: 0;
    transform: translateX(10px);
    transition:
      opacity 0.24s ease,
      transform 0.28s var(--ease-smooth),
      color 0.22s ease,
      background 0.22s ease;
  }

  .header__links .header__link:hover {
    color: var(--clr-accent-gold);
    background: rgba(255, 255, 255, 0.05);
  }

  .header__links .header__link:focus-visible {
    outline: 2px solid var(--clr-accent-gold);
    outline-offset: 2px;
  }

  .header__link--active {
    color: var(--clr-accent-gold);
    background: rgba(196, 154, 108, 0.14);
  }

  .header__cta {
    margin-top: 0.65rem;
    width: 100%;
    justify-content: center;
    min-height: 46px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.22s var(--ease-smooth);
  }

  .header--menu-open .header__links .header__link,
  .header__nav--open .header__links .header__link {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0s;
  }

  .header--menu-open .header__cta,
  .header__nav--open .header__cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .header--menu-open .header__toggle-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .header--menu-open .header__toggle-line:nth-child(2) {
    opacity: 0;
  }

  .header--menu-open .header__toggle-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 1100px) {
  .services__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .services__showcase {
    max-width: 40rem;
  }

  .services__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .service-card:nth-child(1) { grid-column: 1 / span 4; }
  .service-card:nth-child(2) { grid-column: 5 / span 2; }
  .service-card:nth-child(3) { grid-column: 7 / span 2; }
  .service-card:nth-child(4) { grid-column: 1 / span 3; }
  .service-card:nth-child(5) { grid-column: 4 / span 3; }
  .service-card:nth-child(6) { grid-column: 7 / span 2; }

  .pricing__grid { grid-template-columns: 1fr 1fr; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-6px); }

  .about__trust {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Kontakt (strona główna + /kontakt): jedna kolumna od tabletów — selektory #kontakt / .page-contact
   mają wyższą specyficzność niż sam `.contact__*`; bez tego na mobile zostaje układ 2‑kolumnowy. */
@media (max-width: 1024px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .contact__intro,
  .contact__details,
  .contact__grid-aside {
    grid-column: 1;
    grid-row: auto;
    min-width: 0;
  }

  body.page-contact .contact__intro,
  body.page-contact .contact__details,
  body.page-contact .contact__grid-aside {
    grid-column: 1;
    grid-row: auto;
    min-width: 0;
    width: 100%;
  }

  body.page-contact:not(.page-contact--has-form) .contact__intro {
    order: 1;
  }

  body.page-contact:not(.page-contact--has-form) .contact__grid-aside {
    order: 2;
  }

  body.page-contact:not(.page-contact--has-form) .contact__details {
    order: 3;
  }

  body.page-contact.page-contact--has-form .contact__grid-form,
  body.page-contact.page-contact--has-form .contact__intro,
  body.page-contact.page-contact--has-form .contact__details,
  body.page-contact.page-contact--has-form .contact__grid-aside {
    grid-column: 1;
    grid-row: auto;
    min-width: 0;
    width: 100%;
  }

  body:not(.page-contact) #kontakt .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body:not(.page-contact) #kontakt .contact__intro {
    grid-column: 1;
    grid-row: auto;
    order: 1;
    min-width: 0;
    width: 100%;
  }

  body:not(.page-contact) #kontakt .contact__details {
    grid-column: 1;
    grid-row: auto;
    order: 2;
    min-width: 0;
    width: 100%;
  }

  body:not(.page-contact) #kontakt .contact__grid-aside {
    grid-column: 1;
    grid-row: auto;
    order: 3;
    min-width: 0;
    width: 100%;
  }

  body.page-contact:not(.page-contact--has-form) .contact__address {
    display: block;
    grid-template-columns: unset;
    grid-template-rows: unset;
    grid-auto-flow: unset;
    column-gap: unset;
  }

  body.page-contact:not(.page-contact--has-form) .contact__address .contact__info-item {
    border-top: none;
  }

  body.page-contact:not(.page-contact--has-form) .contact__address .contact__info-item:first-child {
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  body:not(.page-contact) #kontakt .contact__address {
    display: block;
    grid-template-columns: unset;
    grid-template-rows: unset;
    grid-auto-flow: unset;
    column-gap: unset;
  }

  body:not(.page-contact) #kontakt .contact__address .contact__info-item {
    border-top: none;
  }

  body:not(.page-contact) #kontakt .contact__address .contact__info-item:first-child {
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .contact__map iframe,
  .contact__map-frame,
  .contact__map-placeholder {
    height: 280px;
    min-height: 280px;
  }
}

@media (max-width: 900px) {
  :root { --section-pad: 4.5rem 1.25rem; }

  .about__story-row,
  .about__story-row--reverse {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    align-items: start;
  }

  .about__story-row .about__story-text,
  .about__story-row--reverse .about__story-text {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
    padding-left: 0;
    border-left: none;
  }

  br.about__break-md {
    display: none;
  }

  .about__story-row .about__story-figure,
  .about__story-row--reverse .about__story-figure {
    grid-column: 1;
    grid-row: 2;
  }

  .about__intro-story {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

  .about__intro-story .about__story-figure {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    margin-top: 0;
  }

  .about__intro-story .about__intro {
    margin-bottom: 1rem;
  }

  .about__intro-story .about__story-text {
    padding: 1rem 0.95rem;
  }

  .about__intro-lead {
    max-width: none;
    font-size: 0.99rem;
    line-height: 1.68;
  }

  .about__intro-highlights {
    grid-template-columns: 1fr;
  }

  .about__intro-story .about__story-media--rotator {
    transform: none;
  }

  .about__trust--band {
    margin-left: 0;
    margin-right: 0;
  }

  .about__panel-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__panel-main {
    order: 1;
    max-width: none;
  }

  .about__panel-figure {
    order: 2;
  }

  .about__panel--tone {
    padding: clamp(1.65rem, 4vw, 2.25rem) 1.15rem;
  }

  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__grid--stage { gap: 2.75rem; }
  .about__image-badge { right: 0; bottom: -1.5rem; }
  .about__content { padding-right: 0; }

  .about__module {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding-bottom: 2rem;
  }

  .about__module-head {
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(44, 26, 14, 0.06);
  }

  .services__mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
  }

  .services__layout {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .services__carousel {
    position: relative;
    order: 1;
  }

  .services__showcase {
    order: 2;
    padding: 0.95rem;
  }

  .services__grid[data-services-track] {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(88%, 1fr);
    grid-template-columns: none;
    gap: 0.9rem;
    overflow-x: auto;
    padding: 0.2rem 0.2rem 0.4rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .services__grid[data-services-track]::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .services__grid[data-services-track] .service-card {
    min-height: 100%;
    scroll-snap-align: center;
  }

  .services__grid[data-services-track] .service-card:nth-child(n) {
    grid-column: auto;
  }

  .services__grid[data-services-track] .service-card.is-active {
    border-color: rgba(196, 154, 108, 0.62);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
  }

  .pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }

  .portfolio__grid {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio-item:nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1;
  }
  .portfolio-item:nth-child(1) .portfolio-item__img { min-height: 320px; }
  .portfolio-item:nth-child(2) { grid-column: 1; grid-row: 2; }
  .portfolio-item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .portfolio-item:nth-child(4) {
    grid-column: 1 / span 2;
    grid-row: 3;
  }
  .portfolio-item:nth-child(4) .portfolio-item__img { min-height: 260px; }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.8rem;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .portfolio__header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .services__grid[data-services-track] {
    grid-auto-columns: minmax(92%, 1fr);
  }

  .services__showcase {
    padding: 0.75rem;
  }

  .services__showcase-title {
    font-size: 1.2rem;
  }

  .services__showcase-text {
    font-size: 0.86rem;
  }

  .services__showcase-media {
    min-height: 15rem;
  }

  .services__showcase-arrow {
    width: 1.95rem;
    height: 1.95rem;
  }

  .service-card {
    padding: 1.05rem 0.95rem;
  }

  .service-card__title {
    max-width: 22ch;
    font-size: 1.03rem;
  }

  .services__grid-note {
    margin-top: 0.82rem;
    font-size: 0.76rem;
    max-width: none;
    line-height: 1.58;
  }

  .services__mobile-status {
    font-size: 0.66rem;
    letter-spacing: 0.13em;
  }

  :root { --section-pad: 3.5rem 1rem; }

  .hero__title { font-size: clamp(1.85rem, 7vw, 2.65rem); }
  .hero__text-block::before {
    inset: -0.25rem -0.75rem -0.35rem -0.75rem;
  }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .about__stats { grid-template-columns: 1fr; }
  .about__image-badge { position: static; margin-top: 1.5rem; display: inline-block; }
  .about__image-badge--story {
    position: static;
    margin-top: 1.25rem;
    margin-left: 0;
    display: inline-block;
    align-self: flex-start;
  }

  .about__trust {
    grid-template-columns: 1fr;
  }

  .about__cta-btns {
    flex-direction: column;
  }

  .about__cta-btns .btn {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
  }

  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio-item:nth-child(n) {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .footer {
    padding-top: 2rem;
    padding-bottom: 0.95rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__brand-logo-img {
    width: min(198px, 100%);
  }

  .footer__socials {
    gap: 0.45rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.55rem;
  }

  .footer__legal {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .subpage-hero { min-height: 36vh; padding: calc(var(--header-height) + 2rem) 1.5rem 2.5rem; }
  .realizacje-grid { grid-template-columns: 1fr; }
}

/* ---------- Podstrony (O firmie, Usługi, Realizacje, Kontakt) ---------- */
.page-subpage .subpage-main {
  padding-top: 0;
}

.page-services .services-overview.section {
  padding-top: calc(var(--header-height) + clamp(1.5rem, 3vw, 2.3rem));
}

.page-contact .subpage-content.contact {
  padding-top: calc(var(--header-height) + clamp(1.5rem, 3vw, 2.3rem));
}

.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(72% 56% at 80% 12%, rgba(196, 154, 108, 0.16), transparent 72%),
    linear-gradient(180deg, #2c1a0e 0%, #1a1009 56%, #120b07 100%);
  color: var(--clr-beige-light);
}

.page-404__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.page-404__hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4rem) 1.5rem;
}

.page-404__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.35rem, 3.2vw, 2.15rem);
  width: min(100%, 40rem);
  margin-inline: auto;
}

.page-404__logo-link {
  display: block;
  line-height: 0;
  text-decoration: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.page-404__logo-link:hover {
  opacity: 0.92;
}

.page-404__logo-link:focus-visible {
  outline: 2px solid rgba(196, 154, 108, 0.65);
  outline-offset: 6px;
  border-radius: 4px;
}

.page-404__logo-mark {
  width: min(100%, clamp(12.5rem, 38vw, 28rem));
  height: auto;
  display: block;
  margin-inline: auto;
}

.page-404__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4.8vw, 2.95rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.03em;
  color: var(--clr-beige-light);
  text-wrap: balance;
}

.page-404__actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.page-404__footer {
  margin-top: auto;
  flex-shrink: 0;
}

.subpage-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-height) + 2.5rem) 1.5rem 3rem;
  background: linear-gradient(165deg, var(--clr-brown-dark) 0%, #1a0f08 50%, var(--clr-brown-mid) 100%);
  color: var(--clr-beige-light);
  overflow: hidden;
}

.subpage-hero--image {
  background-size: cover;
  background-position: center;
}

.subpage-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 10, 7, 0.92) 0%, rgba(44, 26, 14, 0.55) 100%);
  z-index: 0;
}

.subpage-hero .container {
  position: relative;
  z-index: 1;
}

.subpage-breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  color: rgba(245, 237, 224, 0.75);
}

.subpage-breadcrumb a {
  color: var(--clr-beige-mid);
  text-decoration: none;
}

.subpage-breadcrumb a:hover {
  color: var(--clr-accent-warm);
}

.subpage-breadcrumb__sep {
  margin: 0 0.5rem;
  opacity: 0.5;
}

.subpage-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--clr-beige-light);
}

.subpage-hero__lead {
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 42rem;
  margin: 0;
  color: rgba(245, 237, 224, 0.9);
}

.subpage-content {
  padding: var(--section-pad);
}

.subpage-content--narrow .container {
  max-width: 800px;
}

.subpage-section {
  margin-bottom: 3.5rem;
}

.subpage-section:last-child {
  margin-bottom: 0;
}

.subpage-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1rem;
  color: var(--clr-text-primary);
}

.subpage-section .t-body {
  margin-bottom: 1rem;
}

.header__link--active {
  color: var(--clr-accent-warm) !important;
  font-weight: 600;
}

.realizacje-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.realizacje-grid__link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.realizacje-grid__link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.realizacje-grid__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.realizacje-grid__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.realizacje-grid__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.realizacje-grid__cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-text-muted);
  margin: 0 0 0.35rem;
}

.realizacje-grid__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0;
  color: var(--clr-text-primary);
}

.team-placeholder {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.team-placeholder__card {
  border: 2px dashed rgba(122, 99, 80, 0.35);
  border-radius: var(--radius-md);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form-placeholder {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(44, 26, 14, 0.06);
  border: 1px solid rgba(44, 26, 14, 0.1);
  text-align: center;
}

.contact-form-placeholder p {
  margin: 0;
  color: var(--clr-text-muted);
}

.company-data {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
  line-height: 1.8;
}

.company-data dt {
  font-weight: 600;
  color: var(--clr-text-muted);
  margin-top: 0.75rem;
}

.company-data dt:first-child {
  margin-top: 0;
}

.company-data dd {
  margin: 0.15rem 0 0;
  color: var(--clr-text-body);
}

/* ---------- Podstrona Usługi — premium UX ---------- */
.subpage-hero--services {
  min-height: 46vh;
  padding: calc(var(--header-height) + 3.25rem) 1.5rem 3.75rem;
}

.subpage-hero--services .subpage-hero__inner {
  max-width: 48rem;
}

.subpage-breadcrumb--soft {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
  color: rgba(245, 237, 224, 0.55);
}

.subpage-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-beige-dark);
  margin: 0 0 0.75rem;
}

.subpage-hero--services .subpage-hero__title {
  margin-bottom: 1.35rem;
}

.subpage-hero--services .subpage-hero__lead {
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 40rem;
}

.page-services .section {
  padding-top: clamp(3.5rem, 8vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 5.5rem);
}

/* Podstrona Usługi — ciemny motyw (jak .services + ciąg w stronę why-premium na SG) */
body.page-services {
  background: #0f0a06;
}

.page-services .subpage-main {
  background: #0f0a06;
  color: rgba(245, 237, 224, 0.92);
}

.page-services .page-services-overview {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(100% 80% at 84% 18%, rgba(196, 154, 108, 0.09), transparent 70%),
    linear-gradient(180deg, #1c1108 0%, #25170d 47%, #1d1209 100%);
  color: rgba(245, 237, 224, 0.92);
  padding-bottom: clamp(4rem, 9vw, 6rem);
  box-shadow: inset 0 -1px 0 rgba(184, 134, 11, 0.14);
}

.page-services .page-services-overview::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(110deg, transparent 0 53%, rgba(245, 237, 224, 0.04) 53.3% 53.5%, transparent 54%),
    linear-gradient(160deg, transparent 0 67%, rgba(245, 237, 224, 0.025) 67.2% 67.35%, transparent 67.6%);
}

.page-services .page-services-overview .container {
  position: relative;
  z-index: 1;
}

.page-services .page-services-overview .section-label {
  color: rgba(212, 175, 108, 0.95);
}

.page-services .page-services-overview .services-overview__title {
  color: rgba(252, 248, 240, 0.98);
}

.page-services .page-services-overview .services-overview__intro {
  color: rgba(210, 195, 175, 0.9);
}

/* —— Podstrona Usługi: nagłówek sekcji + siatka 2×3 na PC —— */
@keyframes uslugi-shimmer {
  0% {
    transform: translateX(-130%) skewX(-14deg);
    opacity: 0.85;
  }
  100% {
    transform: translateX(180%) skewX(-14deg);
    opacity: 0;
  }
}

.page-services-overview .services-overview__header--split {
  max-width: none;
}

.page-services-overview .services-overview__header-main {
  display: block;
}

.page-services-overview .services-overview__intro--accent {
  position: relative;
  padding-left: 0;
  margin: 0;
  border-left: none;
}

@media (min-width: 768px) {
  .page-services-overview .services-overview__header--split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.5rem 2.5rem;
    align-items: end;
    margin-bottom: clamp(2rem, 4vw, 2.85rem);
  }

  .page-services-overview .services-overview__intro--accent {
    padding: 0.35rem 0 0.35rem 1.35rem;
    border-left: 3px solid rgba(184, 134, 11, 0.45);
    box-shadow: inset 8px 0 24px -20px rgba(196, 154, 108, 0.35);
  }
}

.page-services .page-services-process {
  position: relative;
  background: linear-gradient(
    180deg,
    #1d1209 0%,
    #130f0a 16%,
    #0e0a06 44%,
    #0a0705 100%
  );
  color: rgba(245, 237, 224, 0.92);
  padding-top: clamp(3rem, 7vw, 4.75rem);
}

.page-services .page-services-process .section-label {
  color: rgba(212, 175, 108, 0.95);
}

.page-services .page-services-process .t-h2,
.page-services .page-services-process #process-heading {
  color: rgba(252, 248, 240, 0.98);
}

.page-services .page-services-process .services-process__steps::before {
  background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.28), transparent);
}

.page-services .page-services-process .services-process__icon {
  background: linear-gradient(155deg, rgba(255, 252, 247, 0.09) 0%, rgba(255, 252, 247, 0.03) 100%);
  border-color: rgba(184, 134, 11, 0.38);
  color: rgba(232, 200, 120, 0.98);
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 252, 247, 0.07);
}

.page-services .page-services-process .services-process__title {
  color: rgba(252, 248, 240, 0.96);
}

.page-services .page-services-process .services-process__text {
  color: rgba(200, 182, 160, 0.88);
}

.page-services .page-services-process .services-process__footnote {
  color: rgba(185, 168, 148, 0.82);
}

.page-services .page-services-process .services-process__step {
  transition: transform 0.45s var(--ease-smooth);
}

.page-services .page-services-process .services-process__step:hover {
  transform: translateY(-5px);
}

.page-services .page-services-process .services-process__icon {
  transition:
    transform 0.5s var(--ease-smooth),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.page-services .page-services-process .services-process__step:hover .services-process__icon {
  transform: scale(1.06);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(184, 134, 11, 0.35);
}

/* Usługi — scalona sekcja Współpraca + CTA: jedno tło, mniej rozstrzelenia */
.page-services .page-services-process.page-services-path {
  background:
    radial-gradient(88% 44% at 50% 0%, rgba(196, 154, 108, 0.16), transparent 52%),
    linear-gradient(180deg, #1a1009 0%, #15100b 38%, #100b07 72%, #0c0805 100%);
  box-shadow:
    inset 0 1px 0 rgba(184, 134, 11, 0.11),
    inset 0 -1px 0 rgba(0, 0, 0, 0.32);
}

.page-services-path .services-path__header.services-process__header {
  max-width: 48rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.35rem);
}

.page-services-path .services-path__intro {
  margin: 0.5rem auto 0;
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(200, 182, 160, 0.9);
  text-wrap: balance;
}

.page-services-path .services-path__steps {
  max-width: min(52rem, 100%);
  margin-inline: auto;
}

.page-services-path .services-path__cta {
  max-width: min(38rem, 100%);
  margin: clamp(2rem, 5vw, 2.85rem) auto 0;
  padding: clamp(1.65rem, 4vw, 2.35rem) clamp(1.35rem, 4vw, 2rem);
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(184, 134, 11, 0.32);
  background:
    linear-gradient(165deg, rgba(255, 252, 247, 0.07) 0%, rgba(255, 252, 247, 0.025) 48%, rgba(18, 12, 8, 0.35) 100%);
  box-shadow:
    0 1px 0 rgba(255, 252, 247, 0.06) inset,
    0 20px 48px rgba(0, 0, 0, 0.35);
}

.page-services-path .services-path__cta-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  line-height: 1.2;
  color: rgba(252, 248, 240, 0.98);
}

.page-services-path .services-path__cta-lead {
  margin: 0 0 1.35rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(210, 195, 175, 0.9);
  text-wrap: balance;
}

.page-services-path .services-final-cta__actions {
  justify-content: center;
}

.page-services-path .btn--outline-dark {
  border-color: rgba(245, 237, 224, 0.45);
  color: var(--clr-beige-light);
}

.page-services-path .btn--outline-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--clr-beige-light);
  color: var(--clr-white);
}

.page-services .page-services-process.page-services-path .services-process__icon {
  width: 5rem;
  height: 5rem;
  margin-bottom: 1.15rem;
}

.page-services .page-services-process.page-services-path .services-process__text {
  max-width: 17rem;
}

.page-services .service-card-overview {
  background: rgba(18, 12, 8, 0.55);
  border: 1px solid rgba(184, 134, 11, 0.24);
  box-shadow:
    0 1px 0 rgba(255, 252, 247, 0.04) inset,
    0 12px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: inherit;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .page-services .service-card-overview {
    background: rgba(22, 15, 10, 0.92);
  }
}

.page-services .service-card-overview:hover {
  transform: translateY(-5px);
  background: rgba(28, 18, 12, 0.78);
  border-color: rgba(212, 175, 108, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 252, 247, 0.06) inset,
    0 0 0 1px rgba(184, 134, 11, 0.22),
    0 18px 44px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(184, 134, 11, 0.08);
}

.page-services .service-card-overview__num {
  color: rgba(212, 175, 108, 0.55);
}

.page-services .service-card-overview__name {
  color: rgba(252, 248, 240, 0.96);
}

.page-services .service-card-overview__desc {
  color: rgba(200, 182, 160, 0.88);
}

.page-services .services-final-cta {
  margin-top: 0;
}

.services-overview__header {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.services-overview__title {
  margin: 0.5rem 0 1rem;
}

.services-overview__intro {
  margin: 0;
}

.page-services-overview .services-overview__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(14rem, 36%);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: stretch;
}

.page-services-overview .services-overview__tiles {
  min-width: 0;
}

/* Mobile / tablet: jedna kolumna kafelków */
.page-services-overview .services-overview__tiles .services-overview__grid {
  grid-template-columns: 1fr;
  gap: 0.78rem;
  max-width: none;
}

/* PC: dwa rzędy po 3 kafelki — ścisły, profesjonalny układ; wysokość rzędów dopasowana do kolumny z galerią */
@media (min-width: 1021px) {
  .page-services-overview .services-overview__tiles {
    display: flex;
    flex-direction: column;
    min-height: 0;
    align-self: stretch;
  }

  .page-services-overview .services-overview__tiles .services-overview__grid {
    flex: 1;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 0.72rem 0.85rem;
    align-items: stretch;
  }

  .page-services-overview .services-overview__item {
    min-height: 0;
  }

  .page-services-overview .services__showcase.services__showcase--page-sub {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 0;
    height: auto;
  }

  .page-services-overview .services__showcase--page-sub .services__showcase-title {
    margin: 0 0 0.65rem;
    flex-shrink: 0;
  }

  .page-services-overview .services__showcase--page-sub .services__showcase-media {
    flex: 1 1 auto;
    min-height: 11rem;
    margin-top: 0;
    aspect-ratio: unset;
  }

  .page-services .page-services-overview .service-card-overview {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 2px);
    padding: 1rem 1.05rem 1.1rem;
    min-height: 0;
    height: 100%;
    transition:
      transform 0.42s var(--ease-smooth),
      box-shadow 0.42s var(--ease-smooth),
      border-color 0.42s var(--ease-smooth),
      background 0.42s var(--ease-smooth);
  }

  .page-services .page-services-overview .service-card-overview::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
      135deg,
      rgba(184, 134, 11, 0.35),
      transparent 42%,
      transparent 58%,
      rgba(196, 154, 108, 0.22)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.45s var(--ease-smooth);
  }

  .page-services .page-services-overview .service-card-overview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      105deg,
      transparent 35%,
      rgba(255, 252, 247, 0.1) 50%,
      transparent 65%
    );
    transform: translateX(-120%) skewX(-14deg);
    pointer-events: none;
    opacity: 0;
  }

  .page-services .page-services-overview .service-card-overview > * {
    position: relative;
    z-index: 1;
  }

  .page-services .page-services-overview .service-card-overview:hover::before {
    opacity: 0.95;
  }

  .page-services .page-services-overview .service-card-overview:hover::after {
    opacity: 1;
    animation: uslugi-shimmer 0.78s ease-out forwards;
  }

  .page-services .page-services-overview .service-card-overview__num {
    font-size: 1.45rem;
    margin-bottom: 0.35rem;
    letter-spacing: 0.02em;
  }

  .page-services .page-services-overview .service-card-overview__icon {
    margin-bottom: 0.45rem;
    transition: transform 0.45s var(--ease-smooth), color 0.35s ease;
  }

  .page-services .page-services-overview .service-card-overview__icon svg {
    width: 22px;
    height: 22px;
  }

  .page-services .page-services-overview .service-card-overview:hover .service-card-overview__icon {
    transform: scale(1.08) translateY(-1px);
    color: rgba(232, 200, 120, 1);
  }

  .page-services .page-services-overview .service-card-overview__name {
    font-size: 1.05rem;
    margin-bottom: 0.38rem;
    line-height: 1.22;
  }

  .page-services .page-services-overview .service-card-overview__desc {
    font-size: 0.8rem;
    line-height: 1.48;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.page-services-overview .services__showcase.services__showcase--page-sub {
  position: sticky;
  top: 1.25rem;
  margin: 0;
  transition:
    box-shadow 0.5s var(--ease-smooth),
    transform 0.5s var(--ease-smooth),
    border-color 0.45s ease;
}

.page-services-overview .services__showcase--page-sub:hover {
  box-shadow:
    0 28px 48px -32px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(196, 154, 108, 0.2);
  transform: translateY(-2px);
}

.page-services-overview .services__showcase--page-sub .services__showcase-media {
  transition: box-shadow 0.45s var(--ease-smooth);
}

.page-services-overview .services__showcase--page-sub:hover .services__showcase-media {
  box-shadow: inset 0 0 0 1px rgba(245, 237, 224, 0.12);
}

@media (max-width: 1020px) {
  .page-services-overview .services-overview__header--split {
    display: block;
    margin-bottom: clamp(2rem, 5vw, 3rem);
  }

  .page-services-overview .services-overview__intro--accent {
    margin-top: 1rem;
    padding-left: 0;
    border-left: none;
    box-shadow: none;
  }

  .page-services-overview .services-overview__layout {
    grid-template-columns: 1fr;
  }

  .page-services-overview .services__showcase.services__showcase--page-sub {
    position: relative;
    top: auto;
    max-width: min(28rem, 100%);
    margin: clamp(1.75rem, 4vw, 2.75rem) auto 0 0;
  }

  .page-services-overview .services-overview__tiles .services-overview__grid {
    gap: 1rem;
  }
}

/* Usługi — mobile: „Z realizacji” pod kafelkami; zdjęcie na pełną szerokość viewportu */
@media (max-width: 900px) {
  .page-services .page-services-overview {
    overflow-x: clip;
  }

  .page-services-overview .services__showcase.services__showcase--page-sub {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: clamp(2rem, 5vw, 3rem);
    padding: clamp(0.75rem, 2vw, 1rem) 0 clamp(1.1rem, 3vw, 1.5rem);
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .page-services-overview .services__showcase--page-sub .services__showcase-title {
    padding: 0 1.5rem;
    margin-top: 0;
    margin-bottom: 0.65rem;
  }

  .page-services-overview .services__showcase--page-sub .services__showcase-media {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: none;
    margin-top: 0.35rem;
    border-radius: 0;
    aspect-ratio: 4 / 5;
    min-height: min(48vh, 26rem);
    box-shadow: inset 0 0 0 1px rgba(245, 237, 224, 0.08);
  }

  .page-services-overview .services__showcase--page-sub .services__showcase-layer {
    transition: opacity 0.72s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .page-services-overview .services__showcase--page-sub .services__showcase-arrow--prev {
    left: max(0.75rem, env(safe-area-inset-left, 0px));
  }

  .page-services-overview .services__showcase--page-sub .services__showcase-arrow--next {
    right: max(0.75rem, env(safe-area-inset-right, 0px));
  }

  .page-services-overview .services__showcase--page-sub .services__showcase-counter {
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
  }
}

.services-overview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-overview__item {
  margin: 0;
  padding: 0;
  display: flex;
}

.services-overview__item .service-card-overview {
  flex: 1;
  min-height: 100%;
}

.service-card-overview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding: 1.65rem 1.5rem 1.75rem;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(44, 26, 14, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.38s var(--ease-smooth),
    box-shadow 0.38s var(--ease-smooth),
    border-color 0.38s var(--ease-smooth),
    background 0.38s var(--ease-smooth);
}

.service-card-overview:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 134, 11, 0.35);
  background: var(--clr-white);
}

.service-card-overview:focus-visible {
  outline: 2px solid var(--clr-accent-gold);
  outline-offset: 3px;
}

.service-card-overview__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(184, 134, 11, 0.45);
  margin-bottom: 0.85rem;
}

.service-card-overview__icon {
  color: var(--clr-accent-gold);
  margin-bottom: 1rem;
  display: flex;
}

.service-card-overview__name {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--clr-text-primary);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.service-card-overview__desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--clr-text-muted);
}

/* Proces */
.services-process__header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.services-process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.services-process__steps::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(44, 26, 14, 0.12), transparent);
  pointer-events: none;
}

.services-process__step {
  position: relative;
  padding: 0 1.25rem 1.5rem;
  text-align: center;
}

.services-process__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--clr-white);
  color: var(--clr-accent-gold);
  border: 1px solid rgba(44, 26, 14, 0.08);
  box-shadow: var(--shadow-sm);
}

.services-process__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--clr-text-primary);
}

.services-process__text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--clr-text-muted);
  margin: 0;
  max-width: 16rem;
  margin-left: auto;
  margin-right: auto;
}

.services-process__footnote {
  text-align: center;
  max-width: 40rem;
  margin: 2.5rem auto 0;
  color: var(--clr-text-muted);
}

/* Współpraca — blok osadzony w „Dlaczego my” (strona główna) */
.why-premium .services-process__header {
  text-align: left;
  margin: 0 0 1.5rem;
  max-width: none;
}

.why-premium .services-process__steps {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.why-premium .services-process__steps::before {
  display: none;
}

.why-premium .services-process__step {
  text-align: left;
  padding: 0;
}

.why-premium a.services-process__step--link {
  padding: 0.4rem 0.15rem 0.5rem;
  margin: -0.15rem 0;
  border-radius: var(--radius-md);
}

.why-premium .services-process__icon {
  margin-left: 0;
  margin-right: 0;
}

.why-premium .services-process__text {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.why-premium .services-process__footnote {
  text-align: left;
  margin: 1.75rem 0 0;
  max-width: none;
}

/* Współpraca — ciemny panel (tylko strona główna; uslugi.html bez tego wrappera) */
.why-premium__process-panel {
  position: relative;
  z-index: 2;
  margin-top: clamp(0.35rem, 1.2vw, 0.65rem);
  border-radius: clamp(1.05rem, 1.9vw, 1.4rem);
  padding: clamp(1.45rem, 3.2vw, 2.2rem) clamp(1.25rem, 2.8vw, 1.95rem);
  border: 1px solid rgba(184, 134, 11, 0.32);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 28px 64px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 252, 247, 0.07);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(196, 154, 108, 0.16), transparent 52%),
    radial-gradient(80% 55% at 92% 88%, rgba(184, 134, 11, 0.1), transparent 45%),
    linear-gradient(165deg, #14100a 0%, #1f140c 44%, #17100a 100%);
  overflow: hidden;
}

.why-premium__process-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0 48%, rgba(245, 237, 224, 0.035) 49.5%, transparent 51%),
    linear-gradient(12deg, transparent 62%, rgba(245, 237, 224, 0.025) 64%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.why-premium__process-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.4);
}

.why-premium__process-panel .why-premium__services-process {
  position: relative;
  z-index: 1;
}

.why-premium__process-panel .section-label {
  color: rgba(212, 175, 108, 0.92);
}

.why-premium__process-panel .services-process__header .t-h2,
.why-premium__process-panel #process-heading {
  color: rgba(250, 242, 228, 0.98);
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(184, 134, 11, 0.08);
}

.why-premium__process-panel .services-process__title {
  color: rgba(252, 248, 240, 0.96);
}

.why-premium__process-panel .services-process__text {
  color: rgba(232, 220, 202, 0.88);
}

.why-premium__process-panel .services-process__footnote {
  color: rgba(220, 206, 186, 0.82);
  border-top: 1px solid rgba(255, 252, 247, 0.08);
  padding-top: 1.25rem;
  margin-top: 1.5rem;
}

.why-premium__process-panel .services-process__icon {
  background: linear-gradient(155deg, rgba(255, 252, 247, 0.09) 0%, rgba(255, 252, 247, 0.03) 100%);
  border-color: rgba(184, 134, 11, 0.42);
  color: rgba(232, 200, 120, 0.98);
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 252, 247, 0.08);
  transition:
    border-color 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.why-premium__process-panel .services-process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  border-left: 2px solid rgba(184, 134, 11, 0.22);
  padding-left: clamp(1.1rem, 2.5vw, 1.45rem);
  margin-left: 0.35rem;
}

.why-premium__process-panel .services-process__steps > li {
  position: relative;
}

.why-premium__process-panel .services-process__steps > li::before {
  content: '';
  position: absolute;
  left: -1.52rem;
  top: 2rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(236, 205, 140, 0.98), rgba(168, 124, 36, 0.95));
  box-shadow:
    0 0 0 3px rgba(20, 14, 10, 0.98),
    0 0 18px rgba(184, 134, 11, 0.35);
}

.why-premium__process-panel a.services-process__step--link:hover .services-process__icon {
  border-color: rgba(212, 175, 108, 0.55);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.38),
    0 0 32px rgba(184, 134, 11, 0.15);
  transform: translateY(-2px);
}

a.services-process__step--link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-md);
  transition:
    background var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

a.services-process__step--link:hover {
  background: rgba(44, 26, 14, 0.04);
}

a.services-process__step--link:focus-visible {
  outline: 2px solid var(--clr-accent-gold);
  outline-offset: 3px;
}

.why-premium__process-panel a.services-process__step--link:hover {
  background: rgba(255, 252, 247, 0.07);
  box-shadow: none;
}

.why-premium__process-panel a.services-process__step--link:focus-visible {
  outline-color: rgba(218, 165, 32, 0.95);
  outline-offset: 2px;
}

@media (max-width: 900px) and (min-width: 640px) {
  .why-premium .services-process__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 0.75rem;
  }

  .why-premium .services-process__step {
    text-align: center;
    padding: 0 0.25rem;
  }

  .why-premium .services-process__icon {
    margin-left: auto;
    margin-right: auto;
  }

  .why-premium .services-process__text {
    margin-left: auto;
    margin-right: auto;
    max-width: 14rem;
  }

  /* W ciemnym panelu zostaw jedną kolumnę (czytelność na tablecie) */
  .why-premium__process-panel .services-process__steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .why-premium__process-panel .services-process__step {
    text-align: left;
    padding: 0;
  }

  .why-premium__process-panel .services-process__icon {
    margin-left: 0;
    margin-right: 0;
  }

  .why-premium__process-panel .services-process__text {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }
}

/* CTA końcowe */
.services-final-cta {
  background: linear-gradient(165deg, var(--clr-brown-dark) 0%, #1a0f08 55%, var(--clr-brown-mid) 100%);
  color: var(--clr-beige-light);
  padding: clamp(3.5rem, 8vw, 5rem) 1.5rem;
}

.services-final-cta__inner {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.services-final-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 500;
  margin: 0 0 1rem;
  color: var(--clr-beige-light);
}

.services-final-cta__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(245, 237, 224, 0.88);
  margin: 0 0 2rem;
}

.services-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.services-final-cta .btn--outline-dark {
  border-color: rgba(245, 237, 224, 0.45);
  color: var(--clr-beige-light);
}

.services-final-cta .btn--outline-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--clr-beige-light);
  color: var(--clr-white);
}

/* Podstrony usług — układ premium: zdjęcia, ciemne pasy, mniej „pustego” UI */
.page-service-detail .section--cream {
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(196, 154, 108, 0.14), transparent 52%),
    radial-gradient(circle at 12% 88%, rgba(44, 26, 14, 0.06), transparent 45%),
    linear-gradient(178deg, #f3ebe0 0%, #ebe2d4 38%, #e8dfd2 100%);
}

.service-detail-page {
  padding-block: clamp(3.2rem, 6.5vw, 5.5rem);
  overflow-x: clip;
}

/* Dynamiczna usługa (usluga.html?slug=) — brak slug / błąd API / wersja robocza */
.dynamic-service-page__gate {
  min-height: 38vh;
  display: flex;
  align-items: center;
  background: #0f0a06;
  color: rgba(245, 237, 224, 0.9);
}

.dynamic-service-page__gate--error {
  background: linear-gradient(180deg, #1a1009 0%, #0f0a06 100%);
}

.dynamic-service-page__gate h1,
.dynamic-service-page__gate .t-h2 {
  color: rgba(252, 248, 240, 0.98);
}

.dynamic-service-page__gate a {
  color: rgba(212, 175, 108, 0.95);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.service-detail__draft-banner {
  margin: 0 0 clamp(1.5rem, 3vw, 2.1rem);
  padding: 1rem 1.2rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(184, 134, 11, 0.32);
  background: linear-gradient(120deg, rgba(255, 250, 240, 0.75), rgba(255, 252, 247, 0.5));
  box-shadow: 0 8px 24px -16px rgba(44, 26, 14, 0.25);
}

.service-detail__draft-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(120, 80, 20, 0.88);
}

.service-detail__draft-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--clr-text-body);
}

.service-detail {
  display: grid;
  gap: clamp(1.85rem, 4vw, 3.1rem);
}

@media (prefers-reduced-motion: reduce) {
  .service-detail-gallery__layer {
    transition: none !important;
  }

  .service-detail__audience-card:hover {
    transform: none;
  }
}

.service-detail__hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 0;
  background:
    linear-gradient(150deg, rgba(10, 8, 6, 0.77), rgba(44, 26, 14, 0.58) 48%, rgba(24, 16, 10, 0.72)),
    var(--service-hero, linear-gradient(160deg, #2d1a0f, #1f1208));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.service-detail__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(175deg, rgba(196, 154, 108, 0.13), transparent 34%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 55%);
}

.service-detail__hero::after {
  content: '';
  position: absolute;
  inset: 1.1rem;
  border-radius: calc(var(--radius-lg) - 0.5rem);
  border: 1px solid rgba(245, 237, 224, 0.24);
  pointer-events: none;
}

.service-detail__hero-content {
  position: relative;
  z-index: 1;
  max-width: min(54rem, 88%);
  padding: clamp(1.35rem, 3.2vw, 2.35rem);
  color: var(--clr-beige-light);
}

.service-detail__hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.service-detail__hero-line {
  width: clamp(4rem, 9vw, 8rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 237, 224, 0.86), rgba(245, 237, 224, 0.16));
}

.service-detail__hero h1 {
  margin: 0.65rem 0 0.95rem;
  color: var(--clr-beige-light);
  font-size: clamp(2.1rem, 5vw, 3.9rem);
}

.service-detail__hero .t-lead {
  max-width: 44rem;
  color: rgba(245, 237, 224, 0.94);
  line-height: 1.78;
  margin: 0;
}

.service-detail__hero-actions {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Drugi przycisk w hero: czytelny na ciemnym zdjęciu (outline-dark jest dla jasnego tła) */
.service-detail__hero-actions .btn--outline-dark {
  background: rgba(255, 252, 247, 0.1);
  border-color: rgba(245, 237, 224, 0.55);
  color: rgba(252, 248, 240, 0.97);
  box-shadow: 0 1px 0 rgba(255, 252, 247, 0.06) inset;
}

.service-detail__hero-actions .btn--outline-dark:hover {
  background: rgba(255, 252, 247, 0.18);
  border-color: rgba(245, 237, 224, 0.82);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-detail__hero-actions .btn--outline-dark:focus-visible {
  outline: 2px solid rgba(245, 237, 224, 0.95);
  outline-offset: 3px;
}

.service-detail__section-index {
  margin: 0 0 0.55rem;
  color: rgba(44, 26, 14, 0.38);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.service-detail__intro-grid {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
  align-items: stretch;
  padding: clamp(1.35rem, 2.8vw, 2rem) clamp(1.25rem, 2.5vw, 1.85rem);
  background:
    radial-gradient(ellipse 120% 80% at 0% 0%, rgba(196, 154, 108, 0.1), transparent 52%),
    radial-gradient(ellipse 90% 70% at 100% 100%, rgba(44, 26, 14, 0.04), transparent 48%),
    linear-gradient(168deg, rgba(255, 255, 255, 0.92) 0%, rgba(252, 248, 242, 0.88) 100%);
  border: 1px solid rgba(44, 26, 14, 0.09);
  border-radius: clamp(0.88rem, 1.5vw, 1.12rem);
  box-shadow:
    0 1px 0 rgba(255, 252, 247, 0.85) inset,
    0 18px 46px rgba(44, 26, 14, 0.07);
}

.service-detail__intro-col {
  padding: clamp(0.35rem, 1vw, 0.55rem) clamp(1rem, 2.2vw, 1.65rem) clamp(0.35rem, 1vw, 0.55rem) 0;
  border-right: 1px solid rgba(44, 26, 14, 0.08);
}

.service-detail__scope-col {
  padding: clamp(0.35rem, 1vw, 0.55rem) 0 clamp(0.35rem, 1vw, 0.55rem) clamp(1rem, 2.2vw, 1.65rem);
}

/* Układ: galeria + zakres obok siebie (desktop), pod hero — mobile w jednej kolumnie */
.service-detail__gallery-scope {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.65rem);
  align-items: start;
}

@media (min-width: 901px) {
  .service-detail__gallery-scope {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.42fr);
    gap: clamp(1.15rem, 2.8vw, 2rem);
  }

  .service-detail__gallery-scope .service-detail__section--gallery {
    margin: 0;
  }
}

.service-detail__scope-panel {
  padding: clamp(1rem, 2.2vw, 1.35rem) clamp(1.05rem, 2.2vw, 1.45rem);
  background:
    radial-gradient(ellipse 120% 80% at 0% 0%, rgba(196, 154, 108, 0.1), transparent 52%),
    linear-gradient(168deg, rgba(255, 255, 255, 0.92) 0%, rgba(252, 248, 242, 0.88) 100%);
  border: 1px solid rgba(44, 26, 14, 0.09);
  border-radius: clamp(0.88rem, 1.5vw, 1.12rem);
  box-shadow:
    0 1px 0 rgba(255, 252, 247, 0.85) inset,
    0 18px 46px rgba(44, 26, 14, 0.07);
}

.service-detail__scope-panel .service-detail__intro-kicker {
  margin-bottom: 0.65rem;
}

.service-detail__intro-panel {
  margin-top: clamp(1.35rem, 3vw, 2rem);
}

.service-detail__intro-panel .service-detail__intro-grid {
  grid-template-columns: 1fr;
}

.service-detail__intro-panel .service-detail__intro-col {
  border-right: none;
  padding: clamp(0.35rem, 1vw, 0.55rem) clamp(1rem, 2.2vw, 1.65rem);
}

.service-detail__intro-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(72, 48, 28, 0.55);
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-detail__intro-kicker::after {
  content: '';
  width: 2.25rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(196, 154, 108, 0.95), rgba(196, 154, 108, 0.15));
}

.service-detail__intro-lead {
  margin: 0;
  line-height: 1.78;
  font-size: clamp(0.96rem, 1.12vw, 1.04rem);
  color: var(--clr-text-secondary);
}

.service-detail__intro-pull {
  margin: 1.15rem 0 0;
  padding: 1.05rem 0 0 0.85rem;
  border-top: 1px solid rgba(44, 26, 14, 0.09);
  border-left: 3px solid rgba(196, 154, 108, 0.55);
  border-radius: 0 0 0 2px;
  max-width: 40rem;
  line-height: 1.72;
  color: var(--clr-text-muted);
}

.service-detail__value-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-block: clamp(2.4rem, 5vw, 3.75rem);
  margin-block: clamp(1.5rem, 3.5vw, 2.5rem);
  color: rgba(245, 237, 224, 0.94);
  background:
    radial-gradient(ellipse 85% 60% at 12% 0%, rgba(196, 154, 108, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(120, 78, 36, 0.12), transparent 50%),
    linear-gradient(168deg, #1b130e 0%, #120d09 44%, #0e0a07 100%);
  border-block: 1px solid rgba(255, 252, 247, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 252, 247, 0.04);
}

.service-detail__value-head {
  margin-bottom: clamp(1.25rem, 2.8vw, 1.85rem);
}

.service-detail__value-label {
  color: rgba(212, 175, 108, 0.78);
}

.service-detail__value-heading {
  margin: 0.35rem 0 0;
  color: rgba(252, 248, 240, 0.98);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.02em;
}

.service-detail__value-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.35rem, 3.5vw, 2.65rem);
  align-items: center;
}

.service-detail__value-photo {
  margin: 0;
  border-radius: clamp(0.75rem, 1.3vw, 1rem);
  overflow: hidden;
  border: 1px solid rgba(255, 252, 247, 0.1);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
  aspect-ratio: 4 / 3;
  background: rgba(0, 0, 0, 0.35);
}

.service-detail__value-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-detail__value-grid--points-only {
  grid-template-columns: 1fr;
  max-width: min(46rem, 100%);
  margin-inline: auto;
}

.service-detail__value-bleed--footer {
  margin-block-start: clamp(1.25rem, 3vw, 2rem);
}

.service-detail__realizacje-bleed {
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.service-detail__realizacje-bleed--empty {
  display: none;
}

.service-detail__realizacje-head {
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
}

.service-detail__realizacje-title {
  margin: 0;
  color: rgba(252, 248, 240, 0.98);
  letter-spacing: -0.02em;
}

.service-detail__realizacje-photo-root {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.service-detail__realizacje-photo-root .service-detail__value-photo--fullbleed {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: clamp(0.35rem, 1vw, 0.65rem);
  border-left: none;
  border-right: none;
  aspect-ratio: 21 / 9;
  min-height: clamp(12rem, 28vw, 18rem);
}

.service-detail__realizacje-photo-root .service-detail__value-photo--fullbleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 600px) {
  .service-detail__realizacje-photo-root .service-detail__value-photo--fullbleed {
    border-radius: 0;
    aspect-ratio: 4 / 3;
    min-height: 12rem;
  }
}

.service-detail__value-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
}

.service-detail__value-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
}

.service-detail__value-num {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1;
  color: rgba(212, 175, 108, 0.92);
}

.service-detail__value-point-title {
  margin: 0 0 0.35rem;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 600;
  color: rgba(252, 248, 240, 0.98);
  line-height: 1.25;
}

.service-detail__value-point-text {
  margin: 0;
  font-size: clamp(0.86rem, 1.05vw, 0.94rem);
  line-height: 1.55;
  color: rgba(228, 216, 196, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-detail__scope-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.service-detail__scope-list--lines {
  gap: 0.85rem;
}

.service-detail__scope-list--soft,
.service-detail__scope-list--soft > li {
  list-style: none;
}

.service-detail__scope-list--soft {
  gap: 0;
}

.service-detail__scope-list--soft > li,
.service-detail__scope-item--soft {
  position: relative;
  color: var(--clr-text-secondary);
  line-height: 1.68;
  padding: 0.62rem 0 0.62rem 1.55rem;
  border-bottom: 1px solid rgba(44, 26, 14, 0.07);
  min-height: 2.75rem;
}

.service-detail__scope-list--soft > li::before {
  content: '';
  position: absolute;
  left: 0.28rem;
  top: 1.05rem;
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(196, 154, 108, 0.96), rgba(140, 98, 48, 0.88));
  box-shadow: 0 0 0 1px rgba(196, 154, 108, 0.28);
}

.service-detail__scope-list--soft > li:last-child {
  border-bottom: none;
  padding-bottom: 0.15rem;
}

.service-detail__scope-item {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--clr-text-secondary);
  line-height: 1.68;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(44, 26, 14, 0.08);
}

.service-detail__scope-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.service-detail__scope-marker {
  flex-shrink: 0;
  width: 0.42rem;
  height: 0.42rem;
  margin-top: 0.52em;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(196, 154, 108, 0.95), rgba(140, 98, 48, 0.88));
  box-shadow: 0 0 0 1px rgba(196, 154, 108, 0.28);
}

.service-detail__scope-text {
  flex: 1;
  min-width: 0;
}

.service-detail__section {
  border-radius: clamp(0.85rem, 1.4vw, 1.15rem);
  border: 1px solid rgba(44, 26, 14, 0.08);
  box-shadow: 0 18px 42px rgba(44, 26, 14, 0.06);
  padding: clamp(1.45rem, 2.9vw, 2.25rem);
}

.service-detail__section--light {
  background: linear-gradient(178deg, rgba(255, 255, 255, 0.55) 0%, rgba(252, 248, 242, 0.35) 100%);
}

.service-detail__section-head {
  margin-bottom: clamp(1rem, 2.2vw, 1.45rem);
  max-width: 40rem;
}

.service-detail__section-head .t-h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing: -0.02em;
}

.service-detail__section--audience {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 80% at 50% 120%, rgba(44, 26, 14, 0.06), transparent 55%),
    linear-gradient(178deg, #faf7f2 0%, #f0e8dc 55%, #ebe2d4 100%);
  border-color: rgba(44, 26, 14, 0.1);
}

.service-detail__audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

.service-detail__audience-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: clamp(1rem, 2vw, 1.25rem);
  border-radius: clamp(0.7rem, 1.2vw, 0.95rem);
  border: 1px solid rgba(44, 26, 14, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(44, 26, 14, 0.06);
  transition: transform 0.28s var(--ease-smooth), box-shadow 0.28s var(--ease-smooth);
}

.service-detail__audience-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(44, 26, 14, 0.1);
}

.service-detail__audience-card__icon {
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(196, 154, 108, 0.2), rgba(120, 78, 36, 0.12));
  border: 1px solid rgba(196, 154, 108, 0.28);
  color: rgba(72, 48, 28, 0.92);
}

.service-detail__audience-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.service-detail__audience-card__body {
  flex: 1;
  min-width: 0;
}

.service-detail__audience-card__title {
  margin: 0 0 0.35rem;
  font-size: clamp(0.98rem, 1.15vw, 1.06rem);
  font-weight: 600;
  color: var(--clr-brown-dark);
  line-height: 1.25;
}

.service-detail__audience-card__text {
  margin: 0;
  font-size: clamp(0.86rem, 1.02vw, 0.93rem);
  line-height: 1.55;
  color: var(--clr-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-detail__section--gallery {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 248, 242, 0.96));
  border-color: rgba(44, 26, 14, 0.09);
}

.service-detail__section--gallery .service-detail__section-head .t-h3 {
  color: var(--clr-brown-dark);
}

.service-detail-gallery__status {
  margin: 0 0 0.8rem;
  color: var(--clr-text-muted);
  font-size: 0.92rem;
}

.service-detail-gallery__layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto;
  gap: 0.75rem 0.85rem;
  align-items: stretch;
}

.service-detail-gallery__layout.is-gallery-empty .service-detail-gallery__nav {
  opacity: 0.35;
  pointer-events: none;
}

.service-detail-gallery__layout.is-gallery-empty .service-detail-gallery__fade-stack {
  min-height: clamp(10rem, 28vw, 14rem);
  background: rgba(44, 26, 14, 0.06);
}

.service-detail-gallery__layout.is-gallery-empty .service-detail-gallery__zoom {
  opacity: 0.35;
  pointer-events: none;
}

.service-detail-gallery__nav {
  grid-row: 1;
  align-self: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(44, 26, 14, 0.14);
  background: rgba(255, 252, 247, 0.92);
  color: var(--clr-brown-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(44, 26, 14, 0.08);
  transition: border-color 0.2s var(--ease-smooth), background 0.2s var(--ease-smooth), color 0.2s var(--ease-smooth);
  -webkit-tap-highlight-color: transparent;
}

.service-detail-gallery__nav:hover {
  border-color: rgba(196, 154, 108, 0.55);
  background: rgba(255, 255, 255, 1);
  color: rgba(72, 48, 28, 1);
}

.service-detail-gallery__nav--prev {
  grid-column: 1;
}

.service-detail-gallery__main-col {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.service-detail-gallery__nav--next {
  grid-column: 3;
}

.service-detail-gallery__main-wrap {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(44, 26, 14, 0.1);
  background: rgba(44, 26, 14, 0.08);
}

.service-detail-gallery__image-frame {
  position: relative;
  border-radius: inherit;
}

.service-detail-gallery__main-trigger {
  border: none;
  padding: 0;
  display: block;
  width: 100%;
  cursor: zoom-in;
  background: transparent;
}

.service-detail-gallery__fade-stack {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: clamp(15rem, 36vw, 32rem);
  overflow: hidden;
  background: rgba(44, 26, 14, 0.06);
}

.service-detail-gallery__zoom {
  position: absolute;
  right: clamp(0.65rem, 1.8vw, 1rem);
  bottom: clamp(0.65rem, 1.8vw, 1rem);
  z-index: 4;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(245, 237, 224, 0.42);
  background: rgba(21, 13, 8, 0.52);
  color: rgba(245, 237, 224, 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background 0.25s var(--ease-smooth),
    border-color 0.25s var(--ease-smooth),
    transform 0.25s var(--ease-smooth);
  -webkit-tap-highlight-color: transparent;
}

.service-detail-gallery__zoom:hover {
  background: rgba(196, 154, 108, 0.42);
  border-color: rgba(245, 237, 224, 0.62);
  transform: scale(1.04);
}

.service-detail-gallery__zoom:focus-visible {
  outline: 2px solid var(--clr-accent-gold);
  outline-offset: 2px;
}

/* Jedno duże zdjęcie — bez miniaturek i licznika pod podglądem */
.service-detail-gallery__thumbs,
.service-detail-gallery__meta {
  display: none !important;
}

.service-detail-gallery__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.45s var(--ease-smooth);
  pointer-events: none;
}

.service-detail-gallery__layer.is-top {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.service-detail-gallery__main-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.service-detail-gallery__meta {
  margin: 0;
  padding: 0.58rem 0.75rem;
  color: var(--clr-text-muted);
  font-size: 0.89rem;
  border-top: 1px solid rgba(44, 26, 14, 0.1);
}

.service-detail-gallery__thumbs {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.service-detail-gallery__thumb {
  border: 1px solid rgba(44, 26, 14, 0.14);
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0;
  display: block;
  background: var(--clr-white);
  cursor: pointer;
  transition: border-color 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth), transform 0.2s var(--ease-smooth);
}

.service-detail-gallery__thumb img {
  width: 100%;
  height: 5.5rem;
  object-fit: cover;
  display: block;
}

.service-detail-gallery__thumb:hover,
.service-detail-gallery__thumb.is-active {
  border-color: rgba(196, 154, 108, 0.64);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.service-detail-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1250;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease-smooth), visibility 0.22s;
}

.service-detail-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.service-detail-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 4, 0.88);
  backdrop-filter: blur(3px);
}

.service-detail-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(94vw, 1140px);
  height: min(90vh, 770px);
  margin: 4vh auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
}

.service-detail-lightbox__figure {
  margin: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.service-detail-lightbox__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.service-detail-lightbox__close,
.service-detail-lightbox__nav {
  width: 2.8rem;
  height: 2.8rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(245, 237, 224, 0.42);
  background: rgba(245, 237, 224, 0.08);
  color: var(--clr-beige-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s var(--ease-smooth), border-color 0.2s var(--ease-smooth);
}

.service-detail-lightbox__close svg,
.service-detail-lightbox__nav svg {
  width: 1.1rem;
  height: 1.1rem;
}

.service-detail-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
}

.service-detail-lightbox__close:hover,
.service-detail-lightbox__nav:hover {
  border-color: rgba(196, 154, 108, 0.72);
  background: rgba(196, 154, 108, 0.2);
}

.service-detail-lightbox__counter {
  margin: 0;
  position: absolute;
  left: 50%;
  bottom: 0.65rem;
  transform: translateX(-50%);
  color: rgba(245, 237, 224, 0.9);
  font-size: 0.9rem;
}

.service-detail__cta {
  background: linear-gradient(140deg, rgba(29, 20, 13, 0.96), rgba(52, 31, 18, 0.96));
  color: var(--clr-beige-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3.2vw, 2rem);
  box-shadow: var(--shadow-md);
}

.service-detail__cta--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: center;
}

.service-detail__cta-copy {
  min-width: 0;
}

.service-detail__cta .service-detail__section-index {
  color: rgba(212, 175, 108, 0.55);
}

.service-detail__cta h2 {
  margin: 0;
  color: var(--clr-beige-light);
}

.service-detail__cta-lead {
  margin: 0.42rem 0 0;
  color: rgba(245, 237, 224, 0.87);
  max-width: 36rem;
  line-height: 1.62;
}

.service-detail__cta-divider {
  width: 1px;
  align-self: stretch;
  min-height: 4.5rem;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(245, 237, 224, 0.22) 15%,
    rgba(245, 237, 224, 0.22) 85%,
    transparent
  );
}

.service-detail__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.service-detail__cta .btn--outline-dark {
  border-color: rgba(245, 237, 224, 0.45);
  color: var(--clr-beige-light);
  background: transparent;
}

.service-detail__cta .btn--outline-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--clr-beige-light);
  color: var(--clr-white);
}

@media (max-width: 1050px) {
  .service-detail__audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-gallery__layout {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .service-detail-gallery__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .service-detail {
    gap: clamp(1.7rem, 5.3vw, 2.45rem);
  }

  .service-detail__gallery-scope {
    grid-template-columns: 1fr;
  }

  .service-detail__intro-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: clamp(1.15rem, 3vw, 1.65rem) clamp(1rem, 2.5vw, 1.35rem);
  }

  .service-detail__intro-col {
    padding: 0 0 clamp(1.15rem, 2.8vw, 1.5rem);
    border-right: none;
    border-bottom: 1px solid rgba(44, 26, 14, 0.08);
  }

  .service-detail__scope-col {
    padding: clamp(1.05rem, 2.5vw, 1.35rem) 0 0;
  }

  .service-detail__value-grid {
    grid-template-columns: 1fr;
  }

  .service-detail__hero-content {
    max-width: 100%;
  }

  .service-detail__cta--split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-detail__cta-divider {
    width: 100%;
    height: 1px;
    min-height: 0;
    align-self: center;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(245, 237, 224, 0.22) 12%,
      rgba(245, 237, 224, 0.22) 88%,
      transparent
    );
  }

  .service-detail__cta-actions {
    justify-content: center;
  }

  .service-detail__cta-lead {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .service-detail__hero {
    min-height: 0;
  }

  .service-detail__hero-content {
    padding: 1.3rem;
  }

  .service-detail__hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .service-detail__section {
    padding: 1.06rem;
  }

  .service-detail__audience-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-gallery__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-lightbox__panel {
    grid-template-columns: 1fr;
    height: min(88vh, 680px);
    margin-top: 6vh;
  }

  .service-detail-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }

  .service-detail-lightbox__nav--prev {
    left: 0.35rem;
  }

  .service-detail-lightbox__nav--next {
    right: 0.35rem;
  }
}

/* Modal usługi */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-smooth), visibility 0.35s;
}

.service-modal[hidden] {
  display: none !important;
}

.service-modal.is-open {
  opacity: 1;
  visibility: visible;
}

body.service-modal-open {
  overflow: hidden;
}

.service-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 10, 7, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.service-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  max-height: min(92vh, 900px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--clr-cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(44, 26, 14, 0.1);
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.4s var(--ease-smooth), opacity 0.4s var(--ease-smooth);
}

.service-modal.is-open .service-modal__panel {
  transform: translateY(0);
  opacity: 1;
}

.service-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(44, 26, 14, 0.06);
  color: var(--clr-brown-dark);
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base);
}

.service-modal__close:hover {
  background: var(--clr-brown-dark);
  color: var(--clr-beige-light);
}

.service-modal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 0;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  align-items: stretch;
}

.service-modal__media {
  background: var(--clr-brown-dark);
  min-height: 220px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  overflow: hidden;
}

.service-modal__collage {
  display: none;
}

.service-modal__collage:empty {
  display: none;
  min-height: 0;
}

/* Kolaż 4 zdjęć: bento (duży pion + 2 + pas dolny) — komórki wypełnione, bez „dołów” pod zdjęciem */
.service-modal__collage--bento {
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.88fr);
  gap: 4px;
  min-height: min(52vh, 420px);
  border-radius: 6px;
  overflow: hidden;
}

.service-modal__collage--bento .service-modal__collage-img:nth-child(1) {
  grid-row: 1 / span 2;
  grid-column: 1;
}

.service-modal__collage--bento .service-modal__collage-img:nth-child(2) {
  grid-row: 1;
  grid-column: 2;
}

.service-modal__collage--bento .service-modal__collage-img:nth-child(3) {
  grid-row: 2;
  grid-column: 2;
}

.service-modal__collage--bento .service-modal__collage-img:nth-child(4) {
  grid-row: 3;
  grid-column: 1 / -1;
}

.service-modal--no-media .service-modal__grid {
  grid-template-columns: 1fr;
}

.service-modal--no-media .service-modal__media {
  display: none;
}

.service-modal--no-media .service-modal__body {
  padding-top: 2rem;
}

.service-modal__collage-img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  align-self: stretch;
  justify-self: stretch;
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.45s var(--ease-smooth),
    transform 0.45s var(--ease-smooth);
}

.service-modal.is-open .service-modal__collage-img:nth-child(1) {
  transition-delay: 0.04s;
}
.service-modal.is-open .service-modal__collage-img:nth-child(2) {
  transition-delay: 0.1s;
}
.service-modal.is-open .service-modal__collage-img:nth-child(3) {
  transition-delay: 0.16s;
}
.service-modal.is-open .service-modal__collage-img:nth-child(4) {
  transition-delay: 0.22s;
}

.service-modal.is-open .service-modal__collage-img {
  opacity: 1;
  transform: scale(1);
}

.service-modal__img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: contain;
  object-position: center;
  background: rgba(13, 10, 7, 0.72);
  padding: 0.35rem;
  display: block;
  border-radius: 0;
  transition:
    opacity 0.26s var(--ease-smooth),
    transform 0.26s var(--ease-smooth),
    filter 0.26s var(--ease-smooth);
}

.service-modal__media--loading .service-modal__img {
  opacity: 0;
  transform: scale(1.015);
  filter: saturate(0.9) blur(2px);
}

.service-modal__media-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(120deg, rgba(9, 7, 5, 0.72), rgba(31, 21, 14, 0.88));
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  pointer-events: none;
  transition:
    opacity 0.24s var(--ease-smooth),
    transform 0.24s var(--ease-smooth);
}

.service-modal__media--loading .service-modal__media-loader {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.service-modal__media-loader-dot {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: rgba(245, 237, 224, 0.86);
  box-shadow: 0 0 0 1px rgba(245, 237, 224, 0.2);
  animation: service-modal-loader-dot 1.2s ease-in-out infinite;
}

.service-modal__media-loader-dot:nth-child(2) {
  animation-delay: 0.16s;
}

.service-modal__media-loader-dot:nth-child(3) {
  animation-delay: 0.32s;
}

.service-modal__media-loader-label {
  margin-left: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, 0.86);
  white-space: nowrap;
}

@keyframes service-modal-loader-dot {
  0%, 80%, 100% {
    opacity: 0.4;
    transform: translateY(0) scale(0.9);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px) scale(1);
  }
}

.service-modal__img[hidden] {
  display: none !important;
}

.service-modal__body {
  padding: 2.25rem 2rem 1.5rem;
  overflow-y: auto;
}

.service-modal__edge-hint {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: rgba(184, 134, 11, 0.42);
  opacity: 0.85;
  transform: translateY(-50%);
  animation: service-modal-edge-hint 2.8s ease-in-out infinite;
}

.service-modal__edge-hint svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.service-modal__edge-hint--left {
  left: clamp(0.35rem, 2vw, 0.85rem);
  animation-delay: 0.15s;
  --edge-nudge: -3px;
}

.service-modal__edge-hint--right {
  right: clamp(0.35rem, 2vw, 0.85rem);
  animation-delay: 0.55s;
  --edge-nudge: 3px;
}

@keyframes service-modal-edge-hint {
  0%, 100% {
    opacity: 0.38;
    transform: translateY(-50%) translateX(0);
  }
  50% {
    opacity: 0.82;
    transform: translateY(-50%) translateX(var(--edge-nudge, 3px));
  }
}

.service-modal__num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: rgba(184, 134, 11, 0.45);
  line-height: 1;
  display: block;
  margin-bottom: 0.35rem;
}

.service-modal__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 500;
  margin: 0 0 1rem;
  color: var(--clr-text-primary);
  padding-right: 2.5rem;
}

.service-modal__intro {
  margin-bottom: 1.5rem;
}

.service-modal__intro p {
  margin: 0 0 0.75rem;
}

.service-modal__intro p:last-child {
  margin-bottom: 0;
}

.service-modal__block-title {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-accent-gold);
  margin: 1.35rem 0 0.5rem;
}

.service-modal__block-title:first-of-type {
  margin-top: 0.5rem;
}

.service-modal__block p {
  margin: 0 0 0.65rem;
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--clr-text-body);
}

.service-modal__footer {
  padding: 1.25rem 2rem 1.75rem;
  border-top: 1px solid rgba(44, 26, 14, 0.08);
  background: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.service-modal__footer--split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
}

.service-modal__footer--split .service-modal__detail-link {
  margin-right: auto;
}

.service-modal__footer .btn {
  padding: 0.62rem 1.15rem;
  font-size: clamp(0.82rem, 1.05vw, 0.92rem);
}

.service-modal__detail-link[hidden] {
  display: none !important;
}

.service-modal__media,
.service-modal__body {
  transition:
    opacity 0.32s var(--ease-smooth),
    transform 0.32s var(--ease-smooth);
}

.service-modal--switching .service-modal__media {
  opacity: 0.55;
  transform: scale(0.982);
}

.service-modal--switching .service-modal__body {
  opacity: 0.52;
  transform: translateX(14px);
}

.service-modal--switching.service-modal--switch-prev .service-modal__body {
  transform: translateX(-14px);
}

@media (prefers-reduced-motion: reduce) {
  .page-services .page-services-overview .service-card-overview::after {
    animation: none !important;
    opacity: 0 !important;
  }

  .page-services .page-services-overview .service-card-overview:hover .service-card-overview__icon {
    transform: none;
  }

  .page-services-overview .services__showcase--page-sub:hover {
    transform: none;
  }

  .page-services .page-services-process .services-process__step:hover,
  .page-services .page-services-process .services-process__step:hover .services-process__icon {
    transform: none;
  }

  .service-card-overview,
  .service-modal,
  .service-modal__panel {
    transition: none;
  }
  .service-card-overview:hover {
    transform: none;
  }
  .service-modal__collage-img {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .service-modal__media,
  .service-modal__body {
    transition: none;
  }

  .service-modal__edge-hint {
    animation: none;
    opacity: 0.42;
  }
  .service-modal__img,
  .service-modal__media-loader {
    transition: none;
  }
  .service-modal__media-loader-dot {
    animation: none;
  }
  .service-card:hover .service-card__icon-wrap {
    transform: none;
  }
}

@media (max-width: 1100px) {
  .services-overview__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-process__steps::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .services-process__steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-modal__grid {
    grid-template-columns: 1fr;
  }

  .service-modal__media {
    max-height: none;
    min-height: 200px;
  }

  .service-modal__img {
    min-height: 200px;
    max-height: none;
  }

  .service-modal__collage {
    min-height: min(48vw, 320px);
    max-height: none;
  }

  .service-modal__collage--bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    min-height: min(52vw, 320px);
    max-height: none;
  }

  .service-modal__collage--bento .service-modal__collage-img:nth-child(n) {
    grid-row: auto !important;
    grid-column: auto !important;
    min-height: 0;
    max-height: none;
  }
}

@media (max-width: 600px) {
  .service-modal__media-loader {
    gap: 0.34rem;
    padding: 0 1rem;
  }

  .service-modal__media-loader-label {
    margin-left: 0.36rem;
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }

  .service-modal__footer--split {
    flex-direction: column;
    align-items: stretch;
  }

  .service-modal__footer--split .service-modal__detail-link {
    margin-right: 0;
    text-align: center;
  }

  .services-overview__grid {
    grid-template-columns: 1fr;
  }

  .services-final-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .services-final-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Podstrona O firmie — premium redesign (.about-page) ---------- */
.page-about .subpage-main {
  padding-top: 0;
}

.container--narrow {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.about-page__hero {
  min-height: min(78vh, 52rem);
  justify-content: flex-end;
  padding-bottom: clamp(3rem, 7vw, 4.5rem);
}

.about-page__hero-overlay {
  background: linear-gradient(
    165deg,
    rgba(13, 10, 7, 0.88) 0%,
    rgba(44, 26, 14, 0.45) 45%,
    rgba(20, 14, 10, 0.55) 100%
  );
}

.about-page__hero-inner {
  max-width: 48rem;
}

.about-page__hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, 0.55);
  margin: 0 0 1rem;
}

.about-page__hero-title {
  max-width: 18ch;
}

.about-page__hero-lead {
  max-width: 38rem;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.68;
}

.about-page__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.35rem);
}

.about-page__hero-actions .btn {
  padding: 0.72rem 1.5rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}

.about-page__hero-actions .btn--primary {
  background: rgba(184, 134, 11, 0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.about-page__hero-actions .btn--primary:hover {
  background: rgba(139, 94, 60, 0.95);
}

.about-page__hero-actions .btn--outline {
  border-width: 1.25px;
  border-color: rgba(255, 255, 255, 0.38);
  color: rgba(255, 252, 248, 0.95);
}

.about-page__hero-actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.about-page__section {
  position: relative;
}

.about-page__section--compact .t-h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
}

.about-page__section--compact .t-body {
  max-width: 40rem;
}

.about-page__section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.about-page__section-head .t-h2 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.about-page__section--advantages {
  background:
    radial-gradient(130% 95% at 10% 4%, rgba(255, 255, 255, 0.42), transparent 58%),
    radial-gradient(90% 70% at 88% 18%, rgba(184, 134, 11, 0.08), transparent 74%),
    var(--clr-beige-light);
}

.about-page__section-head--advantages {
  max-width: 46rem;
  margin-bottom: clamp(2.35rem, 4.4vw, 3.2rem);
}

.about-page__section-head--advantages .section-label {
  margin-bottom: 0.95rem;
  letter-spacing: 0.16em;
}

.about-page__section-head--advantages .t-h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  max-width: 34ch;
}

.about-page__section-intro {
  margin: 0;
  color: var(--clr-text-muted);
}

.about-page__icon-svg {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  stroke-width: 1.5;
}

/* Story */
.about-page__story {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.about-page__story-narrative {
  max-width: 42rem;
  margin-top: 1.25rem;
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 1px solid rgba(44, 26, 14, 0.07);
}

.about-page__story-narrative .about-page__story-lead {
  margin: clamp(1.1rem, 2vw, 1.35rem) 0 0;
}

.about-page__story-narrative .about-page__story-body {
  margin-top: clamp(1.35rem, 2.5vw, 1.75rem);
}

.about-page__story-narrative .about-page__story-body .t-body + .t-body {
  margin-top: 0.9rem;
}

.about-page__story-training {
  margin-top: clamp(1rem, 2.1vw, 1.35rem);
  padding-top: clamp(0.75rem, 1.6vw, 0.95rem);
  border-top: 1px solid rgba(44, 26, 14, 0.1);
}

.about-page__story-training-title {
  margin: 0 0 0.42rem;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.55vw, 1.16rem);
  line-height: 1.24;
  color: var(--clr-text-primary);
}

.about-page__story-training .t-body {
  margin: 0;
}

.about-page__story-accent {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent-gold);
  margin-bottom: 1rem;
  opacity: 0.85;
}

.about-page__story-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin: 0 0 0.65rem;
}

.about-page__story-title {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  line-height: 1.18;
}

.about-page__story-lead {
  margin: 0;
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

.about-page__story-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 2px 12px rgba(44, 26, 14, 0.07),
    0 24px 48px -18px rgba(44, 26, 14, 0.2);
  border: 1px solid rgba(44, 26, 14, 0.06);
}

.about-page__story-media--rotator {
  position: relative;
  box-shadow:
    0 2px 12px rgba(44, 26, 14, 0.07),
    0 24px 48px -18px rgba(44, 26, 14, 0.2),
    0 0 0 1px rgba(44, 26, 14, 0.06);
  background: rgba(44, 26, 14, 0.04);
}

.about-page__story-media--rotator:focus-visible {
  outline: 2px solid rgba(184, 134, 11, 0.55);
  outline-offset: 3px;
}

.about-page__story-media--rotator .about__intro-rotator__viewport {
  aspect-ratio: 4 / 5;
}

.about-page__story-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.about-page__story-media--rotator .about-page__story-img {
  aspect-ratio: auto;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .about-page__story-media--rotator .about__intro-rotator__layer {
    transition: opacity 0.35s ease;
    transform: none;
  }

  .about-page__story-media--rotator .about__intro-rotator__layer.is-active {
    transform: none;
  }
}

/* Stats */
.about-page__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

.about-page__stat-card {
  margin: 0;
  padding: clamp(1.25rem, 2.2vw, 1.65rem);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(44, 26, 14, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 8px rgba(44, 26, 14, 0.04);
  transition:
    transform 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    border-color 0.35s var(--ease-smooth);
}

.about-page__stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(44, 26, 14, 0.08);
  border-color: rgba(184, 134, 11, 0.22);
}

.about-page__stat-icon {
  display: flex;
  margin-bottom: 0.85rem;
  color: var(--clr-accent-gold);
}

.about-page__stat-icon .about-page__icon-svg--stat {
  width: 1.5rem;
  height: 1.5rem;
}

.about-page__stat-icon .about-page__icon-svg--log {
  width: 1.95rem;
  height: 1.95rem;
}

.about-page__stat-value {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--clr-text-primary);
  margin-bottom: 0.35rem;
}

.about-page__stat-value--text {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  letter-spacing: 0.02em;
}

.about-page__stat-value--place {
  font-size: clamp(1.05rem, 1.95vw, 1.42rem);
  line-height: 1.18;
  letter-spacing: 0.03em;
}

.about-page__stat-label {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--clr-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-page__stat-desc {
  margin: 0.65rem 0 0;
  font-size: clamp(0.8rem, 0.55vw + 0.74rem, 0.9rem);
  line-height: 1.58;
  color: var(--clr-text-body);
}

/* Wiarygodność — układ: rotator + kafelki 2×2 */
.about-page__stats-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.35rem, 3vw, 2.35rem);
  /* Domyślnie (tablet / wąski desktop): wyższy kadr + środek w pionie względem kafelków */
  align-items: center;
}

.about-page__stats-layout .about-page__stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-page__stats-figure {
  margin: 0;
  width: 100%;
  border-radius: clamp(0.9rem, 1.4vw, 1.15rem);
  overflow: hidden;
  border: 1px solid rgba(44, 26, 14, 0.08);
  box-shadow: 0 12px 28px rgba(44, 26, 14, 0.08);
  position: relative;
}

.about-page__stats-rotator-viewport {
  position: relative;
}

.about-page__stats-rotator-img {
  display: block;
  width: 100%;
  height: auto;
  /* Wyższy niż 16/10 — bliżej wysokości dwóch rzędów kafelków przy wąskiej kolumnie */
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: center 42%;
}

.about-page__stats-rotator-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(1.5%);
  transition:
    opacity 0.88s var(--ease-smooth),
    transform 0.88s var(--ease-smooth);
}

.about-page__stats-rotator-layer.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
}

.about-page__stats-rotator-arrow {
  position: absolute;
  top: 50%;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(21, 13, 8, 0.3);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  color: rgba(255, 251, 245, 0.94);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0;
  transition:
    background-color 0.28s var(--ease-smooth),
    border-color 0.28s var(--ease-smooth),
    box-shadow 0.28s var(--ease-smooth),
    transform 0.28s var(--ease-smooth);
}

.about-page__stats-rotator-arrow--prev {
  left: 0.52rem;
}

.about-page__stats-rotator-arrow--next {
  right: 0.52rem;
}

.about-page__stats-rotator-arrow:hover {
  background: rgba(21, 13, 8, 0.44);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 14px rgba(21, 13, 8, 0.2);
}

.about-page__stats-rotator-arrow:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 2px;
}

.about-page__stats-rotator-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.about-page__stats-rotator-arrow svg {
  width: 1rem;
  height: 1rem;
}

.about-page__stats-rotator-counter {
  position: absolute;
  right: 0.52rem;
  bottom: 0.52rem;
  margin: 0;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(21, 13, 8, 0.38);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  color: rgba(255, 252, 247, 0.92);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .about-page__stats-rotator-layer {
    transition-duration: 0.01ms;
    transform: none;
  }
}

/* Szeroki układ 2 kolumny: zdjęcie rozciąga się do wysokości siatki kafelków (bez pustki pod spodem) */
@media (min-width: 1025px) {
  .about-page__stats-layout {
    align-items: stretch;
  }

  .about-page__stats-figure {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .about-page__stats-rotator-viewport {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
  }

  .about-page__stats-rotator-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .about-page__stats-rotator-layer.is-active {
    position: absolute;
    z-index: 1;
  }

  .about-page__stats-rotator-img {
    height: 100%;
    min-height: 100%;
    aspect-ratio: unset;
    object-fit: cover;
    object-position: center 42%;
  }
}

/* Timeline */
.about-page__timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0.25rem;
  position: relative;
  max-width: 44rem;
}

.about-page__timeline::before {
  content: '';
  position: absolute;
  left: 1.15rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(184, 134, 11, 0.12) 0%,
    rgba(44, 26, 14, 0.06) 50%,
    rgba(184, 134, 11, 0.1) 100%
  );
}

.about-page__timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  padding: 0 0 clamp(1.5rem, 2.8vw, 2rem) 0;
  margin: 0;
}

.about-page__timeline-item:last-child {
  padding-bottom: 0;
}

.about-page__timeline-icon {
  width: 2.35rem;
  height: 2.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(44, 26, 14, 0.08);
  color: var(--clr-accent-gold);
  z-index: 1;
  box-shadow: 0 2px 10px rgba(44, 26, 14, 0.06);
}

.about-page__timeline-title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 500;
  margin: 0 0 0.4rem;
  color: var(--clr-text-primary);
}

.about-page__timeline-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--clr-text-muted);
}

/* Split materials */
.about-page__split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.about-page__split-copy .t-h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  line-height: 1.15;
}

.about-page__split-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(44, 26, 14, 0.07);
}

.about-page__split-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-page__highlights {
  list-style: none;
  margin: clamp(1.5rem, 2.5vw, 2rem) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-page__highlight {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(44, 26, 14, 0.07);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--clr-text-body);
}

.about-page__highlight-icon {
  flex-shrink: 0;
  color: var(--clr-accent-gold);
  margin-top: 0.1rem;
}

.about-page__inline-list {
  margin: 0.75rem 0 1rem;
  padding-left: 1.25rem;
  line-height: 1.75;
}

/* Droga firmy + standardy (scalona sekcja) */
.about-page__section--growth {
  background:
    radial-gradient(70% 65% at 85% 18%, rgba(196, 154, 108, 0.12), transparent 72%),
    linear-gradient(180deg, var(--clr-cream) 0%, rgba(250, 246, 238, 0.985) 44%, var(--clr-cream) 100%);
  overflow: clip;
}

.about-page__section--growth.section {
  padding-block: clamp(2rem, 3.8vw, 3rem);
}

.about-page__section--growth .about-page__section-head {
  max-width: 46rem;
  margin-bottom: clamp(0.85rem, 2vw, 1.35rem);
}

/* Nagłówek w lewej kolumnie — bez dodatkowego „paska” nad siatką */
.about-page__section-head.about-page__section-head--in-growth {
  max-width: none;
  margin-bottom: clamp(1rem, 2.2vw, 1.5rem);
  padding-right: clamp(0, 1.5vw, 0.75rem);
}

.about-page__section--growth .about-page__section-head .t-h2 {
  margin: 0.45rem 0 0.9rem;
  line-height: 1.12;
  max-width: 28ch;
}

.about-page__section--growth .about-page__section-intro {
  max-width: 56ch;
  font-size: 0.98rem;
  line-height: 1.7;
}

.about-page__growth {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1rem, 2.4vw, 1.75rem);
  align-items: stretch;
  margin-top: 0;
  position: relative;
}

.about-page__growth-col {
  min-width: 0;
}

.about-page__growth-col--timeline {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.about-page__growth-col--standards {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 0;
  align-self: stretch;
  min-height: 0;
}

.about-page__timeline--in-growth {
  max-width: none;
  margin: 0;
  padding-left: 0.05rem;
}

.about-page__timeline--in-growth .about-page__timeline-item {
  gap: 0.92rem 1.1rem;
  padding-bottom: clamp(1.15rem, 2.2vw, 1.65rem);
}

.about-page__timeline--in-growth .about-page__timeline-item:last-child {
  padding-bottom: 0.28rem;
}

.about-page__timeline--in-growth::before {
  left: 0.99rem;
  /* Linia od środka pierwszej ikony — nie nachodzi na „Etap 01” */
  top: 1.38rem;
  bottom: 1.08rem;
  background: linear-gradient(180deg, rgba(184, 134, 11, 0.14), rgba(44, 26, 14, 0.085) 48%, rgba(184, 134, 11, 0.1));
}

.about-page__timeline--in-growth .about-page__timeline-icon {
  width: 1.98rem;
  height: 1.98rem;
  border-radius: 0.68rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.84), rgba(250, 245, 236, 0.68));
  border-color: rgba(184, 134, 11, 0.14);
  color: #8b6728;
  box-shadow: 0 2px 10px rgba(44, 26, 14, 0.06);
}

.about-page__timeline-step {
  margin: 0 0 0.3rem;
  font-size: 0.62rem;
  letter-spacing: 0.17em;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(44, 26, 14, 0.4);
}

.about-page__timeline--in-growth .about-page__timeline-title {
  margin-bottom: 0.44rem;
  font-size: 1.13rem;
  line-height: 1.24;
}

.about-page__timeline--in-growth .about-page__timeline-text {
  font-size: 0.9rem;
  line-height: 1.64;
  max-width: 44ch;
}

.about-page__standards-panel {
  display: flex;
  flex-direction: column;
  gap: 0.82rem;
  padding: clamp(1.05rem, 1.95vw, 1.25rem);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(44, 26, 14, 0.07);
  border-radius: var(--radius-lg);
  box-shadow: 0 7px 20px rgba(44, 26, 14, 0.065);
}

.about-page__growth-media {
  margin: 0;
  border-radius: clamp(0.95rem, 1.7vw, 1.25rem);
  overflow: hidden;
  border: 1px solid rgba(44, 26, 14, 0.1);
  box-shadow:
    0 14px 28px rgba(44, 26, 14, 0.1),
    8px 18px 30px -22px rgba(44, 26, 14, 0.22);
  position: relative;
  width: 100%;
  min-height: clamp(24rem, 54vh, 40rem);
  height: auto;
  transform: none;
  transition: transform 0.42s var(--ease-smooth), box-shadow 0.42s var(--ease-smooth);
}

.about-page__growth-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 13, 8, 0.02), rgba(21, 13, 8, 0.16));
  pointer-events: none;
}

.about-page__growth-media:hover {
  transform: scale(1.01);
  box-shadow:
    0 16px 30px rgba(44, 26, 14, 0.11),
    9px 22px 34px -22px rgba(44, 26, 14, 0.24);
}

.about-page__growth-media-img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 8%;
}

.about-page__growth-media--rotator {
  display: block;
}

.about-page__growth-rotator-viewport {
  position: relative;
  width: 100%;
  min-height: clamp(24rem, 54vh, 40rem);
  aspect-ratio: 4 / 5;
}

/* Desktop: karuzela wypełnia wysokość lewej kolumny (nagłówek + oś + zdanie końcowe) */
@media (min-width: 901px) {
  .about-page__growth-col--standards .about-page__growth-media {
    min-height: 0;
    flex: 1 1 auto;
  }

  .about-page__growth-col--standards .about-page__growth-media.about-page__growth-media--rotator {
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  .about-page__growth-col--standards .about-page__growth-rotator-viewport {
    flex: 1 1 auto;
    min-height: 11rem;
    height: 100%;
    aspect-ratio: unset;
  }
}

.about-page__growth-rotator-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease-smooth), transform 1.6s var(--ease-smooth);
  transform: scale(1.03);
  will-change: opacity, transform;
}

.about-page__growth-rotator-layer.is-active {
  opacity: 1;
  transform: scale(1);
}

.about-page__growth-rotator-arrow {
  position: absolute;
  top: 50%;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(245, 237, 224, 0.45);
  border-radius: 999px;
  background: rgba(21, 13, 8, 0.42);
  color: rgba(245, 237, 224, 0.94);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  z-index: 3;
  cursor: pointer;
}

.about-page__growth-rotator-arrow--prev {
  left: 0.7rem;
}

.about-page__growth-rotator-arrow--next {
  right: 0.7rem;
}

.about-page__growth-rotator-arrow:hover {
  background: rgba(21, 13, 8, 0.56);
}

.about-page__growth-rotator-arrow:focus-visible {
  outline: 2px solid rgba(184, 134, 11, 0.7);
  outline-offset: 2px;
}

.about-page__growth-rotator-counter {
  position: absolute;
  left: 50%;
  bottom: 0.72rem;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.22rem 0.56rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 237, 224, 0.35);
  background: rgba(21, 13, 8, 0.38);
  color: rgba(245, 237, 224, 0.88);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  font-weight: 600;
  z-index: 3;
}

.about-page__growth-media-badge {
  position: absolute;
  right: 0.72rem;
  bottom: 0.72rem;
  margin: 0;
  padding: 0.26rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 237, 224, 0.45);
  background: rgba(21, 13, 8, 0.36);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  color: rgba(245, 237, 224, 0.9);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 1;
}

.about-page__growth-closing-note {
  margin: clamp(0.55rem, 1.2vw, 0.85rem) 0 0;
  padding-top: clamp(0.42rem, 0.85vw, 0.58rem);
  border-top: 1px solid rgba(44, 26, 14, 0.09);
  font-size: 0.84rem;
  line-height: 1.58;
  color: rgba(44, 26, 14, 0.66);
  max-width: 38rem;
}

.about-page__standards-panel--overlay {
  margin-top: clamp(-1.85rem, -2.9vw, -1.35rem);
  margin-left: clamp(0.55rem, 1.45vw, 0.95rem);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.91), rgba(248, 242, 231, 0.8));
  border-color: rgba(184, 134, 11, 0.12);
  box-shadow: 0 12px 24px rgba(44, 26, 14, 0.085);
  position: relative;
  z-index: 2;
}

.about-page__standards-panel--overlay::before {
  content: '';
  position: absolute;
  top: 0.92rem;
  left: clamp(1.05rem, 1.9vw, 1.25rem);
  width: clamp(2.5rem, 6vw, 3.55rem);
  border-top: 1px solid rgba(184, 134, 11, 0.34);
}

.about-page__standards-lead {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.62;
  color: var(--clr-text-body);
}

.about-page__standards-entries {
  list-style: none;
  margin: 0;
  padding: 0.3rem 0 0;
  border-top: 1px solid rgba(44, 26, 14, 0.08);
  display: grid;
  gap: 0;
}

.about-page__standards-entry {
  margin: 0;
  padding: 0.72rem 0;
}

.about-page__standards-entry + .about-page__standards-entry {
  border-top: 1px solid rgba(44, 26, 14, 0.08);
}

.about-page__standards-entry-title {
  margin: 0 0 0.24rem;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--clr-text-primary);
  line-height: 1.3;
}

.about-page__standards-entry-text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.58;
  color: var(--clr-text-muted);
}

.about-page__standards-metrics {
  list-style: none;
  margin: 0;
  padding: 0.72rem 0 0;
  border-top: 1px solid rgba(44, 26, 14, 0.08);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.48rem 0.72rem;
}

.about-page__standards-metrics li {
  margin: 0;
  font-size: 0.73rem;
  line-height: 1.38;
  color: var(--clr-text-muted);
}

.about-page__standards-metrics strong {
  display: block;
  font-size: 0.8rem;
  color: var(--clr-text-primary);
}

.about-page__qual-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.5vw, 0.9rem);
}

.about-page__qual-grid--growth {
  gap: 0.55rem 0.65rem;
  flex: 1;
}

.about-page__qual-grid--growth .about-page__qual-item {
  padding: clamp(0.75rem, 1.5vw, 0.95rem);
}

.about-page__qual-grid--growth .about-page__qual-icon {
  margin-bottom: 0.45rem;
}

.about-page__qual-item {
  margin: 0;
  padding: clamp(1rem, 2vw, 1.25rem);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(44, 26, 14, 0.075);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 8px rgba(44, 26, 14, 0.04);
  transition:
    transform 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    border-color 0.35s var(--ease-smooth);
}

.about-page__qual-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(44, 26, 14, 0.07);
  border-color: rgba(184, 134, 11, 0.2);
}

.about-page__qual-icon {
  display: flex;
  color: var(--clr-accent-gold);
  margin-bottom: 0.65rem;
}

.about-page__icon-svg--qual {
  width: 1.5rem;
  height: 1.5rem;
}

.about-page__qual-title {
  font-family: var(--font-serif);
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  font-weight: 500;
  margin: 0;
  line-height: 1.3;
  color: var(--clr-text-primary);
}

@media (max-width: 900px) {
  .about-page__growth {
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 3.5vw, 1.85rem);
  }

  .about-page__growth-col--standards {
    order: 2;
    padding-top: 0;
  }

  .about-page__standards-panel--overlay {
    margin-top: 0.95rem;
    margin-left: 0;
  }

  .about-page__growth-media-img {
    aspect-ratio: 16 / 11;
    height: auto;
    object-position: center 18%;
  }

  .about-page__growth-media--rotator .about-page__growth-rotator-layer {
    height: 100%;
    aspect-ratio: auto;
  }

  .about-page__growth-media {
    min-height: auto;
    transform: none;
  }

  .about-page__growth-media:hover {
    transform: none;
  }

  .about-page__growth-rotator-viewport {
    min-height: auto;
    height: auto;
    aspect-ratio: 16 / 11;
  }

  .about-page__growth-rotator-layer {
    transition-duration: 0.55s;
  }

  .about-page__standards-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .about-page__section--growth .about-page__section-head {
    margin-bottom: 1.55rem;
  }

  .about-page__timeline--in-growth {
    padding-left: 0;
  }

  .about-page__timeline--in-growth::before {
    left: 0.95rem;
  }

  .about-page__timeline--in-growth .about-page__timeline-item {
    gap: 0.86rem 0.9rem;
    padding-bottom: 1.42rem;
  }

  .about-page__timeline--in-growth .about-page__timeline-item:last-child {
    padding-bottom: 0.5rem;
  }

  .about-page__growth-media-badge {
    right: 0.52rem;
    bottom: 0.52rem;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .about-page__growth-closing-note {
    margin-top: 0.58rem;
    font-size: 0.8rem;
  }

  .about-page__standards-panel {
    padding: 0.95rem;
  }

  .about-page__standards-panel--overlay {
    margin-top: 0.88rem;
  }

  .about-page__standards-metrics {
    grid-template-columns: 1fr;
  }

  .about-page__qual-grid {
    grid-template-columns: 1fr;
  }
}

/* Advantages */
.about-page__section--advantages {
  background:
    radial-gradient(95% 70% at 88% 10%, rgba(184, 134, 11, 0.11), transparent 74%),
    radial-gradient(70% 55% at 12% 86%, rgba(184, 134, 11, 0.06), transparent 72%),
    var(--clr-beige-light);
}

.about-page__section-head--advantages {
  max-width: 45rem;
  margin-bottom: clamp(1.7rem, 3.8vw, 2.75rem);
}

.about-page__section-head--advantages .t-h2 {
  line-height: 1.1;
  margin-bottom: 0.72rem;
}

.about-page__section-head--advantages .about-page__section-intro {
  max-width: 34rem;
}

.about-page__adv-editorial {
  display: grid;
  gap: clamp(0.78rem, 1.8vw, 1.1rem);
}

.about-page__adv-top {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(1rem, 2.2vw, 1.35rem);
  align-items: start;
}

.about-page__adv-image-panel {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(44, 26, 14, 0.1);
  box-shadow: 0 15px 30px rgba(44, 26, 14, 0.12);
  position: relative;
  transform: translateY(0.18rem);
}

.about-page__adv-image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 13, 8, 0.05), rgba(22, 13, 8, 0.28));
  pointer-events: none;
}

.about-page__adv-slider__viewport {
  position: relative;
}

.about-page__adv-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center 42%;
}

.about-page__adv-slider__layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(1.6%);
  transition:
    opacity 0.78s var(--ease-smooth),
    transform 0.78s var(--ease-smooth);
  will-change: opacity, transform;
}

.about-page__adv-slider__layer.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
}

.about-page__adv-slider__btn {
  position: absolute;
  top: 50%;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.36), rgba(18, 11, 7, 0.3));
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: rgba(255, 252, 247, 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  z-index: 4;
  cursor: pointer;
  transition:
    background-color 0.28s var(--ease-smooth),
    border-color 0.28s var(--ease-smooth),
    box-shadow 0.28s var(--ease-smooth),
    transform 0.28s var(--ease-smooth);
}

.about-page__adv-slider__btn--prev {
  left: clamp(0.55rem, 1.25vw, 0.85rem);
}

.about-page__adv-slider__btn--next {
  right: clamp(0.55rem, 1.25vw, 0.85rem);
}

.about-page__adv-slider__btn:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.44), rgba(18, 11, 7, 0.36));
  box-shadow: 0 8px 16px rgba(17, 10, 6, 0.23);
}

.about-page__adv-slider__btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(184, 134, 11, 0.26);
}

.about-page__adv-slider__btn:active {
  transform: translateY(-50%) scale(0.96);
}

.about-page__adv-slider__btn-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.about-page__adv-slider__counter {
  position: absolute;
  right: clamp(0.65rem, 1.3vw, 0.95rem);
  bottom: clamp(0.65rem, 1.5vw, 0.95rem);
  margin: 0;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(19, 11, 7, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 253, 248, 0.95);
  z-index: 4;
}

.about-page__adv-primary {
  display: grid;
  gap: 0.75rem;
  margin-top: clamp(0.5rem, 2.2vw, 1.3rem);
}

.about-page__adv-focus,
.about-page__adv-primary-block,
.about-page__adv-secondary {
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(44, 26, 14, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(44, 26, 14, 0.06);
  transition:
    transform 0.32s var(--ease-smooth),
    box-shadow 0.32s var(--ease-smooth),
    border-color 0.32s var(--ease-smooth);
}

.about-page__adv-focus:hover,
.about-page__adv-primary-block:hover,
.about-page__adv-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(44, 26, 14, 0.1);
  border-color: rgba(184, 134, 11, 0.3);
}

.about-page__adv-focus {
  padding: clamp(1rem, 2vw, 1.3rem);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(250, 239, 216, 0.75)),
    rgba(255, 255, 255, 0.78);
  border-color: rgba(184, 134, 11, 0.28);
}

.about-page__adv-focus-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(113, 74, 45, 0.78);
}

.about-page__adv-focus-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem 1rem;
  align-items: start;
}

.about-page__adv-focus-number {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.45rem, 6vw, 3.4rem);
  line-height: 0.88;
  color: rgba(113, 74, 45, 0.92);
}

.about-page__adv-focus-title {
  margin: 0 0 0.42rem;
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 1.85vw, 1.3rem);
  line-height: 1.2;
  color: var(--clr-text-primary);
}

.about-page__adv-focus-text,
.about-page__adv-primary-text,
.about-page__adv-secondary-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.62;
  color: rgba(73, 46, 27, 0.82);
}

.about-page__adv-primary-block {
  padding: 0.9rem 1rem;
}

.about-page__adv-primary-icon,
.about-page__adv-secondary-icon {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent-gold);
  border-radius: 0.7rem;
  background: linear-gradient(145deg, rgba(184, 134, 11, 0.18), rgba(184, 134, 11, 0.07));
  border: 1px solid rgba(184, 134, 11, 0.24);
  margin-bottom: 0.6rem;
}

.about-page__adv-primary-icon .about-page__icon-svg,
.about-page__adv-secondary-icon .about-page__icon-svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke-width: 1.55;
}

.about-page__adv-primary-title,
.about-page__adv-secondary-title {
  margin: 0 0 0.34rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.24;
  color: var(--clr-text-primary);
}

.about-page__adv-bottom {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.82rem, 1.5vw, 1rem);
}

.about-page__adv-secondary {
  padding: 0.95rem 1rem;
  grid-column: span 4;
}

.about-page__adv-secondary--wide {
  grid-column: span 6;
}

.about-page__adv-secondary--compact {
  grid-column: span 2;
  padding: 0.8rem 0.85rem;
}

.about-page__adv-secondary--compact .about-page__adv-secondary-text {
  font-size: 0.84rem;
}

/* ---------- O firmie — Współpraca (premium dark, jak why-premium na SG) ---------- */
.about-process-premium {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: -1px;
  padding: clamp(3.2rem, 7vw, 5.2rem) 0 clamp(3.5rem, 7.5vw, 5.5rem);
  color: rgba(245, 237, 224, 0.93);
  background: linear-gradient(180deg, #1d1209 0%, #150f0a 22%, #0e0a06 48%, #0a0705 100%);
}

.about-process-premium__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 110% 60% at 50% -18%, rgba(196, 154, 90, 0.16), transparent 58%),
    radial-gradient(ellipse 65% 50% at 100% 88%, rgba(184, 134, 11, 0.1), transparent 52%),
    radial-gradient(ellipse 55% 42% at 0% 55%, rgba(92, 58, 30, 0.18), transparent 55%),
    linear-gradient(168deg, #1d1209 0%, #100b08 24%, #16100c 46%, #0d0906 100%);
}

.about-process-premium__ambient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0 42%, rgba(252, 248, 240, 0.05) 49.8%, transparent 51%),
    linear-gradient(12deg, transparent 56%, rgba(245, 237, 224, 0.03) 64%, transparent 70%);
  opacity: 0.82;
}

.about-process-premium__ambient::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(29, 18, 9, 0.35) 0%, transparent 32%),
    radial-gradient(ellipse 95% 75% at 50% 55%, transparent 26%, rgba(0, 0, 0, 0.5) 100%);
  mix-blend-mode: soft-light;
  opacity: 0.5;
}

@media (prefers-reduced-motion: no-preference) {
  .about-process-premium__ambient::before {
    animation: aboutProcessAmbientDrift 20s ease-in-out infinite alternate;
  }
}

@keyframes aboutProcessAmbientDrift {
  0% {
    opacity: 0.55;
    transform: translate3d(-2%, 0, 0);
  }
  100% {
    opacity: 0.92;
    transform: translate3d(2%, 0, 0);
  }
}

.about-process-premium__container {
  position: relative;
  z-index: 1;
}

.about-process-premium__head {
  max-width: 48rem;
  margin: 0 auto clamp(2.4rem, 5vw, 3.6rem);
  text-align: center;
}

.about-process-premium__label.section-label {
  color: rgba(212, 175, 108, 0.95);
  letter-spacing: 0.2em;
}

.about-process-premium__title {
  margin: 0.5rem 0 0;
  color: rgba(252, 246, 236, 0.99);
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(184, 134, 11, 0.12);
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  line-height: 1.08;
}

.about-process-premium__lead {
  margin: clamp(1rem, 2.2vw, 1.35rem) auto 0;
  max-width: 44rem;
  color: rgba(228, 216, 196, 0.88);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.65;
}

.about-process-premium__steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.2vw, 1.85rem);
  max-width: 72rem;
  position: relative;
}

.about-process-premium__step {
  position: relative;
  margin: 0;
  padding: 0;
}

.about-process-premium__connector {
  display: none;
}

.about-process-premium__card {
  position: relative;
  height: 100%;
  border-radius: clamp(1.05rem, 1.8vw, 1.35rem);
  padding: 1px;
  background: linear-gradient(145deg, rgba(212, 175, 108, 0.42), rgba(80, 52, 28, 0.55) 45%, rgba(184, 134, 11, 0.28));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 18px 48px rgba(0, 0, 0, 0.42),
    0 40px 80px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.55s var(--ease-smooth),
    box-shadow 0.55s var(--ease-smooth);
}

.about-process-premium__card--accent {
  background: linear-gradient(145deg, rgba(236, 205, 140, 0.55), rgba(184, 134, 11, 0.35) 40%, rgba(120, 78, 32, 0.5));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 22px 56px rgba(0, 0, 0, 0.48),
    0 0 60px rgba(184, 134, 11, 0.12);
}

a.about-process-premium__card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.about-process-premium__card:focus-visible {
  outline: 2px solid rgba(212, 175, 108, 0.95);
  outline-offset: 4px;
}

.about-process-premium__card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(255, 248, 235, 0.14), transparent 65%);
  pointer-events: none;
  transition: opacity 0.45s var(--ease-smooth);
}

.about-process-premium__card-inner {
  position: relative;
  height: 100%;
  min-height: clamp(17.5rem, 32vw, 21rem);
  padding: clamp(1.65rem, 3.2vw, 2.35rem) clamp(1.35rem, 2.6vw, 1.85rem) clamp(1.5rem, 2.8vw, 2rem);
  border-radius: calc(clamp(1.05rem, 1.8vw, 1.35rem) - 1px);
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(196, 154, 108, 0.14), transparent 55%),
    radial-gradient(80% 55% at 92% 100%, rgba(184, 134, 11, 0.09), transparent 48%),
    linear-gradient(168deg, #17110c 0%, #1f160f 42%, #14100a 100%);
  overflow: hidden;
}

.about-process-premium__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.1rem, 2.2vw, 1.45rem);
}

.about-process-premium__index {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212, 175, 108, 0.88);
}

.about-process-premium__icon {
  width: clamp(3.25rem, 6vw, 4rem);
  height: clamp(3.25rem, 6vw, 4rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(240, 210, 140, 0.98);
  background: linear-gradient(155deg, rgba(255, 252, 247, 0.1) 0%, rgba(255, 252, 247, 0.03) 100%);
  border: 1px solid rgba(184, 134, 11, 0.45);
  box-shadow:
    0 8px 26px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 252, 247, 0.1);
  transition:
    transform 0.5s var(--ease-smooth),
    border-color 0.45s var(--ease-smooth),
    box-shadow 0.45s var(--ease-smooth);
}

.about-process-premium__icon-svg {
  width: clamp(1.55rem, 2.8vw, 1.95rem);
  height: clamp(1.55rem, 2.8vw, 1.95rem);
}

.about-process-premium__card-title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: rgba(252, 248, 240, 0.98);
}

.about-process-premium__card-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.68;
  color: rgba(232, 220, 200, 0.9);
}

@media (prefers-reduced-motion: no-preference) {
  .about-process-premium__step.visible .about-process-premium__card-inner {
    animation: aboutProcessCardSettle 0.85s var(--ease-smooth) backwards;
  }

  .about-process-premium__step:nth-child(1).visible .about-process-premium__card-inner {
    animation-delay: 0.05s;
  }
  .about-process-premium__step:nth-child(2).visible .about-process-premium__card-inner {
    animation-delay: 0.12s;
  }
  .about-process-premium__step:nth-child(3).visible .about-process-premium__card-inner {
    animation-delay: 0.2s;
  }
}

@keyframes aboutProcessCardSettle {
  0% {
    opacity: 0.85;
    transform: translateY(18px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .about-process-premium__card:hover {
    transform: translateY(-10px);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.35),
      0 28px 64px rgba(0, 0, 0, 0.5),
      0 0 72px rgba(184, 134, 11, 0.18);
  }

  .about-process-premium__card:hover .about-process-premium__card-glow {
    opacity: 1;
  }

  .about-process-premium__card:hover .about-process-premium__icon {
    transform: scale(1.06) translateY(-2px);
    border-color: rgba(218, 180, 110, 0.65);
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.4),
      0 0 36px rgba(184, 134, 11, 0.22),
      inset 0 1px 0 rgba(255, 252, 247, 0.14);
  }
}

.about-process-premium__note {
  margin: clamp(2.2rem, 4.5vw, 3.2rem) auto 0;
  max-width: 52rem;
  padding: clamp(1.15rem, 2.2vw, 1.45rem) clamp(1.35rem, 2.6vw, 1.75rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 252, 247, 0.1);
  background: rgba(255, 252, 247, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 252, 247, 0.06);
}

.about-process-premium__note-text {
  margin: 0;
  text-align: center;
  font-size: clamp(0.92rem, 1.15vw, 1.02rem);
  line-height: 1.68;
  color: rgba(220, 206, 186, 0.88);
}

.about-process-premium__note-text strong {
  color: rgba(252, 240, 210, 0.98);
}

@media (max-width: 960px) {
  .about-process-premium__steps {
    grid-template-columns: 1fr;
    max-width: 26rem;
  }

  .about-process-premium__connector {
    display: block;
    height: clamp(1.25rem, 3vw, 1.75rem);
    margin: 0 auto;
    width: 2px;
    background: linear-gradient(180deg, rgba(184, 134, 11, 0.15), rgba(212, 175, 108, 0.55), rgba(184, 134, 11, 0.15));
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(184, 134, 11, 0.25);
  }
}

@media (max-width: 640px) {
  .about-process-premium__title {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .about-process-premium__card-inner {
    min-height: 0;
  }
}

/* Gallery */
.about-page__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.about-page__gallery-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(44, 26, 14, 0.08);
  border: 1px solid rgba(44, 26, 14, 0.06);
}

.about-page__gallery-item--large {
  grid-row: span 2;
}

.about-page__gallery-item--wide {
  grid-column: 1 / -1;
}

.about-page__gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 12rem;
  object-fit: cover;
}

.about-page__gallery-item--large img {
  min-height: 22rem;
}

/* Kolaż „O firmie”: tylko ofirmie/; można dokładać kolejne <figure> (7.jpg, 8.jpg…) — układ 2 kolumny poniżej rzędu „wide”. */
.about-page__gallery--ofirmie .about-page__gallery-item:nth-child(n + 5) {
  grid-column: auto;
  grid-row: auto;
}

.about-page__gallery--ofirmie .about-page__gallery-item:nth-child(n + 5) img {
  min-height: 11rem;
}

/* FAQ */
.about-page__faq {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-page__faq-item {
  border: 1px solid rgba(44, 26, 14, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.about-page__faq-item[open] {
  border-color: rgba(184, 134, 11, 0.22);
  box-shadow: 0 4px 16px rgba(44, 26, 14, 0.05);
}

.about-page__faq-summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--clr-text-primary);
  position: relative;
  padding-right: 2.5rem;
}

.about-page__faq-summary:focus-visible {
  outline: 2px solid var(--clr-accent-gold);
  outline-offset: 2px;
}

.about-page__faq-summary::-webkit-details-marker {
  display: none;
}

.about-page__faq-summary::after {
  content: '';
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 1.5px solid var(--clr-accent-gold);
  border-bottom: 1.5px solid var(--clr-accent-gold);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.25s var(--ease-smooth);
}

.about-page__faq-item[open] .about-page__faq-summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.about-page__faq-body {
  padding: 0 1.15rem 1.1rem;
}

.about-page__faq-body .t-body {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--clr-text-muted);
}

/* Closing + registry */
.about-page__closing {
  background: linear-gradient(165deg, var(--clr-brown-dark) 0%, #1f130c 50%, #2a1a10 100%);
  color: var(--clr-beige-light);
  padding-top: clamp(3.5rem, 8vw, 5rem);
  padding-bottom: clamp(3.5rem, 8vw, 5rem);
}

.about-page__closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.about-page__closing-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--clr-beige-light);
}

.about-page__closing-lead {
  margin: 0 0 1.75rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(245, 237, 224, 0.88);
  max-width: 32rem;
}

.about-page__closing-btn {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.about-page__registry {
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-page__registry-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 1rem;
  color: rgba(245, 237, 224, 0.95);
}

.company-data--compact {
  margin-top: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.82rem;
  line-height: 1.65;
}

.company-data--compact dt {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, 0.55);
}

.company-data--compact dt:first-child {
  margin-top: 0;
}

.company-data--compact dd {
  color: rgba(245, 237, 224, 0.92);
}

@media (max-width: 1024px) {
  .about-page__stats-layout {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2rem);
  }

  .about-page__stats-figure {
    max-width: min(100%, 40rem);
    margin-inline: auto;
  }

  .about-page__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-page__section-head--advantages {
    max-width: 100%;
    margin-bottom: clamp(2rem, 4.2vw, 2.65rem);
  }

  .about-page__adv-top {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .about-page__adv-image-panel {
    transform: none;
  }

  .about-page__adv-image {
    aspect-ratio: 16 / 10.5;
  }

  .about-page__adv-primary {
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
  }

  .about-page__adv-focus {
    grid-column: 1 / -1;
  }

  .about-page__adv-bottom {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .about-page__adv-secondary--wide {
    grid-column: span 4;
  }

  .about-page__adv-secondary {
    grid-column: span 2;
  }

  .about-page__adv-secondary--compact {
    grid-column: span 4;
  }
}

@media (max-width: 900px) {
  .about-page__story {
    grid-template-columns: 1fr;
  }

  .about-page__story-narrative {
    max-width: none;
  }

  .about-page__split {
    grid-template-columns: 1fr;
  }

  .about-page__adv-primary {
    grid-template-columns: 1fr;
  }

  .about-page__adv-bottom {
    grid-template-columns: 1fr 1fr;
  }

  .about-page__adv-slider__btn {
    width: 2.5rem;
    height: 2.5rem;
  }

  .about-page__adv-slider__counter {
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }

  .about-page__adv-secondary,
  .about-page__adv-secondary--wide,
  .about-page__adv-secondary--compact {
    grid-column: span 1;
  }

  .about-page__adv-secondary--wide {
    grid-column: 1 / -1;
  }

  /* Wiarygodność: na mobile same kafelki bez długich opisów */
  .about-page__stats-layout .about-page__stat-desc {
    display: none;
  }

  .about-page__gallery {
    grid-template-columns: 1fr;
  }

  .about-page__gallery-item--large {
    grid-row: auto;
  }

  .about-page__closing-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-page__adv-image {
    aspect-ratio: 5 / 4;
    object-position: center 38%;
  }

  .about-page__adv-slider__btn {
    width: 2.35rem;
    height: 2.35rem;
  }

  .about-page__adv-slider__btn--prev {
    left: 0.5rem;
  }

  .about-page__adv-slider__btn--next {
    right: 0.5rem;
  }

  .about-page__adv-slider__counter {
    right: 0.55rem;
    bottom: 0.55rem;
  }

  .about-page__adv-bottom {
    grid-template-columns: 1fr;
    gap: 0.76rem;
  }

  .about-page__adv-secondary,
  .about-page__adv-secondary--wide,
  .about-page__adv-secondary--compact {
    grid-column: 1 / -1;
  }

  .about-page__adv-focus-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .about-page__adv-focus-number {
    font-size: clamp(2.1rem, 11vw, 2.8rem);
  }

  .about-page__adv-primary-block,
  .about-page__adv-secondary {
    padding: 0.82rem 0.85rem;
  }

  .about-page__adv-primary-title,
  .about-page__adv-secondary-title {
    font-size: 1.02rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page__stat-card,
  .about-page__adv-card,
  .about-page__qual-item,
  .about-page__adv-slider__layer,
  .about-page__adv-slider__btn,
  .about-process-premium__card {
    transition: none;
  }

  .about-page__stat-card:hover,
  .about-page__adv-card:hover,
  .about-page__qual-item:hover,
  .about-process-premium__card:hover {
    transform: none;
  }

  .about-process-premium__ambient::before {
    animation: none;
  }

  .about-process-premium__step.visible .about-process-premium__card-inner {
    animation: none;
  }

  .about-process-premium__card:hover .about-process-premium__card-glow {
    opacity: 0;
  }

  .about-process-premium__card:hover .about-process-premium__icon {
    transform: none;
  }
}

/* ---------- Realizacje — portfolio premium (lista + strona główna) ---------- */
.portfolio-premium__header {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.portfolio-premium__subtitle {
  margin: 0.75rem 0 0;
  color: var(--clr-text-muted);
  max-width: 36rem;
}

.portfolio-premium-app {
  min-height: 8rem;
}

.portfolio-premium__loading {
  margin: 0;
  color: var(--clr-text-muted);
}

.portfolio-premium__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
  align-items: center;
}

.portfolio-premium__filter {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(44, 26, 14, 0.12);
  background: rgba(255, 255, 255, 0.55);
  color: var(--clr-text-body);
  cursor: pointer;
  transition:
    background 0.3s var(--ease-smooth),
    border-color 0.3s var(--ease-smooth),
    color 0.3s var(--ease-smooth),
    box-shadow 0.3s var(--ease-smooth);
}

.portfolio-premium__filter:hover {
  border-color: rgba(184, 134, 11, 0.35);
  color: var(--clr-text-primary);
}

.portfolio-premium__filter.is-active {
  background: rgba(184, 134, 11, 0.12);
  border-color: rgba(184, 134, 11, 0.45);
  color: var(--clr-brown-dark);
}

.portfolio-premium__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(120px, auto);
  gap: clamp(0.75rem, 1.8vw, 1.15rem);
}

.portfolio-premium__grid--featured {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.portfolio-premium__grid--featured .portfolio-premium__card {
  grid-column: span 4;
  grid-row: auto;
}

.portfolio-premium__grid--featured .portfolio-premium__card--featured-hero {
  grid-column: 1 / -1;
}

.portfolio-premium__card--featured-hero .portfolio-premium__card-media {
  aspect-ratio: 21 / 9;
  min-height: clamp(200px, 28vw, 320px);
}

.portfolio-premium__card {
  grid-column: span 4;
  min-height: 0;
}

.portfolio-premium__card--tall {
  grid-column: span 7;
  grid-row: span 2;
}

.portfolio-premium__card--wide {
  grid-column: span 8;
}

.portfolio-premium__card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(44, 26, 14, 0.07);
  box-shadow: 0 4px 20px rgba(44, 26, 14, 0.06);
  transition:
    transform 0.45s var(--ease-smooth),
    box-shadow 0.45s var(--ease-smooth),
    border-color 0.45s var(--ease-smooth);
}

.portfolio-premium__card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(44, 26, 14, 0.1);
  border-color: rgba(184, 134, 11, 0.22);
}

.portfolio-premium__card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(44, 26, 14, 0.06);
}

.portfolio-premium__card--tall .portfolio-premium__card-media {
  aspect-ratio: 16 / 11;
  min-height: 260px;
}

.portfolio-premium__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s var(--ease-smooth);
}

.portfolio-premium__card-link:hover .portfolio-premium__card-media img {
  transform: scale(1.04);
}

.portfolio-premium__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(13, 10, 7, 0.55) 100%);
  opacity: 0.85;
  transition: opacity 0.45s var(--ease-smooth);
}

.portfolio-premium__card-link:hover .portfolio-premium__card-overlay {
  opacity: 1;
}

.portfolio-premium__card-cta {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.portfolio-premium__card-cta-inner {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 248, 240, 0.95);
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(44, 26, 14, 0.35);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.4s var(--ease-smooth),
    transform 0.4s var(--ease-smooth);
}

.portfolio-premium__card-link:hover .portfolio-premium__card-cta-inner {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-premium__card-body {
  padding: 1.1rem 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-premium__card-cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-accent-gold);
  margin-bottom: 0.4rem;
}

.portfolio-premium__card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 500;
  margin: 0 0 0.5rem;
  line-height: 1.25;
  color: var(--clr-text-primary);
}

.portfolio-premium__card-meta {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}

.portfolio-premium__card-summary {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--clr-text-body);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-premium__cta {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
}

.portfolio-premium__footer-cta {
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  text-align: center;
}

/* Przycisk na jasnym tle (section--cream) — wcześniej btn--outline = biały tekst = niewidoczny */
.portfolio-premium__footer-cta .portfolio-premium__all-link.btn--outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 17rem);
  padding: 0.88rem 1.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-width: 2px;
  color: var(--clr-brown-dark);
  border-color: rgba(44, 26, 14, 0.42);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 2px 14px rgba(44, 26, 14, 0.08);
}

.portfolio-premium__footer-cta .portfolio-premium__all-link.btn--outline-dark:hover {
  border-color: rgba(184, 134, 11, 0.65);
  color: var(--clr-white);
  background: var(--clr-brown-dark);
  box-shadow: 0 8px 28px rgba(44, 26, 14, 0.18);
}

.page-realizacje-list .portfolio-premium-section {
  padding-top: calc(var(--header-height) + clamp(1.5rem, 3vw, 2.3rem));
}

.portfolio-premium-hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: linear-gradient(155deg, #141008 0%, var(--clr-brown-dark) 48%, #1f140e 100%);
  color: var(--clr-beige-light);
  overflow: hidden;
}

.portfolio-premium-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(184, 134, 11, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(13, 10, 7, 0.2) 0%, rgba(13, 10, 7, 0.75) 100%);
  pointer-events: none;
}

.portfolio-premium-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}

.portfolio-premium-hero .subpage-breadcrumb a,
.portfolio-premium-hero .subpage-breadcrumb span {
  color: rgba(245, 237, 224, 0.75);
}

.portfolio-premium-hero__pretitle {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(184, 134, 11, 0.85);
  margin: 1.25rem 0 0.65rem;
}

.portfolio-premium-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.portfolio-premium-hero__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(245, 237, 224, 0.82);
  max-width: 38rem;
}

/* Realizacja — pojedyncza (premium) */
.realizacja-premium__hero {
  position: relative;
  min-height: min(56vh, 34rem);
  background-image: var(--realizacja-hero);
  background-size: cover;
  background-position: center 40%;
  display: flex;
  align-items: flex-end;
  padding: clamp(3rem, 7vw, 4.6rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

/* Dynamiczna strona realizacji (szczegoly.html) — neutralne tło, ładowanie */
body.page-realizacja-dynamic .realizacja-premium__hero {
  --realizacja-hero: linear-gradient(145deg, #1a1510 0%, #2d2319 48%, #14110e 100%);
  background-color: #1a1510;
}

@keyframes realizacja-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

[data-realization-detail-root][aria-busy="true"] .realizacja-premium__hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 42%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.05) 58%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: realizacja-shimmer 1.15s ease-in-out infinite;
  pointer-events: none;
}

[data-realization-detail-root][aria-busy="true"] .realizacja-gallery__main-wrap {
  min-height: min(58vh, 29rem);
  aspect-ratio: 16 / 11;
}

[data-realization-detail-root][aria-busy="true"] .realizacja-gallery__main-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.15rem;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(245, 237, 224, 0.06) 0%,
    rgba(255, 255, 255, 0.28) 48%,
    rgba(245, 237, 224, 0.06) 100%
  );
  background-size: 200% 100%;
  animation: realizacja-shimmer 1.15s ease-in-out infinite;
  pointer-events: none;
}

[data-realization-detail-root][aria-busy="false"] .realizacja-gallery__main-image {
  animation: realizacja-gallery-fade-in 0.35s ease-out;
}

@keyframes realizacja-gallery-fade-in {
  from {
    opacity: 0.85;
  }
  to {
    opacity: 1;
  }
}

.realizacja-gallery--empty .realizacja-gallery__nav,
.realizacja-gallery--empty .realizacja-gallery__zoom {
  display: none;
}

.realizacja-gallery--empty .realizacja-gallery__main-image {
  display: none;
}

.realizacja-gallery__empty-msg {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--clr-text-muted);
}

.realizacja-premium__back .btn--back-to-list {
  background: rgba(44, 26, 14, 0.94);
  color: var(--clr-beige-light);
  border: 2px solid rgba(207, 170, 114, 0.55);
  box-shadow: 0 8px 22px rgba(13, 10, 7, 0.14);
}

.realizacja-premium__back .btn--back-to-list:hover {
  background: var(--clr-brown-dark);
  color: var(--clr-beige-light);
  border-color: rgba(245, 237, 224, 0.62);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 10, 7, 0.2);
}

.realizacja-premium__hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 70% at 18% 16%, rgba(209, 166, 104, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(13, 10, 7, 0.24) 0%, rgba(13, 10, 7, 0.78) 72%, rgba(13, 10, 7, 0.9) 100%);
  pointer-events: none;
}

.realizacja-premium__hero-inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.realizacja-premium__breadcrumb {
  margin-bottom: 0.85rem;
}

.realizacja-premium__breadcrumb a,
.realizacja-premium__breadcrumb span {
  color: rgba(245, 237, 224, 0.74);
  font-size: 0.8rem;
}

.realizacja-premium__pretitle {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(207, 170, 114, 0.9);
}

.realizacja-premium__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 500;
  color: var(--clr-beige-light);
  margin: 0.35rem 0 0.9rem;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.realizacja-premium__lead {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 1.68;
  color: rgba(245, 237, 224, 0.9);
  max-width: 42rem;
}

.realizacja-premium__content {
  padding-top: clamp(2.6rem, 5.2vw, 4.1rem);
  padding-bottom: clamp(3.1rem, 6.3vw, 4.8rem);
  display: grid;
  gap: clamp(2.1rem, 4.5vw, 3.4rem);
}

.realizacja-premium__showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 0.92fr);
  align-items: start;
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.realizacja-premium__showcase-media {
  min-width: 0;
}

.realizacja-premium__gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.realizacja-premium__h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.2;
}

.realizacja-premium__gallery-counter {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.42rem;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  font-weight: 600;
}

.realizacja-premium__gallery-counter-sep {
  opacity: 0.55;
}

.realizacja-gallery--premium .realizacja-gallery__main img {
  border-radius: 1.15rem;
  box-shadow: 0 20px 46px rgba(20, 12, 8, 0.19);
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  min-height: min(44vh, 22rem);
  max-height: min(58vh, 30rem);
}

.realizacja-gallery__main-wrap {
  position: relative;
}

.realizacja-gallery__main-image {
  cursor: zoom-in;
}

.realizacja-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 237, 224, 0.68);
  background: rgba(13, 10, 7, 0.27);
  color: rgba(255, 255, 255, 0.98);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(3px);
  transition: background var(--transition-base), transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.realizacja-gallery__nav svg {
  width: 0.96rem;
  height: 0.96rem;
  display: block;
}

.realizacja-gallery__nav:hover {
  background: rgba(184, 134, 11, 0.55);
  border-color: rgba(245, 237, 224, 0.88);
  box-shadow: 0 10px 24px rgba(13, 10, 7, 0.28);
}

.realizacja-gallery__nav--prev {
  left: 1rem;
}

.realizacja-gallery__nav--next {
  right: 1rem;
}

.realizacja-gallery__zoom {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 237, 224, 0.72);
  background: rgba(13, 10, 7, 0.33);
  color: rgba(255, 255, 255, 0.98);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(3px);
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.realizacja-gallery__zoom svg {
  width: 0.96rem;
  height: 0.96rem;
  display: block;
}

.realizacja-gallery__zoom:hover {
  background: rgba(184, 134, 11, 0.52);
  border-color: rgba(245, 237, 224, 0.9);
  box-shadow: 0 8px 22px rgba(13, 10, 7, 0.28);
}

.realizacja-gallery--premium .realizacja-gallery__grid--scroll {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  gap: 0.62rem;
  margin-top: 1.05rem;
  max-height: none;
  padding-bottom: 0.4rem;
}

.realizacja-gallery--premium .realizacja-gallery__thumb {
  flex: 0 0 auto;
  width: 6.2rem;
  height: 4.35rem;
  padding: 0;
  border: 1px solid rgba(44, 26, 14, 0.13);
  border-radius: 0.72rem;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.82;
  transform: translateY(0);
  transition: border-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.7);
}

.realizacja-gallery--premium .realizacja-gallery__thumb.active,
.realizacja-gallery--premium .realizacja-gallery__thumb:hover {
  opacity: 1;
  border-color: rgba(184, 134, 11, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(44, 26, 14, 0.12);
}

.realizacja-gallery--premium .realizacja-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.realizacja-premium__showcase-info {
  position: sticky;
  top: calc(var(--header-height) + 1.1rem);
  align-self: start;
  z-index: 2;
  max-height: calc(100vh - var(--header-height) - 2rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.realizacja-premium__showcase-info-card {
  border: 1px solid rgba(44, 26, 14, 0.1);
  border-radius: 1rem;
  background: linear-gradient(165deg, rgba(255, 253, 249, 0.98) 0%, rgba(252, 246, 236, 0.88) 100%);
  padding: clamp(0.85rem, 2vw, 1.15rem);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 12px 28px rgba(31, 19, 11, 0.08);
}

.realizacja-premium__showcase-info-card > .realizacja-premium__h2 {
  margin-bottom: 0.45rem;
}

.realizacja-premium__showcase-title {
  margin: 0.85rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.22rem, 1.7vw, 1.5rem);
  line-height: 1.28;
  color: var(--clr-text-primary);
}

.realizacja-premium__showcase-summary {
  margin: 0.45rem 0 0.85rem;
  color: var(--clr-text-secondary);
  line-height: 1.62;
  font-size: 0.96rem;
}

.realizacja-premium__details {
  margin-bottom: clamp(3.1rem, 6.7vw, 4.8rem);
}

.realizacja-premium__details > .realizacja-premium__h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  letter-spacing: 0.07em;
  line-height: 1.1;
  color: rgba(31, 19, 11, 0.95);
  text-wrap: balance;
  margin: 0 0 clamp(1.2rem, 3.2vw, 1.75rem);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(184, 134, 11, 0.2);
  position: relative;
}

.realizacja-premium__details > .realizacja-premium__h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: min(8.5rem, 55%);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(184, 134, 11, 0.95) 0%, rgba(184, 134, 11, 0.15) 78%, transparent 100%);
}

.realizacja-premium__details .realizacja-premium__narrative--dynamic {
  padding: clamp(0.95rem, 2.6vw, 1.5rem);
  border-radius: 1.2rem;
  background: linear-gradient(168deg, rgba(255, 253, 249, 0.98) 0%, rgba(252, 246, 236, 0.72) 48%, rgba(255, 255, 255, 0.55) 100%);
  border: 1px solid rgba(44, 26, 14, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 12px 36px rgba(31, 19, 11, 0.05);
}

.realizacja-premium__tech-list {
  display: grid;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(44, 26, 14, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.58);
  overflow: hidden;
}

.realizacja-premium__tech-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
  border-top: 1px solid rgba(44, 26, 14, 0.07);
}

.realizacja-premium__tech-row:first-child {
  border-top: none;
}

.realizacja-premium__tech-row--plain {
  grid-template-columns: 1fr;
  padding: 0.75rem 0.95rem;
}

.realizacja-premium__tech-row-inner {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.realizacja-premium__meta-icon {
  flex-shrink: 0;
  color: rgba(184, 134, 11, 0.9);
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.12rem;
}

.realizacja-premium__meta-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.realizacja-premium__meta-label {
  display: block;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 0.34rem;
}

.realizacja-premium__meta-value {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--clr-text-primary);
  font-weight: 500;
}

.realizacja-premium__narrative {
  display: grid;
  gap: 1.2rem;
}

.realizacja-premium__narrative--dynamic {
  gap: 0.85rem;
}

.realizacja-premium__narrative--dynamic .realizacja-premium__scope,
.realizacja-premium__narrative--dynamic .realizacja-premium__description,
.realizacja-premium__narrative--dynamic .realizacja-premium__timeline-card,
.realizacja-premium__narrative--dynamic .realizacja-premium__materials-card {
  border: 1px solid rgba(44, 26, 14, 0.09);
  border-radius: 0.95rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.62);
}

.realizacja-premium__narrative--dynamic .realizacja-premium__prose-union {
  border: 1px solid rgba(44, 26, 14, 0.09);
  border-left: 2px solid rgba(184, 134, 11, 0.32);
  border-radius: 0.95rem;
  padding: 0.95rem 1rem 0.95rem 1.08rem;
  background: rgba(255, 255, 255, 0.62);
}

.realizacja-premium__sections-grid {
  display: grid;
  gap: 0.72rem;
}

.realizacja-premium__sections-grid--list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.realizacja-premium__sections-grid--text {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.realizacja-premium__sections-grid--prose {
  grid-template-columns: minmax(0, 1fr);
}

.realizacja-premium__sections-grid--list > .realizacja-premium__scope-pair {
  grid-column: 1 / -1;
}

.realizacja-premium__scope-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  align-items: start;
}

.realizacja-premium__scope-pair--single {
  grid-template-columns: minmax(0, 1fr);
}

.realizacja-premium__section-card {
  border: 1px solid rgba(44, 26, 14, 0.1);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 8px 20px rgba(31, 19, 11, 0.05);
}

.realizacja-premium__section-card--description {
  grid-column: 1 / -1;
}

.realizacja-premium__section-card--additional {
  grid-column: 1 / -1;
}

.realizacja-premium__prose-union {
  margin: 0;
  display: grid;
  gap: 0.72rem;
}

.realizacja-premium__prose-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.28rem, 2.5vw, 1.58rem);
  letter-spacing: 0.035em;
  line-height: 1.22;
  color: var(--clr-text-primary);
}

.realizacja-premium__prose-aside-heading {
  margin: 0.35rem 0 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(44, 26, 14, 0.72);
}

.realizacja-premium__prose-body {
  margin: 0;
  line-height: 1.62;
  color: var(--clr-text-secondary);
}

.realizacja-premium__prose-body--aside {
  color: rgba(44, 26, 14, 0.78);
}

.realizacja-premium__prose-sep {
  margin: 0.15rem 0;
  border: none;
  border-top: 1px solid rgba(44, 26, 14, 0.1);
}

.realizacja-premium__prose-meta {
  margin: 0 0 0.35rem;
  padding: 0.65rem 0 0.85rem;
  border-bottom: 1px solid rgba(44, 26, 14, 0.08);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.25rem;
  align-items: baseline;
  max-width: 52rem;
}

.realizacja-premium__prose-meta-term {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(44, 26, 14, 0.48);
}

.realizacja-premium__prose-meta-def {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--clr-text-primary);
  font-weight: 500;
}

.realizacja-premium__prose-body--main {
  max-width: 65ch;
  line-height: 1.78;
}

.realizacja-premium__section-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.realizacja-premium__timeline-card > .realizacja-premium__section-heading,
.realizacja-premium__materials-card > .realizacja-premium__section-heading {
  width: 100%;
}

.realizacja-premium__section-heading__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: rgba(184, 134, 11, 0.92);
}

.realizacja-premium__section-heading__svg {
  width: 1.18rem;
  height: 1.18rem;
  display: block;
}

.realizacja-premium__timeline-heading .realizacja-premium__section-heading__label,
.realizacja-premium__materials-heading .realizacja-premium__section-heading__label {
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(44, 26, 14, 0.5);
}

.realizacja-premium__timeline-heading,
.realizacja-premium__materials-heading {
  margin: 0 0 1rem;
}

.realizacja-premium__highlights-band__title.realizacja-premium__section-heading {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin: 0 0 clamp(0.85rem, 2vw, 1.2rem);
}

.realizacja-premium__highlights-band__title .realizacja-premium__section-heading__label {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.85vw, 1.28rem);
  letter-spacing: 0.05em;
  color: var(--clr-text-primary);
}

.realizacja-premium__details .realizacja-premium__narrative--dynamic .realizacja-premium__timeline-card,
.realizacja-premium__details .realizacja-premium__narrative--dynamic .realizacja-premium__materials-card {
  padding: 1.08rem 1.18rem 1.22rem;
  box-shadow: 0 10px 30px rgba(31, 19, 11, 0.075);
}

.realizacja-premium__details .realizacja-premium__narrative--dynamic .realizacja-premium__prose-union {
  border: 1px solid rgba(44, 26, 14, 0.09);
  border-left: 2px solid rgba(184, 134, 11, 0.32);
  border-radius: 0.95rem;
  padding: 1.08rem 1.18rem 1.12rem 1.22rem;
  background: rgba(255, 255, 255, 0.62);
}

.realizacja-premium__timeline {
  position: relative;
  margin: 0;
  padding: 0.15rem 0 0.25rem 0.55rem;
}

.realizacja-premium__timeline::before {
  content: '';
  position: absolute;
  left: 0.62rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(184, 134, 11, 0.55), rgba(184, 134, 11, 0.18));
}

.realizacja-premium__timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: flex-start;
  padding: 0.65rem 0 0.65rem 0.15rem;
}

.realizacja-premium__timeline-node {
  position: relative;
  width: 1.35rem;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding-top: 0.15rem;
}

.realizacja-premium__timeline-dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.32rem;
  border-radius: 50%;
  background: var(--clr-cream);
  border: 2px solid rgba(184, 134, 11, 0.55);
  box-shadow: 0 0 0 1px rgba(44, 26, 14, 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.realizacja-premium__timeline-step:hover .realizacja-premium__timeline-dot {
  border-color: rgba(184, 134, 11, 0.9);
  transform: scale(1.15);
}

.realizacja-premium__timeline-body {
  min-width: 0;
  padding-bottom: 0.15rem;
}

.realizacja-premium__timeline-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--clr-text-primary);
  letter-spacing: 0.01em;
}

.realizacja-premium__timeline-detail {
  margin: 0.38rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--clr-text-secondary);
}

.realizacja-premium__materials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.realizacja-premium__material-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(252, 248, 242, 0.95);
  border: 1px solid rgba(44, 26, 14, 0.07);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.realizacja-premium__material-tile:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(184, 134, 11, 0.22);
  box-shadow: 0 6px 18px rgba(31, 19, 11, 0.06);
}

.realizacja-premium__material-tile__icon {
  display: none;
}

.realizacja-premium__material-icon {
  width: 1.28rem;
  height: 1.28rem;
  display: block;
}

.realizacja-premium__material-tile__label {
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--clr-text-primary);
}

.realizacja-premium__highlights-band {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: clamp(1.35rem, 3vw, 1.85rem) 0;
  background: linear-gradient(180deg, rgba(250, 246, 238, 0.97) 0%, var(--clr-beige-light) 100%);
  border: 1px solid rgba(44, 26, 14, 0.08);
  border-radius: 1rem;
  box-shadow: 0 8px 26px rgba(31, 19, 11, 0.05);
}

.realizacja-premium__highlights-band__inner {
  margin: 0 auto;
}

.realizacja-premium__highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.72rem, 1.8vw, 1.1rem);
}

.realizacja-premium__highlight-card {
  padding: clamp(0.78rem, 1.5vw, 1rem);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(44, 26, 14, 0.09);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.realizacja-premium__highlight-card:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(184, 134, 11, 0.22);
  box-shadow: 0 8px 22px rgba(31, 19, 11, 0.08);
}

.realizacja-premium__highlight-card__icon {
  display: none;
}

.realizacja-premium__highlight-icon {
  display: none;
}

.realizacja-premium__highlight-card__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--clr-text-primary);
  text-align: center;
  text-wrap: balance;
}

.realizacja-premium__highlight-card__text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.52;
  color: var(--clr-text-secondary);
  text-align: center;
  text-wrap: balance;
}

.realizacja-premium__reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.realizacja-premium__reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.realizacja-premium__timeline-step.realizacja-premium__reveal {
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
}

.realizacja-premium__material-tile.realizacja-premium__reveal {
  transition-delay: calc(var(--reveal-i, 0) * 55ms);
}

.realizacja-premium__highlight-card.realizacja-premium__reveal {
  transition-delay: calc(var(--reveal-i, 0) * 85ms);
}

@media (prefers-reduced-motion: reduce) {
  .realizacja-premium__reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .realizacja-premium__timeline-step.realizacja-premium__reveal,
  .realizacja-premium__material-tile.realizacja-premium__reveal,
  .realizacja-premium__highlight-card.realizacja-premium__reveal {
    transition-delay: 0ms;
  }

  .realizacja-premium__timeline-dot {
    transition: none;
  }
}

@media (max-width: 960px) {
  .realizacja-premium__highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .realizacja-premium__scope-pair {
    grid-template-columns: 1fr;
  }

  .realizacja-premium__materials-grid {
    grid-template-columns: 1fr;
  }

  .realizacja-premium__highlights-grid {
    grid-template-columns: 1fr;
  }

  .realizacja-premium__prose-meta {
    grid-template-columns: 1fr;
    gap: 0.15rem 0;
  }

  .realizacja-premium__prose-meta-def {
    margin-bottom: 0.5rem;
  }
}

.realizacja-premium__statement {
  margin: 0;
  padding-left: 1.05rem;
  border-left: 2px solid rgba(184, 134, 11, 0.34);
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 1.9vw, 1.28rem);
  line-height: 1.62;
  color: var(--clr-text-primary);
}

.realizacja-premium__subheading {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.06rem;
  line-height: 1.25;
  color: var(--clr-text-primary);
}

.realizacja-premium__scope,
.realizacja-premium__description {
  padding-top: 0.35rem;
}

.realizacja-premium__scope-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.36rem;
}

.realizacja-premium__scope-list li {
  position: relative;
  margin: 0;
  padding-left: 0.9rem;
  line-height: 1.5;
  color: var(--clr-text-secondary);
}

.realizacja-premium__scope-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 999px;
  background: rgba(184, 134, 11, 0.72);
}

.realizacja-premium__description p {
  margin: 0;
  line-height: 1.6;
  color: var(--clr-text-secondary);
}

.realizacja-premium__similar {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.realizacja-premium__similar--separated {
  padding-top: clamp(1.8rem, 3.8vw, 2.6rem);
  border-top: 1px solid rgba(44, 26, 14, 0.09);
}

.realizacja-similar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.realizacja-similar__card {
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(44, 26, 14, 0.07);
  background: rgba(255, 255, 255, 0.55);
  transition:
    transform 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth);
}

.realizacja-similar__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 26, 14, 0.08);
}

.realizacja-similar__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.realizacja-similar__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.realizacja-similar__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  margin: 0.75rem 1rem 0.25rem;
}

.realizacja-similar__cat {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-accent-gold);
  margin: 0 1rem 1rem;
}

.realizacja-lightbox {
  position: fixed;
  inset: 0;
  z-index: 260;
  background: rgba(6, 4, 3, 0.93);
  backdrop-filter: blur(2px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.realizacja-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.realizacja-lightbox__stage {
  width: min(96vw, 1320px);
  height: min(92dvh, 960px);
  display: grid;
  place-items: center;
  padding: clamp(2.9rem, 5vw, 4.2rem) clamp(1rem, 2.8vw, 2.8rem) clamp(2.6rem, 4vw, 3rem);
}

.realizacja-lightbox__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.realizacja-lightbox__close,
.realizacja-lightbox__nav {
  position: absolute;
  border: 1px solid rgba(245, 237, 224, 0.72);
  background: rgba(14, 11, 8, 0.45);
  color: rgba(255, 255, 255, 0.98);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.realizacja-lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  z-index: 2;
}

.realizacja-lightbox__close svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.realizacja-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  z-index: 2;
}

.realizacja-lightbox__nav--prev {
  left: 1rem;
}

.realizacja-lightbox__nav--next {
  right: 1rem;
}

.realizacja-lightbox__nav svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.realizacja-lightbox__counter {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 237, 224, 0.42);
  background: rgba(14, 11, 8, 0.45);
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, 0.94);
}

.realizacja-lightbox__close:hover,
.realizacja-lightbox__nav:hover {
  background: rgba(184, 134, 11, 0.52);
  border-color: rgba(245, 237, 224, 0.9);
  box-shadow: 0 10px 24px rgba(13, 10, 7, 0.32);
}

.realizacja-premium__back {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.8rem;
  padding-top: 2.1rem;
  border-top: 1px solid rgba(44, 26, 14, 0.08);
}

@media (max-width: 900px) {
  .portfolio-premium__card,
  .portfolio-premium__card--tall,
  .portfolio-premium__card--wide,
  .portfolio-premium__grid--featured .portfolio-premium__card--featured-hero {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .portfolio-premium__card--featured-hero .portfolio-premium__card-media {
    aspect-ratio: 16 / 10;
    min-height: 200px;
  }

  .portfolio-premium__card--tall .portfolio-premium__card-media {
    min-height: 200px;
    aspect-ratio: 16 / 10;
  }

  .realizacja-premium__content {
    padding-top: 1.85rem;
    padding-bottom: 2.45rem;
    gap: 1.85rem;
  }

  .realizacja-premium__hero {
    min-height: 50vh;
    padding: clamp(2.5rem, 9vw, 3.4rem) 0;
  }

  .realizacja-premium__showcase {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .realizacja-premium__showcase-info {
    position: static;
    top: auto;
  }

  .realizacja-premium__showcase-info-card {
    padding: 1rem;
  }

  .realizacja-premium__showcase-title {
    font-size: 1.18rem;
  }

  .realizacja-premium__showcase-summary {
    font-size: 0.97rem;
    margin-bottom: 0.85rem;
  }

  .realizacja-premium__gallery-head {
    margin-bottom: 0.95rem;
  }

  .realizacja-premium__gallery-counter {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
  }

  .realizacja-gallery--premium .realizacja-gallery__main img {
    min-height: min(46vh, 22rem);
    max-height: min(56vh, 28rem);
  }

  .realizacja-gallery__nav {
    width: 2.6rem;
    height: 2.6rem;
  }

  .realizacja-gallery__nav--prev {
    left: 0.55rem;
  }

  .realizacja-gallery__nav--next {
    right: 0.55rem;
  }

  .realizacja-premium__details {
    margin-bottom: 2.7rem;
  }

  .realizacja-premium__sections-grid--list {
    grid-template-columns: 1fr;
    gap: 0.62rem;
  }

  .realizacja-premium__sections-grid--text:not(.realizacja-premium__sections-grid--prose) {
    grid-template-columns: 1fr;
    gap: 0.62rem;
  }

  .realizacja-premium__sections-grid--prose {
    gap: 0.62rem;
  }

  .realizacja-premium__tech-row {
    padding: 0.86rem 0.9rem;
    border-left: none;
  }

  .realizacja-premium__tech-list {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .realizacja-premium__tech-row:first-child,
  .realizacja-premium__tech-row:nth-child(4) {
    border-top: none;
  }

  .realizacja-premium__tech-row:first-child {
    border-top: 1px solid rgba(44, 26, 14, 0.07);
  }

  .realizacja-premium__meta-value {
    font-size: 0.95rem;
  }

  .realizacja-premium__statement {
    font-size: 1.03rem;
    line-height: 1.62;
    padding-left: 0.75rem;
  }

  .realizacja-similar {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .realizacja-premium__back {
    gap: 0.55rem;
    margin-top: 1.8rem;
    padding-top: 1.25rem;
  }

  .realizacja-premium__back .btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .realizacja-lightbox__stage {
    width: 100vw;
    height: 100dvh;
    padding: 4.2rem 0.5rem 3rem;
  }

  .realizacja-lightbox__nav {
    width: 2.55rem;
    height: 2.55rem;
  }

  .realizacja-lightbox__nav--prev {
    left: 0.4rem;
  }

  .realizacja-lightbox__nav--next {
    right: 0.4rem;
  }

  .realizacja-lightbox__close {
    top: 0.55rem;
    right: 0.55rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .realizacja-lightbox__counter {
    bottom: 0.7rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 768px) {
  .hero__eyebrow {
    gap: 0.75rem;
    margin-bottom: 1.1rem;
  }

  .hero__eyebrow-line {
    width: 28px;
  }

  .hero__eyebrow-text {
    letter-spacing: 0.15em;
  }

  .hero__scroll {
    bottom: clamp(0.85rem, 4vh, 1.8rem);
    gap: 0.35rem;
  }

  .hero__scroll-text {
    font-size: 0.58rem;
  }
}

@media (max-width: 640px) {
  .page-404__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .page-404__logo-mark {
    width: min(100%, clamp(11rem, 72vw, 22rem));
  }

  .portfolio-premium__card-summary {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .portfolio-premium__card-meta {
    font-size: 0.72rem;
  }

  .realizacja-gallery--premium .realizacja-gallery__thumb {
    width: 5.2rem;
    height: 3.65rem;
  }

  .realizacja-gallery__zoom {
    width: 2.25rem;
    height: 2.25rem;
    top: 0.7rem;
    right: 0.7rem;
  }

  .realizacja-gallery__nav {
    width: 2.35rem;
    height: 2.35rem;
  }

  .realizacja-similar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .page-404__hero {
    align-items: center;
    padding-top: clamp(1.5rem, 5vw, 2.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-premium__card-link:hover {
    transform: none;
  }

  .portfolio-premium__card-link:hover .portfolio-premium__card-media img {
    transform: none;
  }

  .portfolio-premium__card-cta-inner {
    opacity: 1;
    transform: none;
  }

  .header__links .header__link,
  .header__cta {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Page loader (pierwszy paint; jedyna dodatkowa warstwa startowa) ---------- */
html.page-loading {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.48s ease,
    visibility 0.48s ease;
}

.page-loader.page-loader--exit {
  opacity: 0;
  visibility: hidden;
}

.page-loader__backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(12, 8, 5, 0.94) 0%,
    rgba(22, 14, 9, 0.92) 45%,
    rgba(8, 5, 3, 0.96) 100%
  );
}

.page-loader__frame {
  position: relative;
  z-index: 1;
  width: min(42vw, 200px);
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.page-loader__line {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(196, 154, 90, 0.95),
    rgba(245, 237, 224, 0.55),
    transparent
  );
  animation: pageLoaderSweep 1.12s ease-in-out infinite;
  will-change: transform;
}

@keyframes pageLoaderSweep {
  0% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(310%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.page-loading {
    overflow: auto;
  }

  .page-loader__line {
    animation: none;
    width: 100%;
    opacity: 0.78;
  }
}
