/* ============================================
   VARIABLES — dark luxury + champagne gold
   ============================================ */
:root {
  /* Colors */
  --bg: #0A0A0A;
  --bg-light: #111110;
  --bg-elevated: #1A1815;
  --bg-contrast: #12110F;
  --bg-contrast-light: #1A1815;
  --gold: #C9A96E;
  --gold-dim: #B8964F;
  --gold-muted: #A08050;
  --gold-glow: rgba(201,169,110,0.12);
  --gold-glow-strong: rgba(201,169,110,0.25);
  --gold-bg: rgba(201,169,110,0.05);
  --gold-bg2: rgba(201,169,110,0.08);
  --white: #FFFFFF;
  --text: #E8E6E2;
  --text-secondary: #A8A49E;
  --text-muted: #C8C4BE;
  --text-dim: #908C86;
  --border: #1E1C18;
  --border-light: #181614;

  /* Typography */
  --serif: 'Bebas Neue', Impact, sans-serif;
  --sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --fs-xs: clamp(0.78rem, 0.65rem + 0.25vw, 0.8rem);
  --fs-sm: clamp(0.8rem, 0.72rem + 0.4vw, 0.9rem);
  --fs-base: clamp(0.88rem, 0.8rem + 0.4vw, 0.95rem);
  --fs-md: clamp(0.95rem, 0.85rem + 0.5vw, 1.05rem);
  --fs-lg: clamp(1.05rem, 0.95rem + 0.5vw, 1.2rem);
  --fs-xl: clamp(1.15rem, 1rem + 0.7vw, 1.35rem);
  --fs-h1: clamp(3.4rem, 9vw, 7rem);
  --fs-h2: clamp(2.2rem, 4.5vw, 3.5rem);
  --fs-h2-sm: clamp(2rem, 4vw, 3.2rem);
  --fs-h3: clamp(1.6rem, 3vw, 2.2rem);
  --fs-h3-sm: clamp(1.4rem, 2.5vw, 2rem);
  --fs-display: clamp(4rem, 7vw, 6rem);
  --fs-display-lg: clamp(4rem, 12vw, 10rem);
  --fs-stat: clamp(2rem, 3.5vw, 2.8rem);
  --fs-statement: clamp(1.8rem, 4vw, 3rem);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 100px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.45);
  --shadow-gold: 0 0 20px rgba(201,169,110,0.15);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  /* Layout */
  --max-w: 1200px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* Skip link */
.skip-link { position: absolute; top: -100%; left: var(--space-md); padding: var(--space-sm) var(--space-md); background: var(--gold); color: var(--bg); font-weight: 600; border-radius: var(--radius-md); z-index: 999; font-size: var(--fs-sm); }
.skip-link:focus { top: var(--space-md); }

/* Focus visible */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-xl); }

/* ============================================
   HEADER — glass morphism nav
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.5s var(--ease);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 1;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
}

.header.scrolled::before { opacity: 1; }
.header.scrolled { box-shadow: 0 1px 0 var(--border); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-family: var(--sans);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.logo em {
  color: var(--gold);
  font-style: normal;
}

.nav { display: flex; align-items: center; gap: var(--space-sm); }

.nav a {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-base);
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
  letter-spacing: 0.01em;
}

.nav a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--bg) !important;
  font-weight: 600 !important;
  margin-left: var(--space-md);
  padding: var(--space-sm) var(--space-lg) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-gold);
}

.nav-cta:hover { background: var(--gold-dim) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px; height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-xs);
}

.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: 0.3s var(--ease);
}

/* Mobile Nav — OUTSIDE nav, no backdrop-filter conflict */
.mobile-nav {
  display: flex;
  position: fixed;
  inset: 0; z-index: 200;
  background: var(--bg);
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl);
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.mobile-nav.open { opacity: 1; visibility: visible; }

.mobile-nav a {
  font-family: var(--serif);
  font-size: var(--fs-h2-sm);
  color: var(--text-secondary);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s;
}

.mobile-nav a:hover { color: var(--gold); }

.mobile-close {
  position: absolute;
  top: 24px; right: 40px;
  background: none; border: none;
  font-size: 1.5rem; cursor: pointer;
  color: var(--text-secondary);
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   HERO — full viewport, ceramic sheen
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0d0c08 0%, #0a0a0a 50%, #0a0a0a 100%);
  z-index: 0;
}

