/* =============================================================
   style.css — Magdalena Milczarek-Sztabińska
   milczarek-sztabinska.pl
   ============================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --graphite:   #1A1A18;
  --cream:      #F7F3EE;
  --cream-dark: #EDE8E1;
  --gold:       #C9A96E;
  --gold-light: #E8D5B0;
  --sage:       #8B9E8A;
  --sage-light: #D4DDD3;
  --mid:        #6B6B68;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background: var(--cream);
  color: var(--graphite);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
}

/* ── NAV ─────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  transition: background 0.4s, backdrop-filter 0.4s;
  overflow: visible;
  gap: 1.5rem;
}
nav.scrolled {
  background: rgba(247,243,238,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,169,110,0.15);
}
.nav-logo-svg { height: 48px; width: auto; display: block; }
.nav-logo-svg .logo-name { fill: #F7F3EE; transition: fill 0.3s; }
.nav-logo-svg .logo-sub  { fill: rgba(247,243,238,0.55); transition: fill 0.3s; }
.nav-logo-svg .logo-line { stroke: rgba(201,169,110,0.6); transition: stroke 0.3s; }
nav.scrolled .nav-logo-svg .logo-name { fill: #1A1A18; }
nav.scrolled .nav-logo-svg .logo-sub  { fill: #6B6B68; }
nav.scrolled .nav-logo-svg .logo-line { stroke: rgba(201,169,110,0.5); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,243,238,0.8);
  text-decoration: none;
  transition: color 0.3s;
}
nav.scrolled .nav-links a { color: var(--mid); }
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(247,243,238,0.4);
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}
nav.scrolled .nav-cta { color: var(--graphite); border-color: rgba(26,26,24,0.3); }
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--graphite) !important; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--graphite);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-image-half { position: relative; overflow: hidden; }
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.65;
  filter: saturate(0.7);
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--graphite));
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 5rem 8rem 4rem;
  position: relative;
}
.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 2rem;
}
.hero h1 em { font-style: italic; color: var(--gold); display: block; }
.hero-desc {
  font-size: 0.88rem;
  line-height: 1.9;
  color: rgba(247,243,238,0.6);
  max-width: 380px;
  margin-bottom: 3rem;
}
.hero-actions { display: flex; gap: 1.5rem; align-items: center; }

.btn-primary {
  background: var(--gold);
  color: var(--graphite);
  padding: 1rem 2.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); }

.btn-ghost {
  color: rgba(247,243,238,0.7);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.3s;
}
.btn-ghost:hover { color: var(--gold); }
.btn-ghost::after { content: '→'; }

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  right: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: rgba(247,243,238,0.3);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(201,169,110,0.6), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ── STATS BAR ───────────────────────────────────────────────── */
.stats-bar {
  background: var(--graphite);
  border-top: 1px solid rgba(201,169,110,0.15);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  padding: 2.5rem 3rem;
  border-right: 1px solid rgba(201,169,110,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
}
.stat-number span { font-size: 1.5rem; color: var(--gold); }
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,243,238,0.4);
}

/* ── ABOUT ───────────────────────────────────────────────────── */
.about { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  min-height: 60vh; 
}
.about-text {
  padding: 7rem 4rem;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  color: var(--graphite);
  margin-bottom: 2rem;
}
.about-text h2 em { font-style: italic; color: var(--sage); }
.about-text p {
  font-size: 0.9rem;
  line-height: 1.95;
  color: var(--mid);
  margin-bottom: 1.2rem;
  max-width: 440px;
}
.about-quote {
  margin-top: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--graphite);
  line-height: 1.6;
}
.signature-img { margin-top: 3.5rem; height: 108px; width: auto; opacity: 0.6; }
.about-visual { 
  background: var(--cream-dark); 
  display: grid; 
  grid-template-rows: 1fr; 
  align-self: stretch;
}
.about-img-box { position: relative; overflow: hidden; }
.about-img-box img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
  transition: transform 0.6s ease;
}
.about-img-box:hover img { transform: scale(1.03); }
.about-img-box .caption {
  position: absolute;
  bottom: 1.2rem; left: 1.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,243,238,0.6);
  background: rgba(26,26,24,0.4);
  padding: 0.3rem 0.7rem;
  backdrop-filter: blur(4px);
}

