/* ===========================
   ZMIENNE CSS (Design Tokens)
   Kolory, czcionki: ustawiane dynamicznie z site.json przez <style> w base.njk
   Tutaj tylko wartości niezależne od motywu
   =========================== */
:root {
  --transition:    0.3s ease;
  --max-width:     1200px;
  --section-padding: 100px 0;
}

/* ===========================
   RESET I PODSTAWY
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-color: var(--gold) var(--bg-primary);
  scrollbar-width: thin;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

/* ===========================
   TYPOGRAFIA
   =========================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text-primary);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto 0;
}

/* ===========================
   LAYOUT
   =========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* ===========================
   PRZYCISKI
   =========================== */
.btn {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  border: 1px solid var(--gold);
  border-radius: 5px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
}

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

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

.btn-filled:hover {
  background: var(--gold-light);
  color: var(--bg-primary);
}

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg, rgba(13, 13, 13, 0.95));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

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

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  line-height: 1;
  color: var(--text-primary);
  text-decoration: none;
}

.logo:hover .logo-text {
  color: var(--gold-light);
}

.logo-image {
  height: 46px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.logo-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-style: italic;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  line-height: 1;
  transition: color var(--transition);
}

.logo-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}

.logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
}

.nav-list {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--transition);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-primary);
  transition: all var(--transition);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 0 0 1.5rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.footer-contact-item.fb{
  pointer-events: none;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.footer-contact-icon {
  color: var(--gold);
  flex-shrink: 0;
  display: flex;
}

.footer-contact-item a {
  color: var(--gold);
  font-size: 0.9375rem;
}

.footer-contact-item a:hover {
  color: var(--gold-light);
}

.footer-legal-data {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.footer-legal-data span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-brand-box {
  border: 1px solid var(--gold);
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  transition: border-color var(--transition);
}

.footer-brand-box:hover {
  border-color: var(--gold-light);
}

.footer-brand-logo {
  height: 64px;
  width: auto;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  font-weight: 600;
}

.footer-brand-sub {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-bottom {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-bottom-center {
  display: flex;
  justify-content: center;
}

.footer-disclaimer {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 55ch;
  flex-shrink: 1;
}

.footer-bottom-right {
  justify-self: end;
  text-align: right;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,13,13,0.6) 0%,
    rgba(13,13,13,0.4) 50%,
    rgba(13,13,13,0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 230px;
  margin: 0;
}

.hero-eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(235, 222, 200, 0.7);
  margin-bottom: 1rem;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 1.5rem;
}

.hero-brand-icon {
  height: clamp(40px, 6vw, 72px);
  width: auto;
  display: block;
  margin-bottom: 0.2rem;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0;
  letter-spacing: 0.06em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--gold);
  font-weight: 700;
  font-style: italic;
  font-family: var(--font-heading);
  margin-bottom: 3rem;
}

/* ===========================
   O NAS
   =========================== */
.about {
  background: var(--bg-secondary);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: grayscale(20%);
}

.about-badge {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: var(--gold);
  color: var(--bg-primary);
  padding: 1.5rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.12);
}

.about-badge-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge-text {
  font-size: 0.75rem;
  text-align: center;
  letter-spacing: 0.05em;
}


/* ===========================
   ZESPÓŁ
   =========================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.team-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 10%;
  filter: grayscale(20%);
  transition: filter var(--transition);
  image-rendering: -webkit-optimize-contrast;
}

.team-card:hover .team-image img {
  filter: grayscale(0%);
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===========================
   CENNIK
   =========================== */
.pricing {
  background: var(--bg-secondary);
}

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

.pricing-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  transition: border-color var(--transition);
}