/* Ceramic sheen shimmer effect */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(201,169,110,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 60%, rgba(201,169,110,0.03) 0%, transparent 60%);
  z-index: 1;
  animation: shimmer 8s ease-in-out infinite alternate;
}

@keyframes shimmer {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.55) 45%, rgba(10,10,10,0.92) 100%),
    url('images/hero-imagen4-ultra.jpg') center/cover no-repeat;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.55) 45%, rgba(10,10,10,0.92) 100%),
    image-set(url('images/hero-imagen4-ultra.webp') type('image/webp'), url('images/hero-imagen4-ultra.jpg') type('image/jpeg')) center/cover no-repeat;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--space-3xl) + 60px) var(--space-xl) var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.hero h1 {
  font-family: var(--serif);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 820px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
  text-shadow: 0 0 50px rgba(201,169,110,0.25);
}

.hero-sub {
  font-size: var(--fs-xl);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--fs-base);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-xl);
  letter-spacing: 0.01em;
}

.btn-gold {
  background: var(--gold);
  color: var(--bg);
}

.btn-gold:hover {
  background: var(--gold-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow-strong);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(201,169,110,0.3); color: var(--gold); }

/* Hero stats bar */





/* ============================================
   SECTION SYSTEM
   ============================================ */
.section { padding: var(--space-3xl) 0; }
.section-light { background: var(--bg-light); }
.section-dark { background: var(--bg); }
.section-contrast {
  background: var(--bg-contrast);
  border-top: 1px solid rgba(201,169,110,0.06);
  border-bottom: 1px solid rgba(201,169,110,0.06);
}

.section-head {
  display: block;
  margin-bottom: var(--space-2xl);
}

.section-num-block,
.section-head-center .section-num { display: none; }

.section-text h2 {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.section-text h2 em {
  font-style: normal;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(201,169,110,0.15);
}

.section-text p {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 540px;
}

/* Center header variant */
.section-head-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.section-head-center .section-num {
  font-size: var(--fs-display);
  margin-bottom: -16px;
}

.section-head-center h2 {
  font-family: var(--serif);
  font-size: var(--fs-h2-sm);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
}

.section-head-center h2 em { font-style: normal; color: var(--gold); }

.section-head-center p {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================
   STATEMENT — manifesto section
   ============================================ */
.statement {
  padding: var(--space-2xl) 0;
  text-align: center;
  background: var(--bg-contrast);
  border-top: 1px solid rgba(201,169,110,0.08);
  border-bottom: 1px solid rgba(201,169,110,0.08);
  position: relative;
  overflow: hidden;
}

.statement::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(201,169,110,0.03), transparent);
}

.statement-text {
  position: relative;
  font-family: var(--serif);
  font-size: var(--fs-statement);
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.statement-text em {
  font-style: normal;
  color: var(--gold);
}

/* ============================================
   PHILOSOPHY PANEL — pinned scroll reveal
   ============================================ */
.philosophy {
  position: relative;
}

.philosophy__panel {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Panel 1 — dark text, will be pinned by GSAP */
.philosophy__panel--dark {
  background: var(--bg);
  z-index: 1;
}

.philosophy__bg {
  position: absolute;
  inset: 0;
}

.philosophy__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201,169,110,0.04), transparent),
    radial-gradient(circle at 20% 80%, rgba(201,169,110,0.02), transparent);
}

.philosophy__bg::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(201,169,110,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.philosophy__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-xl);
}

.philosophy__line {
  font-family: var(--serif);
  font-size: var(--fs-display);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--white);
  opacity: 0;
  transform: translateY(30px);
  margin-bottom: var(--space-lg);
}

.philosophy__line--accent {
  color: var(--gold);
  text-shadow: 0 0 60px rgba(201,169,110,0.2);
}

.philosophy__line--small {
  font-family: var(--sans);
  font-size: var(--fs-xl);
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.6;
  margin-top: var(--space-xl);
}

.philosophy__divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: var(--space-xl) auto;
  opacity: 0;
  transform: scaleX(0);
}

/* Panel 2 — full-screen photo, scrolls OVER pinned panel 1 */
.philosophy__panel--photo {
  position: relative;
  z-index: 2;
}

.philosophy__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophy__photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 40%),
    linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, transparent 30%);
  z-index: 2;
}

.philosophy__photo-text {
  position: relative;
  z-index: 3;
  text-align: center;
}