/* ── SERVICES ────────────────────────────────────────────────── */
.services { padding: 8rem 4rem; background: var(--graphite); }
.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 5rem;
}
.services-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--cream);
  line-height: 1.1;
}
.services-header h2 em { font-style: italic; color: var(--gold); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,169,110,0.1);
}
.service-card {
  background: var(--graphite);
  padding: 3rem 2.5rem;
  transition: background 0.3s;
}
.service-card:hover { background: #222220; }
.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: rgba(201,169,110,0.12);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}
.service-card:hover .service-num { color: rgba(201,169,110,0.22); }
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.service-card p { font-size: 0.83rem; line-height: 1.85; color: rgba(247,243,238,0.5); }

/* ── PROCESS ─────────────────────────────────────────────────── */
.process { padding: 8rem 4rem; background: var(--cream); }
.process-header { text-align: center; margin-bottom: 5rem; }
.process-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--graphite);
  line-height: 1.15;
}
.process-header h2 em { font-style: italic; color: var(--gold); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.process-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(to right, var(--gold) 0%, rgba(201,169,110,0.2) 100%);
}
.process-step { padding: 0 2rem; text-align: center; position: relative; }
.step-dot {
  width: 4rem; height: 4rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: var(--cream);
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 300;
}
.process-step h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--graphite);
  margin-bottom: 0.8rem;
}
.process-step p { font-size: 0.8rem; line-height: 1.8; color: var(--mid); }

/* ── PORTFOLIO ─────────────────────────────────────────────────
.portfolio { padding: 8rem 4rem; background: #EDEBE6; }
.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
}
.portfolio-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--graphite);
  line-height: 1.15;
}
.portfolio-header h2 em { font-style: italic; color: var(--sage); }
.portfolio-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 0.5rem;
}
.portfolio-item { position: relative; overflow: hidden; cursor: pointer; background: #C5C4BE; }
.portfolio-item:first-child { grid-row: 1 / 3; }
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
  transition: transform 0.6s ease, filter 0.4s;
}
.portfolio-item:hover img { transform: scale(1.05); filter: saturate(0.9); }
.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,24,0);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: background 0.4s;
}
.portfolio-item:hover .portfolio-item-overlay { background: rgba(26,26,24,0.45); }
.portfolio-item-label {
  opacity: 0;
  transition: opacity 0.4s;
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
}
.portfolio-item:hover .portfolio-item-label { opacity: 1; } */

/* ── PORTFOLIO ───────────────────────────────────────────────── */
.portfolio { padding: 8rem 4rem; background: #EDEBE6; }

.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.portfolio-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--graphite);
  line-height: 1.15;
}

.portfolio-header h2 em { font-style: italic; color: var(--sage); }

/* ── LIGHTBOX ────────────────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem;
  gap: 1.5rem;
}

/* Obraz + opis */
.lb-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 85vw;
  max-height: 90vh;
}

#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.lb-caption {
  margin-top: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(247,243,238,0.7);
  text-align: center;
  letter-spacing: 0.03em;
  min-height: 1.4rem;
}

/* Strzałki */
.lb-prev,
.lb-next {
  background: none;
  border: 1px solid rgba(247,243,238,0.25);
  color: rgba(247,243,238,0.8);
  font-size: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  flex-shrink: 0;
  line-height: 1;
}
.lb-prev:hover,
.lb-next:hover {
  background: rgba(201,169,110,0.2);
  border-color: var(--gold);
  color: var(--gold);
}

/* Przycisk zamknij */
.lb-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(247,243,238,0.6);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.3rem 0.6rem;
  transition: color 0.2s;
  font-weight: 300;
}
.lb-close:hover { color: var(--gold); }

/* Licznik zdjęć */
.lb-counter {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(247,243,238,0.35);
  font-family: 'Inter', sans-serif;
}

/* Mobile */
@media (max-width: 600px) {
  #lightbox { padding: 4rem 0.5rem 3rem; gap: 0.5rem; }
  .lb-inner { max-width: 95vw; }
  #lightbox-img { max-height: 70vh; }
  .lb-prev,
  .lb-next {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.1rem;
    border-color: rgba(247,243,238,0.15);
  }
  .portfolio-label-row {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 2rem 1.5rem 1.5rem;
  }
  .portfolio-label-number { font-size: 2.5rem; }
  .portfolio-label-title  { font-size: 1.6rem; }
  .portfolio-label-sub    { margin-left: 0; }
}

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonials { padding: 8rem 4rem; background: var(--graphite); text-align: center; }
.testimonials h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--cream);
  margin-bottom: 4rem;
  line-height: 1.15;
}
.testimonials h2 em { font-style: italic; color: var(--gold); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,169,110,0.1);
  margin-bottom: 3rem;
}
.testimonial { background: #222220; padding: 3rem 2.5rem; text-align: left; }
.stars { color: var(--gold); font-size: 0.7rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(247,243,238,0.75);
  line-height: 1.7;
  margin-bottom: 2rem;
  position: relative;
  padding-top: 1rem;
}
.testimonial-text::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--gold);
  line-height: 0;
  position: absolute;
  top: 0.6rem; left: -0.3rem;
  font-family: 'Cormorant Garamond', serif;
  opacity: 0.5;
}
.testimonial-author { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.contact-info {
  background: var(--cream);
  padding: 8rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--graphite);
  margin-bottom: 2.5rem;
  line-height: 1.15;
}
.contact-info h2 em { font-style: italic; color: var(--gold); }
.contact-detail { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1.8rem; }
.contact-detail-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-detail-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--graphite);
}
.contact-detail-value a { color: inherit; text-decoration: none; }
.contact-detail-value a:hover { color: var(--gold); }
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
  font-size: 0.82rem;
  color: var(--mid);
  margin-top: 0.5rem;
  line-height: 1.8;
  font-family: 'Inter', sans-serif;
}