.pricing-card:hover {
  border-color: var(--gold);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.pricing-icon {
  font-size: 2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.pricing-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

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

.pricing-service {
  color: var(--text-muted);
}

.pricing-price {
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
  margin-left: 1rem;
}

/* ===========================
   GALERIA
   =========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gallery-grid:not(.gallery-grid--full) .gallery-item:nth-child(n+10) {
  display: none;
}

.gallery-more,
.gallery-back {
  text-align: center;
  margin-top: 2.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  transition: box-shadow 0.4s ease;
}

.gallery-item:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.4);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom {
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.gallery-caption {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

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

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

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  transition: opacity 0.15s ease;
}

.lightbox-content img.lightbox-fade {
  opacity: 0;
}

.lightbox-counter {
  color: var(--gold);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  margin-top: 0.75rem;
}

.lightbox-caption {
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-size: 0.875rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: all var(--transition);
}

.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===========================
   KONTAKT — UMÓW SIĘ
   =========================== */
.contact {
  background: #1A1A1A;
  padding: var(--section-padding);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: start;
}

/* --- LEWA KOLUMNA --- */
.contact-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.contact-heading em {
  color: var(--gold);
  font-style: italic;
}

.contact-desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 400px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(184, 148, 60, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.contact-detail-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-detail-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.contact-detail-value {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color var(--transition);
  display: block;
}

a.contact-detail-value:hover {
  color: var(--gold);
}

.contact-detail-value--hours {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}

.contact-detail-value--hours strong {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* --- PRAWA KOLUMNA — formularz --- */
.contact-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(184, 148, 60, 0.2);
  padding: 2.5rem;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
}

.contact-success {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(184, 148, 60, 0.2);
  padding: 3rem 2.5rem;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
  display: none;
}

.contact-success:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  color: #fff;
}

.contact-success h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold-light);
}

.contact-success p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.form-label span {
  color: var(--gold);
}

.form-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #FFFFFF;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 5px;
}

.form-input::placeholder {
  color: rgba(255,255,255,0.18);
}

.form-input:focus {
  border-color: var(--gold);
  background: rgba(184, 148, 60, 0.05);
}

.form-input[type="date"] {
  color-scheme: dark;
}

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

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-checkbox-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.22);
  line-height: 1.6;
}

.form-checkbox-label a {
  color: rgba(255,255,255,0.35);
  text-decoration: underline;
}

.form-checkbox-label a:hover {
  color: var(--gold);
}

.form-input.is-invalid,
.form-checkbox.is-invalid input[type="checkbox"] {
  border-color: #e74c3c;
}

.form-error {
  font-size: 0.75rem;
  color: #e74c3c;
  margin-top: -0.25rem;
  display: none;
}

.form-error.is-visible {
  display: block;
}

.form-checkbox .form-error {
  margin-top: 0.25rem;
  margin-left: 0;
}

.contact-submit {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===========================
   BLOG
   =========================== */
.blog-header {
  background: var(--bg-secondary);
  padding: var(--section-padding);
  padding-top: calc(80px + 4rem);
}

.blog-grid-wrapper {
  padding: 5rem 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.blog-card-image {
  overflow: hidden;
  height: 220px;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(20%);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 2rem;
}

.blog-card-date {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Post page */
.post-hero {
  min-height: 50vh;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-secondary);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.9) 30%, rgba(13,13,13,0.3) 100%);
}

.post-hero-content {
  position: relative;
  padding-bottom: 4rem;
  padding-top: 120px;
}

.post-date {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.post-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 800px;
}

.post-content {
  max-width: 800px;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.post-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  font-family: var(--font-heading);
}

.post-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* ===========================
   RESPONSYWNOŚĆ (MOBILE)
   =========================== */
@media (max-width: 1024px) {
  .team-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .site-header {
    background: var(--header-bg-solid, #0d0d0d);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Header — hamburger */
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--header-bg-solid, #0d0d0d);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 3rem 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 1001;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 2rem;
  }

  .nav-link {
    font-size: 1.125rem;
    color: var(--gold);
    letter-spacing: 0.08em;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Sekcje */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-badge {
    left: 1rem;
    bottom: -1rem;
  }

  .team-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact {
    padding: 60px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.75rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
    padding-top: 0;
    margin-bottom: 0;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-legal-data {
    align-items: center;
  }

  .footer-brand {
    display: flex;
    justify-content: center;
  }

  .lightbox-prev,
  .lightbox-next {
    padding: 0.75rem;
    font-size: 1.25rem;
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
  }

  .gallery-grid:not(.gallery-grid--full) .gallery-item:nth-child(n+7) {
    display: none;
  }
}

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

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 3rem;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }
}

/* Hover effects only on devices that support hover */
@media (hover: hover) {
  .hero:hover .hero-bg {
    transform: scale(1);
  }
}

/* ===========================
   SCROLL REVEAL ANIMATIONS
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s 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; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===========================
   SCROLLBAR & SELECTION
   =========================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

::selection {
  background: var(--gold);
  color: var(--bg-primary);
}

/* ===========================
   ACTIVE NAV LINK
   =========================== */
.nav-link.active-section {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

/* ===========================
   HERO ENTRANCE ANIMATION
   =========================== */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.05);
  }
}

.hero-bg {
  animation: heroFadeIn 1.5s ease forwards;
}

@keyframes heroTextSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  animation: heroTextSlide 0.8s ease 0.3s both;
}