.philosophy__kicker {
  font-family: var(--sans);
  font-size: var(--fs-xl);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .philosophy__line { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .philosophy__line--small { font-size: var(--fs-lg); }
}

@media (max-width: 480px) {
  .philosophy__line { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .philosophy__panel { height: 80vh; }
}

/* ============================================
   01 — O FIRMIE (About)
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.about-text {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.85;
}

.about-text strong { color: var(--white); }

.about-highlight {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--gold-bg);
  border: 1px solid rgba(201,169,110,0.1);
  border-radius: var(--radius-lg);
}

.about-highlight-num {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.04em;
}

.about-highlight-label {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.4;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.about-img {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1a1610, #0d0c08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  font-size: var(--fs-sm);
  color: var(--text-dim);
  text-align: center;
  padding: var(--space-md);
}

.about-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.about-img .ph-icon { font-size: 2rem; margin-bottom: var(--space-sm); display: block; opacity: 0.3; }

/* ============================================
   02 — USLUGI (Services) — Poker Fan Cards
   ============================================ */
.services-fan {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  min-height: 520px;
  padding: var(--space-xl) 0;
}

/* .fan-slot = outer wrapper that holds fan position (GSAP controls this) */
.fan-slot {
  width: 240px;
  height: 360px;
  position: absolute;
  bottom: 0;
  transform-origin: bottom center;
  /* no transition here — GSAP animates this */
}

/* .fan-card = inner card that handles hover lift */
.fan-card {
  width: 100%;
  height: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
}

.fan-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.92) 100%);
  z-index: 2;
  pointer-events: none;
}

.fan-card__img {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.fan-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.fan-slot:hover .fan-card__img img {
  transform: scale(1.08);
}

.fan-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: var(--space-lg);
  transform: translateY(12px);
  transition: transform 0.4s var(--ease);
}

.fan-card__num {
  font-family: var(--serif);
  font-size: var(--fs-display);
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: -8px;
}

.fan-card h3 {
  font-family: var(--serif);
  font-size: var(--fs-h3-sm);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.fan-card p {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  line-height: 1.6;
  opacity: 0;
  max-height: 0;
  transition: opacity 0.4s var(--ease), max-height 0.4s var(--ease);
}

/* Hover: only lift + scale the inner card, slot stays in place */
.fan-slot:hover {
  z-index: 20 !important;
}

.fan-slot:hover .fan-card {
  transform: translateY(-24px) scale(1.08);
  border-color: rgba(201,169,110,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px var(--gold-glow);
}

.fan-slot:hover .fan-card__content {
  transform: translateY(0);
}

.fan-slot:hover .fan-card p {
  opacity: 1;
  max-height: 80px;
}

/* Services mobile fallback — grid */
.services-grid-mobile {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.service-card-m {
  padding: var(--space-xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card-m::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.service-card-m:hover { transform: translateY(-4px); border-color: rgba(201,169,110,0.15); box-shadow: var(--shadow-md); }
.service-card-m:hover::before { opacity: 1; }

.service-card-m__img {
  margin: calc(-1 * var(--space-xl));
  margin-bottom: var(--space-lg);
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card-m__img img { width: 100%; height: 100%; object-fit: cover; }

.service-card-m h3 {
  font-family: var(--serif);
  font-size: var(--fs-h3-sm);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.service-card-m p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   IMMERSIVE PHOTO BREAK — full-bleed Lando style
   ============================================ */
.immersive {
  position: relative;
  height: 85vh;
  min-height: 500px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.immersive__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.immersive__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.15) 40%, rgba(10,10,10,0.7) 100%),
    radial-gradient(ellipse 80% 60% at 30% 50%, rgba(201,169,110,0.08), transparent);
}

.immersive__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-xl);
}

.immersive__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: var(--space-lg);
}

.immersive__tag::before,
.immersive__tag::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

.immersive h2 {
  font-family: var(--serif);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-md);
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.immersive h2 em {
  font-style: normal;
  color: var(--gold);
  text-shadow: 0 0 50px rgba(201,169,110,0.3);
}

.immersive__sub {
  font-size: var(--fs-xl);
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* Scroll down indicator */
.immersive__scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--gold);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.6;
  animation: bobDown 2s ease-in-out infinite;
}

@keyframes bobDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   PORTFOLIO / REALIZACJE
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,10,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  transition: opacity 0.4s var(--ease);
}

.portfolio-item__overlay h3 {
  font-family: var(--serif);
  font-size: var(--fs-h3-sm);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
}

.portfolio-item__overlay p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