/* ── FORM ────────────────────────────────────────────────────── */
.contact-form {
  background: var(--graphite);
  padding: 8rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.8rem;
  color: var(--cream);
  margin-bottom: 2.5rem;
}
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,243,238,0.4);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201,169,110,0.25);
  padding: 0.7rem 0;
  font-size: 0.9rem;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-group select option { background: #222220; color: var(--cream); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(247,243,238,0.2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--gold); }
.form-group textarea { resize: none; min-height: 80px; }

.form-checkbox { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.5rem; }
.form-checkbox input[type="checkbox"] {
  width: 16px; height: 16px; min-width: 16px;
  border: 1px solid rgba(201,169,110,0.4);
  background: transparent;
  cursor: pointer;
  accent-color: var(--gold);
  margin-top: 2px;
  padding: 0;
}
.form-checkbox label {
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(247,243,238,0.45);
  cursor: pointer;
}
.form-checkbox label a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.form-checkbox label a:hover { opacity: 0.8; }

.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; height: 0; }

.form-submit {
  background: var(--gold);
  color: var(--graphite);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, opacity 0.3s;
  font-family: 'Inter', sans-serif;
}
.form-submit:hover { background: var(--gold-light); }
.form-submit:disabled { opacity: 0.4; cursor: not-allowed; }
.form-spam-note { font-size: 0.65rem; color: rgba(247,243,238,0.2); margin-top: 0.5rem; }
.form-msg { display: none; margin-top: 1rem; font-size: 0.82rem; padding: 0.8rem 1rem; }
.form-msg.success { color: #8dbf8d; border-left: 2px solid #8dbf8d; }
.form-msg.error   { color: #e89090; border-left: 2px solid #e89090; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: #111110;
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(201,169,110,0.1);
}

/* Wszystkie linki w stopce bez podkreślenia i niebieskiego koloru */
footer a {
  text-decoration: none;
  color: inherit;
}
footer a:hover { color: var(--gold); }
.footer-logo-svg { height: 36px; width: auto; display: block; }
.footer-logo-svg .logo-name { fill: rgba(247,243,238,0.4); }
.footer-logo-svg .logo-sub  { fill: rgba(247,243,238,0.2); }
.footer-logo-svg .logo-line { stroke: rgba(201,169,110,0.3); }
.footer-copy { font-size: 0.7rem; color: rgba(247,243,238,0.2); letter-spacing: 0.05em; }
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,243,238,0.3);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--gold); }

/* ── ANIMACJE ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.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; }

/* ── PORTFOLIO ROWS ──────────────────────────────────────────── */
.portfolio-row {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.portfolio-row.two   { grid-template-columns: repeat(2, 1fr); }
.portfolio-row.three { grid-template-columns: repeat(3, 1fr); }
.portfolio-row.four  { grid-template-columns: repeat(4, 1fr); }
.portfolio-row.five  { grid-template-columns: repeat(5, 1fr); }

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #C5C4BE;
  aspect-ratio: 4 / 3;
  width: 100%;
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
  transition: transform 0.6s ease, filter 0.4s;
}
.portfolio-item:hover img { transform: scale(1.05); filter: saturate(0.9); }
.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,24,0);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: background 0.4s;
  pointer-events: none;
}
.portfolio-item:hover .portfolio-item-overlay { background: rgba(26,26,24,0.45); }
.portfolio-item-label {
  opacity: 0;
  transition: opacity 0.4s;
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
}
.portfolio-item:hover .portfolio-item-label { opacity: 1; }