.hero-brand {
  animation: heroTextSlide 0.8s ease 0.5s both;
}

.hero-subtitle {
  animation: heroTextSlide 0.8s ease 0.7s both;
}

.hero-content .btn {
  animation: heroTextSlide 0.8s ease 0.9s both;
}

/* ============================================
   STICKY CTA (pływający przycisk)
   ============================================ */
.sticky-cta-group {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

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

.sticky-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--bg-primary);
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.sticky-cta--email {
  background: var(--bg-primary);
  color: var(--gold);
  border: 1px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.sticky-cta:hover {
  background: var(--gold-light);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.4);
}

.sticky-cta--email:hover {
  background: var(--gold);
  color: var(--bg-primary);
  border-color: var(--gold);
}

.sticky-cta svg {
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .sticky-cta-group {
    bottom: 16px;
    right: 16px;
  }

  .sticky-cta {
    padding: 14px;
    border-radius: 50%;
  }

  .sticky-cta-text {
    display: none;
  }
}


/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 10000;
  transition: none;
  pointer-events: none;
}

/* ============================================
   HERO PARALLAX
   ============================================ */
.hero {
  overflow: hidden;
}

.hero-bg {
  will-change: transform;
  transform: scale(1.1);
}

/* ============================================
   SECTION WAVE DIVIDERS
   ============================================ */
.section-wave {
  margin-top: -2px;
  margin-bottom: -2px;
  line-height: 0;
  overflow: hidden;
}

.section-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

.section-wave--dark {
  background: transparent;
}

/* ============================================
   BLOG PREVIEW (strona główna)
   ============================================ */
.blog-preview {
  background: var(--bg-primary);
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  margin-top: 1rem;
}

.blog-preview-card--featured {
  grid-row: 1 / 3;
}

.blog-preview-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.blog-preview-link:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.blog-preview-image {
  overflow: hidden;
  flex-shrink: 0;
}

.blog-preview-card--featured .blog-preview-image {
  height: 280px;
}

.blog-preview-card:not(.blog-preview-card--featured) .blog-preview-image {
  height: 140px;
}

.blog-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-preview-link:hover .blog-preview-image img {
  transform: scale(1.05);
}

.blog-preview-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-preview-card:not(.blog-preview-card--featured) .blog-preview-body {
  padding: 1rem 1.25rem;
}