.portfolio-item--wide {
  grid-column: span 2;
}

.portfolio-item--wide + .portfolio-item {
  aspect-ratio: auto;
  height: 100%;
}

.portfolio-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.portfolio-feature__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.portfolio-feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-feature__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl);
}

.portfolio-feature__text h3 {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.portfolio-feature__text p {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Contact background image */
.contact-section {
  position: relative;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: url('images/atmosphere-products.jpg') center/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item--wide { grid-column: span 2; }
  .portfolio-feature { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item--wide { grid-column: span 1; }
}

/* ============================================
   03 — LICZBY (Numbers)
   ============================================ */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.number-card {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(201,169,110,0.03);
  border: 1px solid rgba(201,169,110,0.08);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
}

.number-card:hover {
  background: rgba(201,169,110,0.06);
  border-color: rgba(201,169,110,0.15);
}

.number-val {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
  text-shadow: 0 0 30px rgba(201,169,110,0.2);
}

.number-label {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   SCROLL TEXT — large parallax text
   ============================================ */
.scroll-text {
  padding: var(--space-xl) 0;
  overflow: hidden;
  border-top: 1px solid rgba(201,169,110,0.08);
  border-bottom: 1px solid rgba(201,169,110,0.08);
  background: var(--bg-contrast);
}

.scroll-text-inner {
  font-family: var(--serif);
  font-size: var(--fs-display-lg);
  color: rgba(255,255,255,0.45);
  opacity: 1;
  white-space: nowrap;
  letter-spacing: -0.03em;
  line-height: 1;
  animation: scrollText 25s linear infinite;
}

@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   04 — FAQ
   ============================================ */
.faq-list { max-width: 680px; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  gap: var(--space-lg);
  transition: color 0.3s;
}

.faq-q:hover { color: var(--gold); }

.faq-arrow {
  font-size: 1.2rem;
  color: var(--text-dim);
  transition: transform 0.4s var(--ease), color 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow { transform: rotate(45deg); color: var(--gold); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq-a-inner {
  padding: 0 0 var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 560px;
}

/* ============================================
   05 — KONTAKT (Contact)
   ============================================ */
.contact-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-contrast);
  border-top: 1px solid rgba(201,169,110,0.06);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info h2 {
  font-family: var(--serif);
  font-size: var(--fs-h2-sm);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-info h2 em { font-style: normal; color: var(--gold); }

.contact-info > p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
  font-size: var(--fs-md);
}

.contact-method:hover { border-color: var(--gold); background: var(--gold-bg); }

.contact-method .cm-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--gold-bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--gold);
}

.contact-method .cm-label { color: var(--text-dim); font-size: var(--fs-sm); }
.contact-method .cm-val { color: var(--white); font-weight: 600; }

.contact-pricing-note {
  padding: var(--space-lg);
  background: var(--gold-bg);
  border: 1px solid rgba(201,169,110,0.12);
  border-radius: var(--radius-lg);
  text-align: center;
}

.contact-pricing-note p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-pricing-note strong {
  color: var(--gold);
  font-weight: 600;
}

.contact-form-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-form-card h3 {
  font-family: var(--serif);
  font-size: var(--fs-xl);
  line-height: 1.1;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-form-card .form-sub {
  font-size: var(--fs-sm);
  color: var(--text-dim);
  margin-bottom: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.contact-form-card form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--sans);
  /* Nigdy ponizej 16 px: Safari na iOS przybliza cala strone przy wejsciu
     w pole mniejsze niz 16 px i sam z tego nie wraca. */
  font-size: max(1rem, var(--fs-base));
  color: var(--white);
  background: var(--bg);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-bg);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit {
  width: 100%;
  padding: var(--space-md);
  background: var(--gold);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--sans);
  font-size: var(--fs-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.form-submit:hover {
  background: var(--gold-dim);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,169,110,0.25);
}

.form-note {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--text-dim);
  margin-top: var(--space-md);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: var(--space-2xl) 0 var(--space-xl);
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-brand h3 {
  font-family: var(--serif);
  font-size: var(--fs-h3-sm);
  color: var(--white);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer-brand h3 em { font-style: normal; color: var(--gold); }

.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 300px;
}

.footer h4 {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-dim);
  margin-bottom: var(--space-lg);
}

.footer ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); }