/* ── HAMBURGER MENU ──────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s;
  transform-origin: center;
}
nav.scrolled .nav-hamburger span { background: var(--graphite); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--graphite);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.nav-mobile-menu a:hover { color: var(--gold); }
.nav-mobile-menu .mobile-cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(201,169,110,0.4);
  padding: 0.8rem 2rem;
  margin-top: 1rem;
  color: var(--gold) !important;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  nav { padding: 1.2rem 2rem; }
  .nav-links { display: none !important; }
  .nav-cta { display: none !important; }
  .nav-hamburger { display: flex !important; }
  .hero { grid-template-columns: 1fr; }
  .hero-image-half { min-height: 50vh; }
  .hero-content { padding: 5rem 2.5rem; }
  .hero-scroll { right: 2rem; }
  .about { grid-template-columns: 1fr; }
  .about-visual { min-height: 50vh; grid-template-rows: 1fr; }
  /* .about-img-box:last-child { display: none; } */
  .about-text { padding: 5rem 2.5rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services, .portfolio, .process, .testimonials { padding: 5rem 2rem; }
  .portfolio { padding-left: 0; padding-right: 0; }
  .portfolio-header { padding: 0 2rem; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .process-steps::before { display: none; }
  /* Portfolio — 2 kolumny na tablecie */
  .portfolio-row.two,
  .portfolio-row.three,
  .portfolio-row.four,
  .portfolio-row.five { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item { height: 220px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact-form, .contact-info { padding: 5rem 2.5rem; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(201,169,110,0.1); }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; }
}

@media (max-width: 600px) {
  nav { padding: 1rem 1.2rem; }
  .portfolio { padding-left: 0 !important; padding-right: 0 !important; }
  .portfolio-header { padding: 0 1.5rem; }
  /* Portfolio — 1 kolumna na telefonie */
  .portfolio-row.two,
  .portfolio-row.three,
  .portfolio-row.four,
  .portfolio-row.five { grid-template-columns: 1fr; }
  .portfolio-item { height: 200px; }
  .hero-content { padding: 4rem 1.5rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero-desc { font-size: 0.85rem; }
  .hero-scroll { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .contact-form, .contact-info { padding: 4rem 1.5rem; }
  footer { padding: 2.5rem 1.5rem; }
  .footer-social { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .scroll-line { animation: none; }
}

/* ── LOGO — kolory w zależności od stanu nav ─────────────────── */

/* Na hero (nav bez klasy .scrolled): logo białe */
.nav-logo-svg .logo-circle { stroke: rgba(247,243,238,0.9); transition: stroke 0.35s; }
.nav-logo-svg .logo-icon   { stroke: rgba(247,243,238,0.9); transition: stroke 0.35s; }
.nav-logo-svg .logo-name   { fill:  #F7F3EE;                transition: fill 0.35s; }
.nav-logo-svg .logo-sub    { fill:  rgba(247,243,238,0.55); transition: fill 0.35s; }

/* Po scrollu (nav.scrolled): logo czarne jak na zdjęciu */
nav.scrolled .nav-logo-svg .logo-circle { stroke: #1A1A18; }
nav.scrolled .nav-logo-svg .logo-icon   { stroke: #1A1A18; }
nav.scrolled .nav-logo-svg .logo-name   { fill:  #1A1A18; }
nav.scrolled .nav-logo-svg .logo-sub    { fill:  #6B6B68; }

/* Footer — logo przygaszone */
.footer-logo-svg .logo-circle { stroke: rgba(247,243,238,0.3); }
.footer-logo-svg .logo-icon   { stroke: rgba(247,243,238,0.3); }
.footer-logo-svg .logo-name   { fill:  rgba(247,243,238,0.4); }
.footer-logo-svg .logo-sub    { fill:  rgba(247,243,238,0.2); }

/* ═══════════════════════════════════════════════════════════
   LOGO — prawdziwe SVG z napisami
   ══════════════════════════════════════════════════════════ */

.nav-logo-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  overflow: visible;
  flex-shrink: 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  overflow: visible;
  flex-shrink: 0;
}

/* Ikona SVG — kwadrat, skalujemy wysokością */
.logo-icon-svg {
  height: 36px;
  width: 36px;
  flex-shrink: 0;
  display: block;
}

/* Napisy obok ikony */
.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.25rem;
  overflow: visible;
  min-width: 0;
}

.logo-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: visible;
  display: block;
}

.logo-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: visible;
  display: block;
}

/* ── HERO (nav bez .scrolled) — biała wersja widoczna ─────── */
.logo-white-ver { display: flex; }
.logo-black-ver { display: none; }

.logo-white-ver .logo-title   { color: #F7F3EE; }
.logo-white-ver .logo-tagline { color: rgba(247,243,238,0.55); }

/* ── PO SCROLLU (nav.scrolled) — czarna wersja widoczna ───── */
nav.scrolled .logo-white-ver { display: none; }
nav.scrolled .logo-black-ver { display: flex; }

.logo-black-ver .logo-title   { color: #1A1A18; }
.logo-black-ver .logo-tagline { color: #6B6B68; }

/* ── FOOTER ─────────────────────────────────────────────── */
.logo-footer-ver { display: flex; }
.logo-footer-ver .logo-title   { color: rgba(247,243,238,0.4); }
.logo-footer-ver .logo-tagline { color: rgba(247,243,238,0.2); }

/* Usuń stare reguły nav-logo-svg jeśli zostały */
.nav-logo-svg { display: none; }
.footer-logo-svg { display: none; }

/* ═══════════════════════════════════════════════════════════
   POLITYKA PRYWATNOŚCI — pp-*
   (przeniesione z inline <style> żeby nie łamać CSP)
   ══════════════════════════════════════════════════════════ */

.pp-hero {
  background: var(--graphite);
  padding: 10rem 4rem 5rem;
  text-align: center;
}
.pp-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.pp-hero h1 em { font-style: italic; color: var(--gold); }
.pp-hero p {
  font-size: 0.85rem;
  color: rgba(247,243,238,0.4);
  letter-spacing: 0.05em;
}
.pp-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 6rem 2rem 8rem;
}
.pp-section { margin-bottom: 3.5rem; }
.pp-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--graphite);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(201,169,110,0.25);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.pp-section h2::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.pp-section p {
  font-size: 0.9rem;
  line-height: 1.95;
  color: var(--mid);
  margin-bottom: 1rem;
}
.pp-section ul { list-style: none; padding: 0; margin: 1rem 0; }
.pp-section ul li {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--mid);
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(201,169,110,0.08);
}
.pp-section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}
.pp-section a {
  color: var(--graphite);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}
.pp-section a:hover { color: var(--gold); }
.pp-highlight {
  background: #F0EDE7;
  border-left: 3px solid var(--gold);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--graphite);
}
.pp-highlight strong { font-weight: 500; }
.pp-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 4rem;
  transition: gap 0.3s;
}
.pp-back:hover { gap: 0.8rem; }
.pp-back::before { content: '←'; }
.pp-date {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(247,243,238,0.35);
  margin-top: 0.5rem;
}
@media (max-width: 768px) {
  .pp-hero { padding: 8rem 2rem 4rem; }
  .pp-content { padding: 4rem 1.5rem 6rem; }
}

/* Polityka prywatności — etykieta wycentrowana bez inline style */
.pp-section-label-center {
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* ── OCHRONA ZDJĘĆ ───────────────────────────────────────────── */

/* Wyłącz zaznaczanie i przeciąganie zdjęć */
.portfolio-item img,
.about-img-box img,
.hero-img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

/* Przywróć pointer-events na portfolio-item żeby lightbox działał */
.portfolio-item {
  pointer-events: auto;
}

/* Przezroczysta nakładka blokująca bezpośredni dostęp do obrazu */
.img-shield {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: zoom-in;
}

/* ── PORTFOLIO LABEL ROW — tytuł projektu między zdjęciami ──── */
.portfolio-label-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(201,169,110,0.2);
  margin-top: 1rem;
}

.portfolio-label-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(201,169,110,0.2);
  line-height: 1;
  flex-shrink: 0;
  min-width: 3rem;
}

.portfolio-label-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--graphite);
  line-height: 1.1;
  font-style: italic;
  margin: 0;
}

.portfolio-label-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-left: auto;
  white-space: nowrap;
}

.portfolio-item-label-cell {
  background: #1A1A18;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  border-left: none;
}

.portfolio-item-label-cell .portfolio-label-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: rgba(201,169,110,0.2);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.portfolio-item-label-cell .portfolio-label-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.6rem;
  font-style: italic;
  color: #F7F3EE;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.portfolio-item-label-cell .portfolio-label-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,243,238,0.4);
  text-align: center;
  margin-left: 0;
  width: 100%; 
}

/* ── PORTFOLIO LABEL CELL — mobile ──────────────────────────── */
@media (max-width: 600px) {
  .portfolio-item-label-cell {
    min-height: 140px;
    border-left: none;
    border-top: none;
    padding: 1.5rem;
  }
  .portfolio-item-label-cell .portfolio-label-number { font-size: 2rem; }
  .portfolio-item-label-cell .portfolio-label-title  { font-size: 1.3rem; }
  .portfolio-item-label-cell .portfolio-label-sub    { font-size: 0.6rem; }
}