.blog-preview-date {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.blog-preview-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.blog-preview-card:not(.blog-preview-card--featured) .blog-preview-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.blog-preview-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.blog-preview-card:not(.blog-preview-card--featured) .blog-preview-excerpt {
  display: none;
}

.blog-preview-read {
  font-size: 0.8125rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.blog-preview-link:hover .blog-preview-read {
  color: var(--gold-light);
}

@media (max-width: 768px) {
  .blog-preview-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .blog-preview-card--featured {
    grid-row: auto;
  }

  .blog-preview-card--featured .blog-preview-image {
    height: 200px;
  }

  .blog-preview-card:not(.blog-preview-card--featured) .blog-preview-image {
    height: 160px;
  }

  .blog-preview-card:not(.blog-preview-card--featured) .blog-preview-excerpt {
    display: block;
  }

  .blog-preview-card:nth-child(3) {
    display: none;
  }
}

/* ============================================
   INSTAGRAM SECTION
   ============================================ */
.instagram-section {
  background: var(--bg-secondary);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.instagram-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}

.instagram-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.35);
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-item:hover .instagram-overlay {
  opacity: 1;
}

.instagram-cta {
  text-align: center;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 9000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-content {
  flex: 1;
}

.cookie-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.cookie-text {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.cookie-link {
  font-size: 12px;
  color: var(--gold);
  display: inline-block;
  margin-top: 6px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.cookie-reject {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.cookie-reject:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.cookie-accept {
  background: var(--gold);
  color: var(--bg-primary);
}

.cookie-accept:hover {
  background: var(--gold-light);
}

.contact-map-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.contact-map-fallback:hover {
  border-color: var(--gold);
}

.map-fallback-icon {
  font-size: 2rem;
}

.map-fallback-hint {
  font-size: 0.75rem;
  color: var(--gold);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 18px 20px;
    gap: 14px;
  }

  .cookie-actions {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .cookie-btn {
    width: 100%;
    padding: 12px;
  }
}

/* ============================================
   STRONA GALERII
   ============================================ */
.gallery-page {
  padding: 120px 0 80px;
}

.gallery-page .section-title {
  margin-bottom: 0.5rem;
}

/* ============================================
   STRONA 404
   ============================================ */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
}

.page-404-code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 10rem);
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: -1rem;
}

.page-404-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.page-404-text {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.page-404-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   POLITYKA PRYWATNOŚCI
   ============================================ */
.privacy-content {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.8;
}

.privacy-content h2 {
  font-size: 1.25rem;
  margin: 2.5rem 0 0.75rem;
  color: var(--gold);
}

.privacy-content h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
}

.privacy-content p,
.privacy-content li {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.privacy-content ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.privacy-content li {
  margin-bottom: 0.5rem;
}

.privacy-updated {
  margin-top: 3rem;
  font-size: 0.8125rem;
  font-style: italic;
}

/* ============================================
   WAVECODE BADGE (stopka)
   ============================================ */
.footer-links {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.75rem;
}

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

.footer-links-sep {
  margin: 0 0.5rem;
  opacity: 0.4;
}

.footer-cookie-reset {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-cookie-reset:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .footer-bottom-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    justify-items: center;
  }

  .footer-bottom-center {
    justify-content: flex-start;
  }

  .footer-bottom-right {
    text-align: left;
    justify-self: center;
  }
}

.wavecode-badge-wrap {
  padding: 0;
}

.wavecode-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 10px 20px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.2s, box-shadow 0.25s;
  font-family: var(--font-body);
  color: var(--text-primary);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
}

.wavecode-badge:hover {
  border-color: var(--gold);
  background: var(--bg-primary);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.wavecode-icon {
  flex-shrink: 0;
}

.wavecode-text {
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 1.35;
}

.wavecode-powered {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.wavecode-powered strong {
  color: var(--gold);
  font-weight: 600;
}

.wavecode-author {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ============================================
   WAVECODE MODAL
   ============================================ */
.wavecode-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

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

.wavecode-modal {
  background: var(--bg-secondary);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 16px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s;
}

.wavecode-modal-overlay.is-open .wavecode-modal {
  transform: translateY(0) scale(1);
}

.wavecode-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.wavecode-modal-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.wavecode-modal-header {
  margin-bottom: 28px;
}

.wavecode-modal-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.wavecode-modal-logo-icon {
  font-size: 22px;
}

.wavecode-modal-logo-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-body);
  letter-spacing: 0.03em;
}

.wavecode-modal-title {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0 0 10px;
}

.wavecode-modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Formularz */
.wavecode-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wavecode-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wavecode-form-group label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wavecode-form-group input,
.wavecode-form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
}

.wavecode-form-group input::placeholder,
.wavecode-form-group textarea::placeholder {
  color: rgba(136, 136, 136, 0.5);
}

.wavecode-form-group input:focus,
.wavecode-form-group textarea:focus {
  border-color: var(--gold);
}

.wavecode-form-group input.is-invalid,
.wavecode-form-group textarea.is-invalid {
  border-color: #e74c3c;
}

.wavecode-form-group .form-error {
  color: #e74c3c;
  font-size: 0.72rem;
  margin-top: 2px;
  display: none;
}

.wavecode-form-group .form-error.is-visible {
  display: block;
}

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

.wavecode-form-submit {
  background: var(--gold);
  color: var(--bg-primary);
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 6px;
}

.wavecode-form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.wavecode-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Sukces po wysłaniu */
.wavecode-success {
  text-align: center;
  padding: 24px 0;
  display: none;
}

.wavecode-success-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.wavecode-success-title {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.wavecode-success-text {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Responsywność modala */
@media (max-width: 480px) {
  .wavecode-modal {
    padding: 28px 20px;
    border-radius: 12px;
  }

  .wavecode-modal-title {
    font-size: 22px;
  }

  .wavecode-modal-desc {
    font-size: 13px;
  }
}

/* ============================================
   LOKALIZACJA
   ============================================ */
.location {
  background: var(--bg-secondary);
}

.location-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.location-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.location-text-extra {
  color: var(--text-muted);
}

.location-map {
  height: 400px;
  border: 1px solid var(--border);
  overflow: hidden;
  filter: grayscale(30%) contrast(1.05);
  transition: filter var(--transition);
}

.location-map:hover {
  filter: grayscale(0%);
}

@media (max-width: 768px) {
  .location-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .location-map {
    height: 280px;
  }
}

/* ============================================
   ARCHITEKTURA
   ============================================ */
.architecture {
  background: var(--bg-primary);
}

/* ============================================
   RZUTY KONDYGNACJI
   ============================================ */
.floorplans {
  background: var(--bg-primary);
}

.floorplans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.floorplan-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.floorplan-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 40px rgba(0,0,0,0.10);
}

.floorplan-label {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.floorplan-image {
  margin-bottom: 1.5rem;
  text-align: center;
}

.floorplan-image img {
  max-height: 400px;
  width: auto;
  margin: 0 auto;
}

.floorplan-rooms {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
}

.floorplan-rooms li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

.floorplan-rooms li:last-child {
  border-bottom: none;
}

.floorplan-download {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}

.floorplan-download:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

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

  .floorplan-image img {
    max-height: 300px;
  }
}

/* ============================================
   ATUTY / FEATURES
   ============================================ */
.features {
  background: #1A1A1A;
}

.features .section-title {
  color: #ffffff;
}

.features .section-title em {
  color: var(--gold);
  font-style: normal;
}

.features .section-subtitle {
  color: rgba(255, 255, 255, 0.55);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(184, 148, 60, 0.25);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 2px 8px rgba(184,148,60,0.15);
}

.feature-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
  color: var(--gold);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.feature-text {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.25rem 1rem;
  }
}

/* ============================================
   OFERTA / TABELA DOMÓW
   ============================================ */
.offer {
  background: var(--bg-primary);
}

.offer-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.offer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.offer-table thead {
  background: var(--bg-tertiary);
}

.offer-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.offer-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  color: var(--text-primary);
}