.footer ul a {
  font-size: var(--fs-base);
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer ul a:hover { color: var(--gold); }

/* Footer big logo */
.footer-big-logo {
  text-align: center;
  padding: var(--space-xl) 0 0;
  border-top: 1px solid var(--border);
}

.footer-big-logo span {
  font-family: var(--sans);
  font-size: min(var(--fs-display), 13vw);
  font-weight: 800;
  color: rgba(255,255,255,0.45);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  opacity: 1;
  white-space: nowrap;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  font-size: var(--fs-xs);
  color: var(--text-dim);
}

/* ============================================
   FLOATING CALL BUTTON
   ============================================ */
.float-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  display: flex;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.3s var(--ease);
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  box-shadow: 0 4px 20px rgba(201,169,110,0.4);
  cursor: pointer;
  text-decoration: none;
}

.float-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.float-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow-strong);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.vis { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: 0.1s; }
.rd2 { transition-delay: 0.2s; }
.rd3 { transition-delay: 0.3s; }
.rd4 { transition-delay: 0.4s; }
.rd5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, [class*="reveal"], [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .wrap { padding: 0 28px; }
  .section-head { grid-template-columns: 1fr; gap: var(--space-md); }
  .section-num-label { position: static; margin-top: var(--space-xs); }
  .about-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .numbers-grid { grid-template-columns: repeat(3, 1fr); }
  /* Fan slots scale down */
  .fan-slot { width: 190px; height: 290px; }
  .services-fan { min-height: 420px; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: var(--space-lg); }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  /* Switch to mobile grid — hide fan, show grid */
  .services-fan { display: none !important; }
  .services-grid-mobile { display: grid; }
  .immersive { height: 60vh; min-height: 400px; }
  .immersive h2 { font-size: var(--fs-h2); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(2rem, 6vw, 3rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr; }
  .about-images { grid-template-columns: 1fr; }
  .services-grid-mobile { grid-template-columns: 1fr; }
  body { padding-bottom: 68px; }
  .immersive { height: 50vh; }
}

/* ============================================
   CARBON FIBER TEXTURE (subtle bg pattern)
   ============================================ */
.carbon-bg {
  position: relative;
}

.carbon-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.015;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.03) 2px,
      rgba(255,255,255,0.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.03) 2px,
      rgba(255,255,255,0.03) 4px
    );
  pointer-events: none;
  z-index: 0;
}

.carbon-bg > * { position: relative; z-index: 1; }


/* ============================================
   PODSTRONA REALIZACJI
   ============================================ */
.page-hero {
  padding: calc(var(--space-3xl) + 96px) 0 var(--space-3xl);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(56px, 9vw, 132px); }
.page-hero p { font-size: var(--fs-lg, 1.125rem); }
.page-hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--space-lg);
  margin-top: var(--space-2xl); padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}
.page-hero__meta div { min-width: 110px; }
.page-hero__meta dt {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-secondary); opacity: .7;
}
.page-hero__meta dd {
  margin: 6px 0 0; font-family: var(--serif); font-size: 30px;
  line-height: 1; color: var(--gold);
}
.page-hero .breadcrumb {
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}
.page-hero .breadcrumb a { color: var(--gold); text-decoration: none; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p { max-width: 62ch; margin-top: var(--space-md); color: var(--text-secondary); }

.case {
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--border);
}
.case-head { margin-bottom: var(--space-2xl); }
.case-head p { max-width: 62ch; margin-top: var(--space-md); color: var(--text-secondary); }


/* Przed / po */
.ba-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.ba-item img, .ba-item video { width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.ba-tag {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  background: rgba(10,10,10,0.7);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.14);
}
.ba-tag--po { background: rgba(201,169,110,0.9); color: #14120e; border-color: transparent; }

.case-gallery figure { margin: 0; }

.page-cta { padding: var(--space-3xl) 0; text-align: center; }
.page-cta h2 {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.page-cta p { max-width: 52ch; margin: var(--space-md) auto var(--space-xl); color: var(--text-secondary); }

/* Instagram w stopce i kontakcie */
.social-links { display: flex; gap: var(--space-md); margin-top: var(--space-md); }
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.social-links a:hover { color: var(--gold); border-color: rgba(201,169,110,0.4); }
.social-links svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 900px) {
  .case-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ba-grid { grid-template-columns: 1fr; }
  .case-gallery { grid-template-columns: 1fr; }
}

/* ============================================
   PASEK ZGODY
   ============================================ */
.zgoda {
  position: fixed;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 200;
  display: none;
  gap: var(--space-lg);
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(14,13,11,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.zgoda.pokaz { display: flex; }
.zgoda p { font-size: var(--fs-sm); color: var(--text-secondary); margin: 0; max-width: 56ch; }
.zgoda-akcje { display: flex; gap: var(--space-sm); flex-shrink: 0; }
.zgoda button {
  padding: 10px 20px;
  border-radius: 100px;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.zgoda button:hover { color: var(--white); border-color: rgba(255,255,255,0.25); }
.zgoda button.zgoda-tak { background: var(--gold); border-color: var(--gold); color: #14120e; }
.zgoda button.zgoda-tak:hover { filter: brightness(1.08); color: #14120e; }
@media (max-width: 640px) {
  .zgoda { flex-direction: column; align-items: stretch; }
  .zgoda-akcje button { flex: 1; }
}

/* ============================================
   SUWAK PRZED / PO
   ============================================ */
.suwak {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  touch-action: none;
  user-select: none;
  cursor: ew-resize;
  background: #000;
}
.suwak img { display: block; width: 100%; height: auto; pointer-events: none; }
.suwak__po {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 var(--pozycja, 50%));
}
.suwak__po img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.suwak__uchwyt {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pozycja, 50%);
  width: 2px;
  margin-left: -1px;
  background: var(--gold);
  pointer-events: none;
}
.suwak__uchwyt::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.suwak__uchwyt::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  z-index: 1;
  width: 22px; height: 10px;
  margin: -5px 0 0 -11px;
  background:
    linear-gradient(to right, #14120e 3px, transparent 3px) 0 0/6px 10px no-repeat,
    linear-gradient(to left, #14120e 3px, transparent 3px) 100% 0/6px 10px no-repeat;
  clip-path: polygon(0 50%, 35% 0, 35% 100%, 65% 0, 65% 100%, 100% 50%);
}
.suwak__tag {
  position: absolute;
  top: var(--space-md);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.suwak__tag--przed { left: var(--space-md); background: rgba(10,10,10,0.72); color: var(--white); border: 1px solid rgba(255,255,255,0.14); }
.suwak__tag--po { right: var(--space-md); background: rgba(201,169,110,0.92); color: #14120e; }
.suwak__pomoc {
  margin-top: var(--space-md);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  text-align: center;
}

/* ============================================
   UKLAD REALIZACJI Z PRZYKLEJONYM PASKIEM
   ============================================ */
.case-dane dl { margin: 0; }
@media (max-width: 900px) {
  .case-layout { grid-template-columns: 1fr; gap: var(--space-lg); }
  .case-dane { position: static; }
  .case-dane dl { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--space-sm) var(--space-lg); }
  .case-dane dd { margin-bottom: 0; }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.case-gallery img, .ba-item img { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  background: rgba(6,6,5,0.94);
  backdrop-filter: blur(6px);
}
.lightbox.otwarty { display: flex; }
.lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 86vh;
  border-radius: var(--radius-lg);
  display: block;
}
.lightbox__opis {
  position: absolute;
  left: 0; right: 0; bottom: var(--space-lg);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  padding: 0 var(--space-lg);
}
.lightbox__zamknij, .lightbox__nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(20,18,14,0.8);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  font-family: inherit;
}
.lightbox__zamknij { top: var(--space-lg); right: var(--space-lg); }
.lightbox__nav--wstecz { left: var(--space-lg); top: 50%; margin-top: -24px; }
.lightbox__nav--dalej { right: var(--space-lg); top: 50%; margin-top: -24px; }
.lightbox__zamknij:hover, .lightbox__nav:hover { color: var(--gold); border-color: rgba(201,169,110,0.5); }
@media (max-width: 640px) {
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav--wstecz { left: 8px; }
  .lightbox__nav--dalej { right: 8px; }
}


/* ============================================
   REALIZACJA: otwarcie dwukolumnowe (split-feature)
   ============================================ */
.rz { padding: var(--space-3xl) 0; border-bottom: 1px solid var(--border); }
.rz:last-of-type { border-bottom: 0; }

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.split-feature__content { display: flex; flex-direction: column; justify-content: center; gap: var(--space-md); }
.split-feature__eyebrow {
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.split-feature__title {
  font-family: var(--serif); font-size: var(--fs-h2); font-weight: 400;
  text-transform: uppercase; letter-spacing: .03em; line-height: 1.05; margin: 0;
}
.split-feature__text { color: var(--text-secondary); margin: 0; max-width: 52ch; }
.split-feature__meta {
  display: flex; flex-wrap: wrap; gap: var(--space-sm);
  margin-top: var(--space-sm);
}
.split-feature__meta span {
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 100px;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-secondary);
}
@media (max-width: 900px) {
  .split-feature { grid-template-columns: 1fr; gap: var(--space-lg); }
}

/* ── Porownanie przed/po (swap-card) ──
   Suwak zamiast najechania: dziala tak samo myszka i palcem, wiec na telefonie
   nie ma martwej interakcji. Lewa polowa to PRZED, prawa to PO. */
.swap-card {
  --x: 50%;
  position: relative; overflow: hidden; width: 100%;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  aspect-ratio: 4/5; max-height: 72vh; background: #000;
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.swap-card__base, .swap-card__hover {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}
/* PO odslaniane od prawej krawedzi do uchwytu */
.swap-card__hover { clip-path: inset(0 0 0 var(--x)); }

/* Uchwyt: pionowa linia i chwytak */
.swap-card__uchwyt {
  position: absolute; top: 0; bottom: 0; left: var(--x); z-index: 3;
  width: 2px; margin-left: -1px; pointer-events: none;
  background: rgba(255,255,255,.9); box-shadow: 0 0 14px rgba(0,0,0,.55);
}
.swap-card__uchwyt::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 46px; height: 46px; transform: translate(-50%,-50%);
  border-radius: 50%; background: rgba(10,10,10,.72);
  border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(8px);
  background-image:
    linear-gradient(to right, transparent 12px, rgba(255,255,255,.9) 12px, rgba(255,255,255,.9) 13px, transparent 13px),
    linear-gradient(to right, transparent 32px, rgba(255,255,255,.9) 32px, rgba(255,255,255,.9) 33px, transparent 33px);
}
.swap-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Etykiety: obie widoczne caly czas, bo to porownanie, a nie przelacznik */
.swap-card__tag, .film__tag {
  position: absolute; top: var(--space-md); left: var(--space-md); z-index: 2;
  padding: 6px 14px; border-radius: 100px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  background: rgba(10,10,10,.72); color: var(--white);
  border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px);
}
.swap-card__tag { display: flex; gap: 0; padding: 0; background: none; border: none; backdrop-filter: none;
  left: var(--space-md); right: var(--space-md); justify-content: space-between; }
.swap-card__tag i {
  font-style: normal; padding: 6px 14px; border-radius: 100px;
  background: rgba(10,10,10,.72); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px);
}
.swap-card__tag .po { background: rgba(201,169,110,.92); color: #14120e; border-color: transparent; }

.swap-card__hint {
  position: absolute; bottom: var(--space-md); left: 50%; transform: translateX(-50%); z-index: 4;
  padding: 8px 16px; border-radius: 100px; white-space: nowrap;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  background: rgba(10,10,10,.6); color: var(--white);
  border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px);
  transition: opacity .3s var(--ease); pointer-events: none;
}
.swap-card.ruszony .swap-card__hint { opacity: 0; }

/* ── Film ── */
.film { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: #000; }
.film video { display: block; width: 100%; aspect-ratio: 9/16; max-height: 72vh; object-fit: cover; }
.film__tag--po { background: rgba(201,169,110,.92); color: #14120e; border-color: transparent; }
.filmy-para { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
@media (max-width: 560px) { .filmy-para { grid-template-columns: 1fr; } }

/* ── Pasek zdjec: natywne przewijanie z podgladem kolejnego (scroll-cards) ── */
.rz__pasek { margin-top: var(--space-2xl); }
.rz__label {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}
.rz__label::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); flex: none; }
.scroll-cards {
  display: flex; gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--space-lg);
  padding-bottom: var(--space-md);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,169,110,.5) transparent;
}
.scroll-cards::-webkit-scrollbar { height: 4px; }
.scroll-cards::-webkit-scrollbar-track { background: var(--border); border-radius: 4px; }
.scroll-cards::-webkit-scrollbar-thumb { background: rgba(201,169,110,.5); border-radius: 4px; }
.scroll-cards > * { flex: 0 0 min(82%, 380px); scroll-snap-align: start; }
@media (min-width: 768px) { .scroll-cards > * { flex: 0 0 min(34%, 400px); } }

.kadr { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); aspect-ratio: 3/4; background: #000; }
.kadr img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); cursor: zoom-in; }
.kadr:hover img { transform: scale(1.05); }
.kadr__caption {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 1;
  padding: var(--space-lg);
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  pointer-events: none;
}
.kadr__title { font-family: var(--serif); font-size: var(--fs-h3-sm); color: var(--white); text-transform: uppercase; letter-spacing: .03em; margin: 0; }
.kadr__sub { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.72); margin-top: 4px; }
.kadr__sub b { color: var(--gold); font-weight: 500; }