.offer-id {
  font-weight: 600;
  color: var(--text-primary);
}

.offer-price {
  font-weight: 600;
  color: var(--gold);
}

.offer-price-main {
  display: block;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.offer-price-sqm {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.offer-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.offer-link:hover {
  border-bottom-color: var(--gold);
}

.offer-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.offer-status--wolny {
  background: rgba(34, 139, 34, 0.12);
  color: #228B22;
}

.offer-status--rezerwacja {
  background: rgba(218, 165, 32, 0.12);
  color: #B8860B;
}

.offer-status--sprzedany {
  background: rgba(200, 0, 0, 0.1);
  color: #C80000;
}

.offer-status--budowa {
  background: rgba(59, 130, 200, 0.12);
  color: #2563AB;
}

.offer-row--sprzedany td {
  opacity: 0.45;
}

.offer-row--sprzedany .offer-status {
  opacity: 1;
}

.offer-row:hover td {
  background: var(--bg-secondary);
}

.offer-disclaimer {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .offer-table {
    font-size: 0.8125rem;
  }

  .offer-table th,
  .offer-table td {
    padding: 0.75rem;
  }
}

/* ============================================
   HARMONOGRAM / TIMELINE
   ============================================ */
.timeline-section {
  background: var(--bg-secondary);
}

/* Dwukolumnowy układ etapów */
.timeline-phases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.timeline-phase {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}

.timeline-phase--planned {
  opacity: 0.65;
}

.timeline-phase-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.timeline-phase-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(184, 148, 60, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.timeline-phase-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.timeline-phase-units {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.timeline-phase-unit {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
}

.timeline-phase-date {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.timeline-phase-date-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline-phase-date-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold);
}

.timeline-phase-date--tbd {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Oś czasu wewnątrz etapu */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--border));
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--border));
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline--drawn::before {
  transform: scaleY(1);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -3rem;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: all var(--transition);
}

.timeline-number {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
}

.timeline-item--done .timeline-marker {
  background: var(--gold);
  border-color: var(--gold);
}

.timeline-item--done .timeline-number {
  color: var(--bg-primary);
}

.timeline-item--current .timeline-marker {
  border-color: var(--gold);
  background: var(--bg-primary);
  box-shadow: 0 0 0 4px rgba(184, 148, 60, 0.2);
}

.timeline-item--current .timeline-number {
  color: var(--gold);
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.timeline-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-item--upcoming .timeline-title {
  color: var(--text-muted);
}

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

/* ============================================
   FINANSOWANIE
   ============================================ */
.financing {
  background: var(--bg-primary);
}

.financing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.financing-text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.financing-text-extra {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}


/* ============================================
   STATS BAR — animowane liczniki statystyk
   ============================================ */
.stats-bar {
  background: var(--bg-tertiary);
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  text-align: center;
  padding: 0 2rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 5vw, 4rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
  font-style: italic;
  font-weight: 600;
  text-shadow: 0 4px 24px rgba(184,148,60,0.22);
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .stat-item::after {
    display: none;
  }
}


/* ============================================
   PREFERS-REDUCED-MOTION — bezpieczna wersja
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right {
    transform: none !important;
    transition: opacity 0.15s;
  }
  .timeline::before {
    transform: scaleY(1) !important;
    transition: none;
  }
}