/* ── Otwarcie podstrony: tytul + zdjecie warsztatu ── */
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-2xl);
  align-items: center;
}
.page-hero__foto {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.page-hero__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero__foto figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--space-lg);
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

/* ── Plakietka w hero ── */
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(201,169,110,0.35);
  border-radius: 100px;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-chip::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* ============================================
   ZAWIJANIE WIERSZY
   balance: krotkie bloki, wyrownuje dlugosc linii i usuwa sieroty
   pretty:  dluzsze akapity, pilnuje ostatniej linii
   ============================================ */
h1, h2, h3, h4,
.hero-sub,
.hero-chip,
.section-head-center p,
.page-hero h1,
.page-hero p,
.split-feature__title,
.split-feature__text,
.rz__label,
.kadr__title,
.kadr__sub,
.swap-card__hint,
.page-hero__meta dt,
.page-hero__meta dd,
.faq-q,
.number-label,
.hero-stat-label,
.case-kicker,
.split-feature__eyebrow,
.footer-brand p,
.form-note,
.form-sub,
blockquote {
  text-wrap: balance;
}

p,
.faq-a-inner,
.about-text,
.service-card p,
.footer p,
li {
  text-wrap: pretty;
}


/* ============================================
   DOTYK NA TELEFONIE
   Zmierzone na produkcji 1.09.2026 na 320/360/390/430 px:
   pola formularza mialy 36 px wysokosci, linki w stopce 18 px.
   Prog to 44 px, bo tyle ma opuszek kciuka.
   ============================================ */
@media (max-width: 900px) {
  .form-group input,
  .form-group select { min-height: 48px; }

  /* Linki w stopce mialy sama linie tekstu jako cel. Padding daje wysokosc,
     odstep listy schodzi do zera, wiec stopka nie rosnie o te 8 wierszy. */
  .footer ul { gap: 0; }
  .footer ul a { display: block; padding: 13px 0; }

  .social-links a { min-height: 44px; }
  .zgoda-akcje button { min-height: 44px; }
  .logo { display: inline-block; padding: 9px 0; }
}

/* ── Wybor realizacji: pasek miniatur skaczacy do sekcji ──
   Kotwice musza sie zatrzymac PONIZEJ przyklejonego naglowka (80px),
   inaczej tytul sekcji chowa sie pod nim. */
.rz { scroll-margin-top: 96px; }

.wybor { padding-top: var(--space-2xl); }
.wybor__tytul {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-secondary);
  margin: 0 0 var(--space-lg);
}
.wybor__tytul::before {
  content: ''; width: 8px; height: 8px; border-radius: 2px;
  background: var(--gold); flex: none;
}
.wybor__lista {
  list-style: none; margin: 0;
  padding: 0 0 var(--space-md);
  display: grid; grid-auto-flow: column; grid-auto-columns: min(44%, 210px);
  gap: var(--space-md);
  overflow-x: auto; scroll-snap-type: x proximity;
  scroll-padding-left: var(--space-lg);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(201,169,110,.5) transparent;
}
.wybor__lista::-webkit-scrollbar { height: 4px; }
.wybor__lista::-webkit-scrollbar-track { background: var(--border); border-radius: 4px; }
.wybor__lista::-webkit-scrollbar-thumb { background: rgba(201,169,110,.5); border-radius: 4px; }
@media (min-width: 900px) {
  .wybor__lista {
    grid-auto-flow: row; grid-template-columns: repeat(4, 1fr);
    overflow: visible; padding-bottom: 0;
  }
}
.wybor__karta {
  display: block; scroll-snap-align: start;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; background: var(--bg-elevated);
  text-decoration: none; color: inherit;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.wybor__karta:hover, .wybor__karta:focus-visible { border-color: var(--gold); transform: translateY(-3px); }
.wybor__karta img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16/10; object-fit: cover;
}
.wybor__nazwa {
  display: block; padding: 10px 12px 12px;
  font-size: 13px; letter-spacing: .03em; color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wybor__karta { transition: none; }
  .wybor__karta:hover, .wybor__karta:focus-visible { transform: none; }
}
