/* TheSilverEditorial - font file in /public/textures/font/ */
@font-face {
  font-family: "TheSilverEditorial";
  src: url("textures/font/TheSilverEditorial-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Globalne zmniejszenie czcionki TheSilverEditorial dla zrównania wysokości z Poppins */
.nav-link.active,
.nav-links.open .nav-link,
.video-overlay h2 .italic,
.intro-title .italic,
.hero-title .italic,
.cta span,
.investment-title-ornamental,
.investment-text-ornamental,
.lifestyle-text-italic,
.lifestyle-cta-text-ornamental,
.residence-title .italic,
.progress-title-decorative,
.progress-slider-wrapper .progress-month-watermark,
.gallery-cta,
.gallery-grid-title,
.gallery-grid-item-title,
.gallery-view-all-btn,
.gallery-grid-more-number,
.amenities-title-italic,
.history-title-serif,
.timeline-text h2,
.process-title,
.btn-details,
.building-viewer-modal-watermark,
.building-viewer-modal-apartment-number,
.building-label,
[style*="TheSilverEditorial"] {
  font-size: 0.85em !important;
}

.year-display {
  font-size: 3.5em !important;
}

html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  background: #000;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;
}

body,
#root {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-y: unset;
  background: #000;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;
}

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

body.no-scroll {
  overflow: hidden;
}

/* Page Loader */
.app-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  transition: opacity 400ms ease, visibility 400ms ease;
}

.app-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.app-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.app-loader-logo {
  max-width: 90vh;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
}

@media (min-width: 769px) {
  .app-loader-logo {
    width: 40vw;
    max-width: none;
  }
}

.app-spinner {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: #f3efea;
  animation: spin 900ms linear infinite;
}

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

/* Utility containers */
.container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Privacy Policy Page */
.privacy-policy-page {
  background: #ffffff;
  color: #000000;
  min-height: 100vh;
}

.privacy-policy-hero {
  background: #1f1f1f;
  padding: 140px 24px 60px;
}

.privacy-policy-hero-title {
  margin: 0;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 400;
  color: #f3efea;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

@media (min-width: 768px) {
  .privacy-policy-hero-title {
    font-size: 64px;
  }
}

@media (max-width: 768px) {
  .privacy-policy-hero {
    padding: 120px 24px 40px;
  }

  .privacy-policy-hero-title {
    font-size: 36px;
    text-align: center;
  }
}

.privacy-policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px;
}

.privacy-policy-text {
  font-size: 16px;
  line-height: 1.8;
  color: #000000;
  font-family: "Poppins", sans-serif;
}

.privacy-policy-text p {
  margin: 0 0 24px 0;
}

.privacy-policy-text h2 {
  font-size: 24px;
  font-weight: 600;
  color: #000000;
  font-family: "Poppins", sans-serif;
  margin: 40px 0 16px 0;
}

.privacy-policy-text ul {
  margin: 16px 0 24px 0;
  padding-left: 24px;
}

.privacy-policy-text li {
  margin: 8px 0;
}

.privacy-policy-text a {
  color: #13382c;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.privacy-policy-text a:hover {
  opacity: 0.7;
}

.privacy-policy-date {
  margin-top: 40px;
  font-style: italic;
  color: #666666;
}

@media (max-width: 768px) {
  .privacy-policy-content {
    padding: 60px 24px;
  }

  .privacy-policy-text {
    font-size: 15px;
  }

  .privacy-policy-text h2 {
    font-size: 20px;
    margin: 32px 0 12px 0;
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(2px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Navbar */
.navbar {
  position: fixed;
  max-width: 1400px;
  width: calc(100% - 60px);
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  z-index: 50;
  background: #1f1f1f96;
  color: #f3efea;
  border-bottom: 0px solid rgba(210, 209, 208, 0.08);
  margin-top: 30px;
  backdrop-filter: blur(10px);
  border-radius: 20px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 24px;
}

.nav-logo {
  height: 45px;
  display: block;
  transition: height 200ms ease;
  padding: 8px 0;
  transition: all 200ms ease;
}

.navbar.at-top .nav-logo {
  height: 65px;
  padding: 16px 0;
}

.navbar.at-top {
  background: transparent !important;
  backdrop-filter: none !important;
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.nav-link.active {
  color: #f3efea;
  font-weight: 400;
  font-family: "TheSilverEditorial", serif;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #f3efea;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger {
  display: flex;
  flex-direction: column;
  width: 24px;
  height: 18px;
  position: relative;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #f3efea;
  border-radius: 1px;
  position: absolute;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

.hamburger.open span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.nav-links.open {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(31, 31, 31, 0.98);
  backdrop-filter: blur(10px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  z-index: 1000;
  padding: 15px 20px;
  animation: slideInFromTop 0.3s ease-out;
  height: 90vh;
}

.nav-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #f3efea;
  font-size: 40px;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
  line-height: 1;
}

.nav-close:hover {
  color: #ffffff;
  transform: scale(1.1);
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-links.open .nav-link {
  font-size: 32px;
  font-weight: 500;
  color: #f3efea;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: "TheSilverEditorial", serif;
  font-weight: 400;
  padding: 10px 20px;
  border-radius: 8px;
  position: relative;
  animation: fadeInUp 0.4s ease-out;
  animation-fill-mode: both;
}

.nav-links.open .nav-link:nth-child(2) {
  animation-delay: 0.1s;
}

.nav-links.open .nav-link:nth-child(3) {
  animation-delay: 0.2s;
}

.nav-links.open .nav-link:nth-child(4) {
  animation-delay: 0.3s;
}

.nav-links.open .nav-link:nth-child(5) {
  animation-delay: 0.4s;
}

.nav-links.open .nav-link:nth-child(6) {
  animation-delay: 0.5s;
}

.nav-links.open .nav-link:nth-child(7) {
  animation-delay: 0.6s;
}

.nav-links.open .nav-link:hover {
  color: #ffffff;
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.1);
}

.nav-links.open .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero video */
.hero-video {
  background: #161616;
  color: #f3efea;
  padding: 0;
  position: relative;
  height: 100vh;
  min-height: 600px;
}

.video-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

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

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
  padding-bottom: 150px;
}

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

.video-overlay h2 {
  margin: 0;
  font-size: 56px;
  line-height: 1.1;
  font-weight: 600;
  text-align: center;
  color: #f3efea;
}

.video-overlay h2 .italic {
  font-family: "TheSilverEditorial", serif;
  font-style: italic;
  font-weight: 400;
}

/* Intro banner */
.intro-banner {
  background: #f7f3f0;
  color: #151515;
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}

.intro-banner::before {
  content: "Bandrowskiego";
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(calc(-50% + var(--watermark-x, 100vw)), -50%);
  font-size: 550px;
  font-weight: 400;
  color: rgba(0, 59, 45, 0.07);
  text-align: center;
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;
  transition: transform 0.1s ease-out;
}

.intro-banner > * {
  position: relative;
  z-index: 1;
}

.intro-title {
  margin: 0;
  text-align: center;
  font-size: 88px;
  line-height: 1.15;
  font-weight: normal;
}

.intro-title .italic {
  font-family: "TheSilverEditorial", serif;
  font-style: italic;
  font-weight: 400;
}

.intro-row {
  display: grid;
  grid-template-columns: 1fr 520px 1fr;
  align-items: center;
  gap: 32px;
  margin-top: 28px;
}

.intro-arch {
  width: min(92vw, 520px);
  aspect-ratio: 3 / 4;
  border-radius: 0px 0px 16px 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: border-radius 120ms ease;
  grid-column: 2;
  justify-self: center;
}

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

.intro-copy {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.7;
  grid-column: 3;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 80px;
  margin-left: 30px;
}

.cta-primary {
  background: #003b2d;
  color: #f3efea;
}

/* Map section */
.map-section {
  background: #f3efea;
  color: #003b2d;
  padding: 120px 24px;
}

.map-title {
  margin: 0 0 60px;
  font-size: 72px;
  line-height: 1.1;
  font-weight: 400;
  text-align: center;
  font-family: "TheSilverEditorial", serif;
}

.map-container {
  max-width: 1400px;
  margin: 0 auto;
}

.map-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Top hero */
.hero-top {
  background: #003b2d;
  color: #f3efea;
  padding: 96px 24px 140px;
}

.hero-title {
  margin: 0 0 20px;
  font-size: 72px;
  line-height: 1.1;
  font-weight: 400;
  text-align: center;
}

.hero-title .italic {
  font-family: "TheSilverEditorial", serif;
  font-style: italic;
  font-weight: 400;
}

.hero-desc {
  margin: 40px auto;
  max-width: 920px;
  opacity: 0.9;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

.cta-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 9999px;
  text-decoration: none;
}

.cta span {
  font-family: "TheSilverEditorial", serif;
  font-weight: 400;
}

.cta-outline {
  border: 1px solid rgba(243, 239, 234, 0.4);
  color: #f3efea;
  backdrop-filter: saturate(120%);
}

.cta-solid {
  background: #f3efea;
  color: #003b2d;
}

.divider {
  height: 1px;
  background: rgba(243, 239, 234, 0.2);
  margin: 44px 0 32px;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 80px 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.feature-title {
  font-family: "TheSilverEditorial", serif;
  font-size: 20.4px; /* 24px * 0.85 dla mobile */
  line-height: 1.2;
  color: #fff;
  text-align: center;
}

@media (min-width: 768px) {
  .feature-title {
    font-size: 32px !important;
  }
}

.feature-desc {
  opacity: 0.9;
  margin-top: 6px;
}

/* Secondary section */
.section-secondary {
  background: #1f1f1f;
  color: #fff;
  padding: 48px 24px;
}

.section-secondary .row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.section-secondary h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.1;
  font-weight: normal;
}

.section-secondary .right {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  opacity: 0.9;
}

/* Lifestyle hero section */
.lifestyle-hero-section {
  background: #1f1f1f;
  padding: 140px 24px 80px;
  height: auto;
}

.lifestyle-hero-title {
  margin: 0 0 40px 0;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 400;
  color: #f3efea;
  font-family: "Poppins", sans-serif;
  text-transform: none;
  letter-spacing: normal;
  text-align: left;
}

@media (min-width: 768px) {
  .lifestyle-hero-title {
    font-size: 64px;
  }
}

.lifestyle-hero {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}

.lifestyle-hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.lifestyle-hero-cta {
  text-align: center;
  margin-top: 40px;
  color: #f3efea;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lifestyle-hero-cta p {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.lifestyle-hero-cta svg {
  color: #f3efea;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* Lifestyle content section */
.lifestyle-content-section {
  background: #ffffff;
  color: #000000;
  padding: 120px 24px;
}

/* Investment Content Section */
.investment-content-section {
  background: #ffffff;
  color: #000000;
  padding: 120px 24px;
}

.investment-content {
  max-width: 1200px;
  margin: 0 auto;
}

.investment-title {
  margin: 0 0 40px 0;
  font-size: 88px;
  line-height: 1.2;
  font-weight: 400;
  color: #000000;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.investment-title-ornamental {
  font-family: "TheSilverEditorial", serif;
  font-style: normal;
  font-weight: 400;
}

.investment-description {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  color: #000000;
  font-family: "Poppins", sans-serif;
  text-align: center;
  max-width: 930px;
  margin: 0 auto;
}

/* Investment Two Column Section */
.investment-two-column-section {
  background: #ffffff;
  background: linear-gradient(
    -180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 25%,
    rgba(247, 243, 240, 1) 25%,
    rgba(247, 243, 240, 1) 100%
  );
  color: #000000;
  padding: 120px 24px;
}

.investment-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.investment-column-text {
  display: flex;
  flex-direction: column;
  margin-top: 130px;
}

.investment-column-description {
  margin: 0 0 24px 0;
  font-size: 18px;
  line-height: 1.4;
  color: #000000;
  font-family: "Poppins", sans-serif;
  text-align: left;
}

.investment-column-description:last-of-type {
  margin-bottom: 40px;
}

.investment-column-description strong {
  font-weight: 600;
  color: #000000;
}

.investment-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000000;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 400;
  font-family: "TheSilverEditorial", serif;
  font-style: italic;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: fit-content;
}

.investment-cta-button:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.investment-column-image {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.investment-image-rounded {
  width: min(92vw, 520px);
  aspect-ratio: 3 / 4;
  border-radius: 0px 0px 16px 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: border-radius 120ms ease;
}

.investment-image-rounded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .investment-two-column {
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .investment-title {
    font-size: 40px;
  }

  .investment-description {
    font-size: 16px;
  }

  .investment-two-column-section {
    padding: 80px 24px;
  }

  .investment-two-column {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .investment-column-title {
    font-size: 36px;
    text-align: center;
  }

  .investment-column-description {
    text-align: center;
    font-size: 16px;
  }

  .investment-cta-button {
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  .investment-image-rounded {
    width: min(79vw, 520px);
  }

  .investment-location-section {
    padding: 80px 24px;
  }

  .investment-location-title {
    font-size: 36px;
    text-align: center;
  }

  .investment-location-description {
    text-align: center;
  }
}

/* Investment Location Section */
.investment-location-section {
  background: #ffffff;
  color: #000000;
  padding: 120px 24px;
}

.investment-location-title {
  font-size: 64px;
  line-height: 1.1;
  font-weight: 400;
  color: #000000;
  font-family: "Poppins", sans-serif;
  text-align: center;
  margin: 0 0 60px 0;
}

.investment-location-image {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  border-radius: 20px;
  overflow: hidden;
}

.investment-location-img {
  width: 100%;
  height: auto;
  display: block;
}

.investment-location-description {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.investment-location-description p {
  margin: 0 0 24px 0;
  font-size: 18px;
  line-height: 1.6;
  color: #000000;
  font-family: "Poppins", sans-serif;
}

.investment-location-description p:last-child {
  margin-bottom: 0;
}

.investment-location-description strong {
  font-weight: 600;
  color: #000000;
}

@media (max-width: 768px) {
  .investment-location-section {
    padding: 80px 24px;
  }

  .investment-location-title {
    font-size: 36px;
  }

  .investment-location-description {
    text-align: center;
  }

  .investment-location-description p {
    font-size: 16px;
  }

  .investment-text-section {
    padding: 80px 24px;
  }

  .investment-text-large {
    font-size: 32px;
  }
}

/* Investment Text Section */
.investment-text-section {
  background: #f7f3f0;
  color: #000000;
  padding: 120px 24px;
}

.investment-text-content {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.investment-text-large {
  margin: 0;
  font-size: 60px;
  line-height: 1.3;
  font-weight: 400;
  color: #000000;
  font-family: "Poppins", sans-serif;
}

.investment-text-ornamental {
  font-family: "TheSilverEditorial", serif;
  font-style: italic;
  font-weight: 400;
}

@media (max-width: 768px) {
  .investment-text-section {
    padding: 80px 24px;
  }

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

  .investment-text-large {
    font-size: 32px;
  }
}

/* Sasiedzi Intro Section */
.sasiedzi-intro-section {
  background: #ffffff;
  color: #000000;
  padding: 120px 24px;
}

.sasiedzi-intro-content {
  max-width: 1200px;
  margin: 0 auto;
}

.sasiedzi-intro-text {
  margin: 0;
  font-size: 38px;
  line-height: 1.3;
  color: #000000;
  font-family: "Poppins", sans-serif;
  text-align: center;
  font-weight: 400;
}

@media (max-width: 768px) {
  .sasiedzi-intro-section {
    padding: 80px 24px;
  }

  .sasiedzi-intro-text {
    font-size: 28px;
    text-align: center;
  }
}

/* Sasiedzi Projects Section */
.sasiedzi-projects-section {
  background: #121212;
  padding: 120px 24px;
}

.sasiedzi-projects-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.sasiedzi-project-item {
  position: relative;
  width: 100%;
  height: 700px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.sasiedzi-project-title {
  position: absolute;
  bottom: 40px;
  left: 40px;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 400;
  color: #ffffff;
  font-family: "TheSilverEditorial", serif;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .sasiedzi-projects-section {
    padding: 80px 24px;
  }

  .sasiedzi-projects-grid {
    gap: 30px;
  }

  .sasiedzi-project-item {
    height: 400px;
    padding: 30px;
  }

  .sasiedzi-project-title {
    font-size: 32px;
    bottom: 30px;
    left: 30px;
  }
}

/* Sasiedzi DINO Section */
.sasiedzi-dino-section {
  background: #121212;
  color: #ffffff;
  padding: 120px 24px;
}

.sasiedzi-dino-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.sasiedzi-dino-text {
  display: flex;
  flex-direction: column;
}

.sasiedzi-dino-description {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  text-align: left;
}

.sasiedzi-dino-image {
  width: 100%;
  height: auto;
}

.sasiedzi-dino-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .sasiedzi-dino-section {
    padding: 80px 24px;
  }

  .sasiedzi-dino-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sasiedzi-dino-description {
    text-align: center;
    font-size: 16px;
  }
}

/* Sasiedzi Stats Section */
.sasiedzi-stats-section {
  background: #1f1f1f;
  color: #ffffff;
  padding: 120px 24px;
}

.sasiedzi-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.sasiedzi-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sasiedzi-stat-value {
  font-size: 70px;
  line-height: 1.2;
  font-weight: 400;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  margin-bottom: 16px;
}

.sasiedzi-stat-label {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .sasiedzi-stats-section {
    padding: 80px 24px;
  }

  .sasiedzi-stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sasiedzi-stat-value {
    font-size: 48px;
  }

  .sasiedzi-stat-label {
    font-size: 16px;
  }
}

.lifestyle-content {
  max-width: 1400px;
  margin: 0 auto;
}

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

.lifestyle-text-main {
  margin: 0 0 20px 0;
  font-size: 84px;
  line-height: 1;
  font-weight: 400;
  color: #000000;
  font-family: "Poppins", sans-serif;
}

.lifestyle-text-italic {
  font-family: "TheSilverEditorial", serif;
  font-style: italic;
  font-weight: 400;
}

.lifestyle-text-secondary {
  margin: 0;
  font-size: 82px;
  line-height: 1.1;
  font-weight: 400;
  color: #000000;
  font-family: "Poppins", sans-serif;
  margin-top: 100px;
}

@media (max-width: 768px) {
  .lifestyle-text-main {
    font-size: 44px;
  }

  .lifestyle-text-secondary {
    font-size: 32px;
  }
}

/* Lifestyle gallery section */
.lifestyle-gallery-section {
  background: #ffffff;
  padding: 80px 24px 120px;
}

.lifestyle-gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.lifestyle-gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lifestyle-gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.lifestyle-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.lifestyle-gallery-item:hover .lifestyle-gallery-image {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .lifestyle-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Lifestyle text section */
.lifestyle-text-section {
  background: #ffffff;
  padding: 120px 24px;
}

.lifestyle-text-content {
  max-width: 600px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: #000000;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.lifestyle-text-content p {
  margin: 0 0 32px 0;
}

.lifestyle-text-content p:last-child {
  margin-bottom: 0;
}

.lifestyle-text-content strong {
  font-weight: 600;
  color: #000000;
}

/* Lifestyle title section */
.lifestyle-title-section {
  background: #ffffff;
  padding: 80px 24px 120px;
}

.lifestyle-section-title {
  margin: 0 0 16px 0;
  font-size: 64px;
  line-height: 1.2;
  font-weight: 400;
  color: #000000;
  font-family: "TheSilverEditorial", serif;
  text-align: center;
  text-transform: none;
}

.lifestyle-section-subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
  color: #000000;
  font-family: "Poppins", sans-serif;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (min-width: 768px) {
  .lifestyle-section-title {
    font-size: 80px;
  }

  .lifestyle-section-subtitle {
    font-size: 20px;
  }
}

/* Lifestyle slider section */
.lifestyle-slider-section {
  padding: 120px 0px;
}

.lifestyle-slider-bg-1 {
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 38%,
    rgba(247, 243, 240, 1) 38%,
    rgba(247, 243, 240, 1) 100%
  );
}

.lifestyle-slider-bg-2 {
  background: linear-gradient(
    -180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 60%,
    rgba(247, 243, 240, 1) 60%,
    rgba(247, 243, 240, 1) 100%
  );
}

.lifestyle-slider-bg-3 {
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 38%,
    rgba(247, 243, 240, 1) 38%,
    rgba(247, 243, 240, 1) 100%
  );
}

.lifestyle-slider-bg-4 {
  background: linear-gradient(
    -180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 60%,
    rgba(247, 243, 240, 1) 60%,
    rgba(247, 243, 240, 1) 100%
  );
}

.lifestyle-slider-bg-5 {
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 38%,
    rgba(247, 243, 240, 1) 38%,
    rgba(247, 243, 240, 1) 100%
  );
}

.lifestyle-slider-title {
  margin: 0 0 16px 0;
  font-size: 64px;
  line-height: 1.2;
  font-weight: 400;
  color: #000000;
  font-family: "TheSilverEditorial", serif;
  text-align: center;
  text-transform: none;
}

.lifestyle-slider-description {
  max-width: 900px;
  margin: 0 auto 60px;
  font-size: 16px;
  line-height: 1.8;
  color: #000000;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.lifestyle-slider-description strong {
  font-weight: 600;
  color: #000000;
}

.lifestyle-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.lifestyle-slider-slide {
  width: auto;
  height: 600px;
  position: relative;
}

.lifestyle-slider-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.lifestyle-slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lifestyle-slider-slide:not(.swiper-slide-active) .lifestyle-slider-image-wrapper {
  opacity: 0.4;
  transform: scale(0.9);
}

.lifestyle-slider-slide.swiper-slide-active .lifestyle-slider-image-wrapper {
  opacity: 1;
  transform: scale(1);
}

.lifestyle-slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lifestyle-slider-nav-btn:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(0, 0, 0, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lifestyle-slider-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.lifestyle-slider-nav-prev,
.lifestyle-slider-nav-prev-2,
.lifestyle-slider-nav-prev-3,
.lifestyle-slider-nav-prev-4,
.lifestyle-slider-nav-prev-5 {
  left: 24px;
}

.lifestyle-slider-nav-next,
.lifestyle-slider-nav-next-2,
.lifestyle-slider-nav-next-3,
.lifestyle-slider-nav-next-4,
.lifestyle-slider-nav-next-5 {
  right: 24px;
}

/* Lifestyle Lightbox Styles */
.lifestyle-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  cursor: pointer;
}

.lifestyle-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
}

.lifestyle-lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: background 0.3s ease;
}

.lifestyle-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lifestyle-lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .lifestyle-lightbox-close {
    top: -40px;
    width: 36px;
    height: 36px;
  }

  .lifestyle-lightbox-image {
    max-height: 70vh;
  }
}

/* Lifestyle CTA Section */
.lifestyle-cta-section {
  background: #f7f3f0;
  padding: 120px 24px;
  text-align: center;
}

.lifestyle-cta-content {
  max-width: 1400px;
  margin: 0 auto;
}

.lifestyle-cta-text {
  font-size: 84px;
  line-height: 1.2;
  font-weight: 400;
  color: #000000;
  font-family: "Poppins", sans-serif;
  text-align: center;
  margin: 0 0 60px 0;
}

.lifestyle-cta-text-ornamental {
  font-family: "TheSilverEditorial", serif;
  font-style: italic;
  font-weight: 400;
}

.lifestyle-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #13382c;
  color: #ffffff;
  padding: 18px 36px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(19, 56, 44, 0.3);
}

.lifestyle-cta-button:hover {
  background: #1a4539;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(19, 56, 44, 0.4);
}

.lifestyle-cta-button svg {
  transition: transform 0.3s ease;
}

.lifestyle-cta-button:hover svg {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .lifestyle-cta-text {
    font-size: 64px;
  }
}

@media (max-width: 768px) {
  .lifestyle-cta-section {
    padding: 80px 24px;
  }

  .lifestyle-cta-text {
    font-size: 36px;
    margin: 0 0 40px 0;
  }

  .lifestyle-cta-button {
    padding: 16px 28px;
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .lifestyle-slider-title {
    font-size: 80px;
  }

  .lifestyle-slider-subtitle {
    font-size: 20px;
  }
}

/* Residence background section */
.residence-section {
  color: #f3efea;
  position: relative;
  padding: 120px 24px;
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url("textures/rezydencja-bg.jpg") center/cover no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

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

.residence-title {
  margin: 0;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.15;
}

.residence-title .italic {
  font-family: "TheSilverEditorial", serif;
  font-style: italic;
  font-weight: 400;
}

/* Progress Slider section */
.progress-slider-section {
  background: #0a0a0a;
  color: #f3efea;
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}

/* FAQ Section */
.faq-section {
  background: #003b2d;
  color: #f3efea;
  padding: 120px 24px;
  position: relative;
}

.faq-title {
  font-size: 48px;
  font-weight: 400;
  margin: 0 0 80px 0;
  text-align: center;
  color: #f3efea;
  font-family: "Poppins", sans-serif;
}

.faq-list {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-bottom: 1px solid rgba(243, 239, 234, 0.2);
  padding-bottom: 16px;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  background: transparent;
  border: none;
  color: #f3efea;
  font-size: 18px;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: rgba(243, 239, 234, 0.8);
}

.faq-number {
  font-weight: 600;
  color: #f3efea;
  min-width: 24px;
}

.faq-question-text {
  flex: 1;
  line-height: 1.5;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: #f3efea;
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 20px 40px;
  color: rgba(243, 239, 234, 0.9);
  font-size: 16px;
  line-height: 1.8;
  font-family: "Poppins", sans-serif;
  animation: fadeInDown 0.3s ease;
}

.faq-answer p {
  margin: 0 0 16px 0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.progress-title {
  font-size: 48px;
  font-weight: 400;
  margin: 0 0 80px 0;
  text-align: center;
  color: #f3efea;
}

.progress-title-decorative {
  font-family: "TheSilverEditorial", serif;
  font-style: italic;
  font-weight: 400;
}

.progress-slider-wrapper {
  position: relative;
  width: 100%;
  margin: 0 0 20px 0;
  padding: 0;
  padding-top: 50px;
}

.progress-slider-wrapper .progress-month-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 180px;
  font-weight: 300;
  color: rgba(243, 239, 234, 0.08);
  line-height: 1;
  font-family: "TheSilverEditorial", serif;
  transition: all 0.6s ease;
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  text-align: center;
}

.progress-image-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 1;
  cursor: grab;
  user-select: none;
  overflow: hidden;
}

.progress-image-container:active {
  cursor: grabbing;
}

.progress-month-label {
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  color: #f3efea;
  font-family: "TheSilverEditorial", serif;
  margin-top: 24px;
  margin-bottom: 20px;
}

.progress-image-slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.progress-image-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 12px;
  overflow: hidden;
}

.progress-image-wrapper.next {
  animation: slideInFromRight 0.6s ease;
}

.progress-image-wrapper.prev {
  animation: slideInFromLeft 0.6s ease;
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.progress-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.progress-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.progress-scroll-btn {
  background: rgba(0, 0, 0, 0.6);
  color: #f3efea;
  border: 1px solid rgba(243, 239, 234, 0.3);
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.progress-scroll-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(243, 239, 234, 0.5);
}

.progress-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 234, 0.3);
  background: rgba(0, 0, 0, 0.6);
  color: #f3efea;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.progress-nav-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(243, 239, 234, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.progress-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.progress-nav-prev {
  left: 24px;
}

.progress-nav-next {
  right: 24px;
}

.progress-scrollbar {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  max-width: 90%;
  z-index: 10;
}

.progress-scrollbar-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(243, 239, 234, 0.2);
}

.progress-scrollbar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  background: rgba(243, 239, 234, 0.8);
  transition: width 0.4s ease;
}

.progress-scrollbar-months {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  gap: 8px;
}

.progress-scrollbar-month {
  font-size: 12px;
  color: rgba(243, 239, 234, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  flex: 1;
  font-family: "Poppins", sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.progress-scrollbar-month:hover {
  color: rgba(243, 239, 234, 0.8);
}

.progress-scrollbar-month.active {
  color: #f3efea;
  font-weight: 600;
}

.progress-info {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.progress-description {
  font-size: 24px;
  line-height: 1.8;
  color: rgba(243, 239, 234, 0.9);
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  transition: opacity 0.4s ease;
  font-weight: 300;
}

.progress-loading {
  text-align: center;
  padding: 80px 0;
  color: rgba(243, 239, 234, 0.6);
  font-size: 18px;
}

/* Swiper coverflow adjustments */

/* Gallery section */
.gallery {
  background: #f7f3f0;
  padding: 56px 24px;
}

.gallery-hero {
  width: min(92vw, 1400px);
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 12px 18px;
  border-radius: 9999px;
  font-family: "TheSilverEditorial", serif;
}

/* Nowoczesna siatka galerii */
.gallery-grid {
  width: min(92vw, 1400px);
  margin: 40px auto 0;
}

.gallery-grid-header {
  text-align: center;
  margin-bottom: 32px;
}

.gallery-grid-title {
  font-family: "TheSilverEditorial", serif;
  font-size: 32px;
  font-weight: 400;
  color: #003b2d;
  margin: 0 0 8px 0;
}

.gallery-grid-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0;
  font-weight: 400;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;
}

.gallery-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.gallery-grid-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(19, 54, 47, 0.1);
}

.gallery-grid-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #003b2d;
}

.gallery-grid-item-large {
  grid-column: span 2;
}

.gallery-grid-image-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.gallery-grid-item-large .gallery-grid-image-container {
  height: 280px;
}

.gallery-grid-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-grid-item:hover .gallery-grid-image-container img {
  transform: scale(1.05);
}

.gallery-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(19, 54, 47, 0.8) 0%, rgba(19, 54, 47, 0.4) 50%, transparent 100%);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gallery-grid-content {
  text-align: center;
  color: white;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.gallery-grid-item:hover .gallery-grid-content {
  transform: translateY(0);
}

.gallery-grid-item-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px 0;
  font-family: "TheSilverEditorial", serif;
}

.gallery-grid-zoom-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-grid-zoom-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.gallery-grid-footer {
  text-align: center;
}

.gallery-view-all-btn {
  background: linear-gradient(135deg, #003b2d 0%, #2c473e 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "TheSilverEditorial", serif;
  box-shadow: 0 8px 25px rgba(19, 54, 47, 0.3);
}

.gallery-view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(19, 54, 47, 0.4);
  background: linear-gradient(135deg, #1a4539 0%, #345a4f 100%);
}

.gallery-view-all-btn svg {
  transition: transform 0.3s ease;
}

.gallery-view-all-btn:hover svg {
  transform: translateX(4px);
}

/* Kafelek z +8 */
.gallery-grid-item-more {
  background: linear-gradient(135deg, #003b2d 0%, #2c473e 100%);
  border: 2px solid #003b2d;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.gallery-grid-item-more:hover {
  background: linear-gradient(135deg, #1a4539 0%, #345a4f 100%);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(19, 54, 47, 0.3);
}

.gallery-grid-more-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.gallery-grid-more-content {
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.gallery-grid-more-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.gallery-grid-item-more:hover .gallery-grid-more-icon {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.gallery-grid-more-icon svg {
  color: white;
}

.gallery-grid-more-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.gallery-grid-more-number {
  font-size: 48px;
  font-weight: 700;
  font-family: "TheSilverEditorial", serif;
  line-height: 1;
}

.gallery-grid-more-label {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Interior video section */
.interior-video-section {
  background: #000;
  padding: 0;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.interior-video-frame {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background: #000;
  overflow: hidden;
}

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

.interior-video-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: transparent;
  z-index: 2;
}

/* Fullscreen modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
}

.modal-backdrop.open {
  display: block;
}

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75vw;
  max-width: 1200px;
  height: 100vh;
  max-height: 100vh;
  border-radius: 16px;
  z-index: 1001;
  overflow: auto;
  display: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-content.open {
  display: block;
  animation: modalIn 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalIn {
  from {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
  }

  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
  padding: 18px;
  grid-auto-flow: dense;
  align-items: stretch;
}

.tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}

.tile:hover img {
  transform: scale(1.03);
}

.tile.span-6x4 {
  grid-column: span 6;
  grid-row: span 4;
  aspect-ratio: 3/2;
}

.tile.span-4x4 {
  grid-column: span 4;
  grid-row: span 4;
  aspect-ratio: 1/1;
}

.tile.span-8x5 {
  grid-column: span 8;
  grid-row: span 5;
  aspect-ratio: 16/10;
}

.tile.span-3x5 {
  grid-column: span 3;
  grid-row: span 5;
  aspect-ratio: 3/5;
}

.tile.span-2x5 {
  grid-column: span 2;
  grid-row: span 5;
  aspect-ratio: 2/5;
}

/* Lightbox for single image */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 80vh;
  border-radius: 12px;
}

.close-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1200;
  color: #fff;
  background: #2d8659;
  border: none;
  border-radius: 9999px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.close-btn:hover {
  background: #1f6b47;
  border: 0px;
  transform: scale(1.05);
}

.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1200;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-arrow.left {
  left: 20px;
}

.nav-arrow.right {
  right: 20px;
}

/* Amenities Slider */
.amenities-slider {
  background: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.amenities-slider::before {
  content: "Bandrowskiego \A residence";
  white-space: pre-line;
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translate(calc(-50% + var(--watermark-x, 100vw)), -50%);
  font-size: 450px;
  font-weight: 400;
  color: rgba(0, 59, 45, 0.07);
  text-align: center;
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;
  transition: transform 0.1s ease-out;
}

.amenities-slider::after {
  content: "Residence";
  white-space: pre-line;
  position: absolute;
  left: 50%;
  top: 70%;
  transform: translate(calc(-50% + var(--watermark-x-2, -100vw)), -50%);
  font-size: 380px;
  font-weight: 400;
  color: rgba(0, 59, 45, 0.05);
  text-align: center;
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;
  transition: transform 0.1s ease-out;
}

.amenities-slider > * {
  position: relative;
  z-index: 1;
}

.amenities-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0px;
  margin-bottom: 48px;
}

.amenities-title {
  font-size: 48px;
  font-weight: 400;
  margin: 0;
  color: #151515;
}

.amenities-title-italic {
  font-family: "TheSilverEditorial", serif;
  font-style: italic;
  font-weight: 400;
}

.amenities-subtitle {
  font-size: 24px;
  color: #666;
  font-weight: 400;
}

.slider-container {
  position: relative;
  width: 100%;
  margin: 0;
}

.amenities-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(19, 56, 44, 0.3);
  background: rgba(255, 255, 255, 0.9);
  color: #13382c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.amenities-nav-btn:hover {
  background: #13382c;
  color: #fff;
  border-color: #13382c;
  transform: translateY(-50%) scale(1.1);
}

.amenities-nav-prev {
  left: 24px;
}

.amenities-nav-next {
  right: 24px;
}

.amenities-scrollbar {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  max-width: 90%;
  height: 2px;
  background: rgba(19, 56, 44, 0.2);
  z-index: 10;
}

.amenities-scrollbar-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.amenities-scrollbar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #13382c;
  transition: width 0.3s ease;
}

.slider-wrapper {
  overflow: hidden;
  border-radius: 20px;
  height: 600px;
}

.slider-track {
  display: flex;
  transition: transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  align-items: flex-end;
}

.slide {
  min-width: 33.333%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.slide-even {
  align-self: flex-start;
  margin-top: 80px;
}

/* Losowe margin-top dla co drugiego elementu slide-even */
.swiper-slide:nth-child(3) .slide-even {
  margin-top: 150px;
}

.swiper-slide:nth-child(5) .slide-even {
  margin-top: 170px;
}

.swiper-slide:nth-child(7) .slide-even {
  margin-top: 140px;
}

.swiper-slide:nth-child(9) .slide-even {
  margin-top: 230px;
}

.slide-odd {
  align-self: flex-end;
  margin-bottom: 80px;
}

.slide-image-container {
  text-align: center;
}

.slide-arch {
  width: auto;
  height: 50vh;
  border-radius: 300px 300px 0 0;
  overflow: hidden;
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  position: relative;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-title {
  font-size: 24px;
  font-weight: 500;
  color: #151515;
  margin: 0;
  font-family: "TheSilverEditorial", serif;
}

/* Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: background 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-title {
  color: white;
  font-size: 24px;
  font-weight: 500;
  margin: 24px 0 0 0;
  text-align: center;
  font-family: "TheSilverEditorial", serif;
  font-style: italic;
  padding: 0 20px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: #fff;
  color: #666;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms ease;
}

.slider-arrow:hover {
  border-color: #13382c;
  color: #13382c;
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #ddd;
  cursor: pointer;
  transition: all 200ms ease;
}

.slider-dot.active {
  background: #13382c;
  transform: scale(1.2);
}

.slider-dot:hover {
  background: #13382c;
  opacity: 0.7;
}

/* Custom bottom navigation */
.swiper-pagination-custom {
  position: relative;
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.custom-pagination {
  display: flex;
  align-items: center;
  gap: 16px;
}

.custom-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #13382c;
  background: #fff;
  color: #13382c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms ease;
  padding: 0;
}

.custom-nav-btn:hover {
  background: #13382c;
  color: #fff;
  transform: scale(1.05);
}

.custom-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.progress-bar {
  width: 200px;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #000;
  border-radius: 2px;
  transition: width 300ms ease;
}

/* Footer */
/* Contact Fixed Button */
.contact-fixed-button {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  background: #2a2a2a;
  color: #ffffff;
  border: none;
  padding: 24px 16px;
  border-radius: 8px 0 0 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
}

.contact-fixed-button:hover {
  background: #1a1a1a;
  padding-right: 20px;
}

.contact-button-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  font-family: "Poppins", sans-serif;
  white-space: nowrap;
}

.contact-button-arrow {
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Contact Modal */
.contact-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.contact-modal-content {
  background: #1a1a1a;
  color: #ffffff;
  border-radius: 16px;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.contact-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 10001;
}

.contact-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.contact-modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 0px 50px 30px 50px;
  align-items: start;
}

@media (max-width: 1024px) {
  .contact-modal-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 40px;
  }

  .contact-fixed-button {
    padding: 20px 12px;
  }

  .contact-button-text {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .contact-fixed-button {
    display: none;
  }

  .contact-modal-content {
    max-height: 100vh;
    border-radius: 0;
  }

  .contact-modal-inner {
    padding: 24px;
    gap: 40px;
  }

  .contact-modal-close {
    top: 16px;
    right: 16px;
  }
}

.footer {
  background: #13382c;
  color: #f3efea;
  padding: 48px 24px;
  position: relative;
  z-index: 10;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr auto;
  align-items: start;
  justify-content: space-between;
  gap: 48px;
}

.footer-logo {
  height: 48px;
  filter: brightness(0.9);
}

.footer-investment {
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  color: #f3efea;
}

.footer-investment-title {
  font-weight: 600;
  color: #f3efea;
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-investment-address {
  color: #f3efea;
  margin-bottom: 4px;
}

.footer-menu {
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  color: #f3efea;
}

.footer-menu-title {
  font-weight: 600;
  color: #f3efea;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-link {
  color: #f3efea;
  text-decoration: none;
  transition: opacity 0.3s ease;
  font-size: 14px;
}

.footer-nav-link:hover {
  opacity: 0.7;
}

.footer-nav-link.active {
  opacity: 1;
  font-weight: 500;
}

.footer-follow {
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  color: #f3efea;
}

.footer-follow-title {
  font-weight: 600;
  color: #f3efea;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  color: #f3efea;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-link:hover {
  opacity: 0.7;
}

.footer-info {
  text-align: right;
  font-size: 14px;
  line-height: 1.6;
  color: #f3efea;
}

.footer-company-logo {
  width: 70px;
  height: auto;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
}

.footer-info strong {
  color: #f3efea;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(243, 239, 234, 0.2);
  margin-top: 32px;
  padding-top: 24px;
}

.footer-bottom-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: #f3efea;
}

.footer-copyright {
  text-align: left;
}

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

.footer-privacy a {
  transition: opacity 0.3s ease;
}

.footer-privacy a:hover {
  opacity: 0.7;
}

.footer-credits {
  text-align: right;
}

.nav-logo-symbol {
  display: none;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .mosaic {
    grid-template-columns: repeat(8, 1fr);
  }

  .hero-title {
    font-size: 56px;
  }

  .intro-title {
    font-size: 64px;
  }

  .residence-title {
    font-size: 48px;
  }

  .intro-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .intro-arch {
    grid-column: 1;
    width: min(80vw, 400px);
  }

  .intro-copy {
    grid-column: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }
}

.page-loader-video {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 12px;
}

.page-loader-image {
  max-width: 100%;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
}

@media (min-width: 769px) {
  .page-loader-video {
    width: 40vw;
    height: 40vh;
  }

  .page-loader-image {
    max-width: 40vw;
  }
}

@media (max-width: 1100px) {
  .navbar-inner {
    padding: 8px 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links.open .nav-link {
    font-size: 24px;
    padding: 5px 10px;
  }

  .nav-close {
    top: 20px;
    right: 20px;
    font-size: 35px;
  }

  .navbar {
    width: calc(100% - 30px);
  }

  .nav-logo-symbol {
    display: block;
  }
}

@media (max-width: 768px) {
  .page-loader-image {
    max-width: 90vw;
    height: auto;
  }

  .mosaic {
    grid-template-columns: repeat(4, 1fr);
  }

  .modal-content {
    width: 90vw;
    height: 100vh;
    border-radius: 12px;
  }

  .close-btn {
    top: 12px;
    right: 12px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .hero-video {
    height: 60vh;
    min-height: 400px;
  }

  .video-overlay {
    padding-bottom: 60px;
  }

  .video-overlay h2 {
    font-size: 36px;
    padding: 0 20px;
  }

  .map-section {
    padding: 60px 16px;
  }

  .map-title {
    font-size: 40px;
    margin-bottom: 40px;
  }

  .hero-top {
    padding: 48px 16px 80px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-desc {
    font-size: 14px;
    margin: 24px auto;
  }

  .cta-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 400px;
  }

  .feature {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .nav-logo-symbol {
    display: block;
  }

  .section-secondary {
    padding: 64px 16px;
  }

  .section-secondary .row {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .section-secondary h1 {
    font-size: 32px;
  }

  .intro-banner {
    padding: 32px 16px;
  }

  .intro-banner::before {
    font-size: 120px;
  }

  .intro-title {
    font-size: 40px;
  }

  .intro-copy {
    margin: 0;
  }

  .residence-section {
    padding: 60px 16px;
    min-height: 70vh;
  }

  .residence-title {
    font-size: 36px;
  }

  .progress-slider-section {
    padding: 60px 16px;
  }

  .progress-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .progress-slider-wrapper {
    margin-bottom: 40px;
  }

  .progress-nav-prev {
    left: 12px;
    width: 40px;
    height: 40px;
  }

  .progress-nav-next {
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .progress-slider-wrapper .progress-month-watermark {
    font-size: 120px;
    top: 50%;
  }

  .progress-image-slider {
    height: 400px;
  }

  .progress-image-slider {
    height: 400px;
  }

  .progress-image-wrapper {
    height: 100%;
  }

  .progress-month-label {
    font-size: 20px;
    margin-top: 16px;
  }

  .progress-scrollbar {
    width: 90%;
  }

  .progress-scrollbar-months {
    flex-wrap: wrap;
    gap: 4px;
  }

  .progress-scrollbar-month {
    font-size: 10px;
    min-width: 60px;
  }

  .progress-scrollbar {
    width: 300px;
    bottom: 20px;
  }

  .progress-description {
    font-size: 16px;
    padding: 0 16px;
  }

  .faq-section {
    padding: 60px 16px;
  }

  .faq-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .faq-question {
    font-size: 16px;
    padding: 16px 0;
  }

  .faq-answer {
    padding: 0 0 16px 0;
    font-size: 15px;
  }

  .gallery {
    padding: 32px 16px;
  }

  .gallery-grid {
    margin: 24px auto 0;
  }

  .gallery-grid-header {
    margin-bottom: 24px;
  }

  .gallery-grid-title {
    font-size: 24px;
  }

  .gallery-grid-subtitle {
    font-size: 14px;
  }

  .gallery-grid-container {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }

  .gallery-grid-item-large {
    grid-column: span 1;
  }

  .gallery-grid-image-container {
    height: 220px;
  }

  .gallery-grid-item-large .gallery-grid-image-container {
    height: 240px;
  }

  .gallery-grid-item-title {
    font-size: 16px;
  }

  .gallery-view-all-btn {
    padding: 14px 24px;
    font-size: 14px;
  }

  .gallery-grid-item-more {
    min-height: 220px;
  }

  .gallery-grid-more-icon {
    width: 48px;
    height: 48px;
  }

  .gallery-grid-more-number {
    font-size: 36px;
  }

  .gallery-grid-more-label {
    font-size: 14px;
  }

  .interior-video-section {
    padding: 0;
  }

  .interior-video-frame {
    height: 30vh;
    min-height: 350px;
  }

  .footer {
    padding: 32px 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .footer-logo {
    margin: 0 auto;
    display: block;
  }

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

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

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

  .footer-social {
    justify-content: center;
  }

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

  .footer-company-logo {
    display: block;
    margin: 0 auto;
  }

  .footer-bottom {
    margin-top: 24px;
    padding-top: 20px;
  }

  .footer-bottom-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }

  .footer-copyright,
  .footer-privacy,
  .footer-credits {
    text-align: center;
  }

  .nav-arrow {
    width: 36px;
    height: 36px;
  }

  .nav-arrow.left {
    left: 12px;
  }

  .nav-arrow.right {
    right: 12px;
  }

  .amenities-slider {
    padding: 48px 0;
  }

  .amenities-slider::before {
    font-size: 200px;
  }

  .amenities-slider::after {
    font-size: 160px;
  }

  .amenities-title {
    font-size: 32px;
  }

  .amenities-subtitle {
    font-size: 18px;
  }

  .amenities-nav-btn {
    width: 36px;
    height: 36px;
  }

  .amenities-nav-prev {
    left: 12px;
  }

  .amenities-nav-next {
    right: 12px;
  }

  .amenities-scrollbar {
    width: 300px;
    bottom: 20px;
  }

  .slide-arch {
    width: 200px;
    height: 260px;
    border-radius: 100px 100px 0 0;
  }

  .slider-wrapper {
    height: 400px;
  }

  .slide-even,
  .slide-odd {
    margin-top: 0;
    margin-bottom: 0;
    align-self: center;
  }

  .slide-title {
    font-size: 20px;
  }

  /* Lightbox Mobile Styles */
  .lightbox-close {
    top: -40px;
    width: 36px;
    height: 36px;
  }

  .lightbox-image {
    max-height: 70vh;
  }

  .lightbox-title {
    font-size: 20px;
    margin: 16px 0 0 0;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .slider-controls {
    gap: 16px;
    margin-top: 24px;
  }

  .custom-pagination {
    gap: 12px;
  }

  .custom-nav-btn {
    width: 36px;
    height: 36px;
  }

  .progress-bar {
    width: 150px;
    height: 3px;
  }
}

.history-intro {
  width: auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1b1b1b;
  position: relative;
  margin-left: calc(-50vw + 50%);
}

.history-intro-content {
  text-align: center;
  color: white;
  width: 100%;
  max-width: 1400px;
  padding: 0 60px;
}

.history-main-title {
  font-size: clamp(4rem, 5vw, 5vw);
  font-weight: 300;
  line-height: 1.1;
  margin: 0 0 30px 0;
  letter-spacing: -0.02em;
}

.history-title-sans {
  font-family: "Arial", sans-serif;
  font-weight: 300;
}

.history-title-serif {
  font-family: "TheSilverEditorial", serif;
  font-style: italic;
  font-weight: 300;
}

.history-subtitle {
  font-size: clamp(3rem, 3vw, 3vw);
  font-weight: 300;
  margin: 0 0 50px 0;
  color: #e0e0e0;
}

.history-cta {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 300;
  margin: 0 0 30px 0;
  color: #b0b0b0;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-arrow {
  font-size: 1.5rem;
  color: white;
  animation: bounce 2s infinite;
}

.scroll-arch {
  width: 40px;
  height: 20px;
  border: 2px solid white;
  border-radius: 0 0 20px 20px;
  border-top: none;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

@media (max-width: 768px) {
  .history-intro {
    margin-left: 0;
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 40px 0;
    padding-top: 120px;
  }

  .history-intro-content {
    padding: 0 20px;
  }

  .history-main-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin: 0 0 20px 0;
    line-height: 1.2;
  }

  .history-subtitle {
    font-size: clamp(1rem, 4vw, 1.3rem);
    margin: 0 0 30px 0;
  }

  .history-cta {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin: 0 0 40px 0;
  }

  .scroll-indicator {
    margin-top: 20px;
  }

  .scroll-arrow {
    font-size: 1.2rem;
  }

  .scroll-arch {
    width: 30px;
    height: 15px;
  }

  .timeline-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 20px;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px;
  }

  .background-text {
    max-width: 100%;
    text-align: center;
    min-height: auto;
    padding: 0;
  }

  .year-display {
    font-size: clamp(3rem, 15vw, 5rem);
    margin-bottom: 15px;
  }

  .background-title {
    font-size: clamp(16px, 4vw, 20px);
    margin: 8px 0;
    height: auto;
    min-height: 60px;
    text-align: center;
  }

  .background-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    height: auto;
    min-height: 50px;
    text-align: center;
    line-height: 1.5;
  }

  .timeline-background::after {
    font-size: clamp(80px, 40vw, 120px);
  }

  .timeline-sections {
    margin-left: 0;
    padding: 80px 0 40px 0;
  }

  .timeline-section {
    min-height: auto;
    padding: 40px 0;
  }

  .timeline-content {
    padding: 0 20px;
    gap: 20px;
  }

  .timeline-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
  }

  .timeline-separator {
    height: 40px;
    margin: 20px auto 0;
  }
}

.history-timeline {
  position: relative;
  min-height: 100vh;
  background: #1b1b1b;
}

.timeline-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 45%;
  height: 100vh;
  background: transparent;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding-left: 200px;
}

.timeline-background.active {
  opacity: 1;
}

.timeline-background::after {
  content: "bandrowskiego";
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  font-family: "TheSilverEditorial", serif;
  font-weight: 300;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  font-size: clamp(120px, 60vw, 28vw);
  color: rgba(255, 255, 255, 0.035);
  z-index: 0;
  user-select: none;
}

.background-text {
  text-align: left;
  color: white;
  max-width: 550px;
  padding: 0;
  position: relative;
  z-index: 3;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.year-display {
  font-size: 8rem;
  font-weight: 300;
  font-family: "TheSilverEditorial", serif;
  display: block;
  margin-bottom: 20px;
  opacity: 0.9;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  transition: all 0.6s ease;
  transform: translateY(0);
}

.background-description {
  font-size: 1.5rem;
  font-weight: 200;
  opacity: 0.8;
  line-height: 1.6;
  margin: 0;
  transition: all 0.8s ease;
  transform: translateY(0);
  height: auto;
  min-height: 80px;
  display: flex;
  align-items: flex-start;
  overflow: visible;
}

.background-title {
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 600;
  margin: 6px 0 12px 0;
  color: #e8e8e8;
  transition: all 0.7s ease;
  transform: translateY(0);
  height: auto;
  min-height: 120px;
  line-height: 1.35;
  display: flex;
  align-items: center;
  overflow: visible;
}

/* Fade in animations for text elements */
.background-text .year-display {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.background-text .background-title {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.2s;
}

.background-text .background-description {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.4s;
}

.timeline-background.active .background-text .year-display,
.timeline-background.active .background-text .background-title,
.timeline-background.active .background-text .background-description {
  opacity: 1;
  transform: translateY(0);
}

.timeline-sections {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  margin-left: 45%;
}

.timeline-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.timeline-content {
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  text-align: center;
}

.timeline-image {
  position: relative;
  z-index: 0;
}

.timeline-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: none;
}

.timeline-text {
  color: white;
}

.timeline-text h2 {
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 300;
  font-family: "TheSilverEditorial", serif;
  margin: 0 0 20px 0;
  color: #f0f0f0;
}

.timeline-text h3 {
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 400;
  margin: 0 0 10px 0;
  color: #e5e5e5;
  line-height: 1.35;
}

.timeline-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #b0b0b0;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .year-display {
    font-size: 6rem;
  }

  .background-description {
    font-size: 1.3rem;
  }

  .timeline-content {
    gap: 60px;
    padding: 0 30px;
  }

  .timeline-text h2 {
    font-size: 3rem;
  }

  .timeline-text h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .history-intro-content {
    padding: 0 16px;
  }

  .history-main-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
    margin: 0 0 16px 0;
  }

  .history-subtitle {
    font-size: clamp(0.95rem, 4.5vw, 1.2rem);
    margin: 0 0 24px 0;
  }

  .history-cta {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
    margin: 0 0 32px 0;
  }

  .timeline-background {
    padding: 16px;
    padding-top: 60px;
  }

  .year-display {
    font-size: clamp(2.5rem, 18vw, 4rem);
    margin-bottom: 12px;
  }

  .background-title {
    font-size: clamp(14px, 4.5vw, 18px);
    margin: 6px 0;
    min-height: 50px;
  }

  .background-description {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
    min-height: 40px;
  }

  .timeline-sections {
    padding: 60px 0 30px 0;
  }

  .timeline-section {
    padding: 30px 0;
  }

  .timeline-content {
    padding: 0 16px;
    gap: 16px;
  }

  .timeline-separator {
    height: 30px;
    margin: 16px auto 0;
  }
}

/* Separator line between sections */
.timeline-separator {
  width: 1px;
  height: 80px;
  background: rgba(255, 255, 255, 0.25);
  margin: 40px auto 0;
}

/* Animation for year change */
.year-display.animating {
  transform: scale(1.1);
  opacity: 1;
}

/* Reveal animations for timeline elements */
.timeline-section [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.timeline-section [data-reveal].reveal-wired {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   MOBILE HISTORY COMPONENT
   ============================================ */
.history-mobile {
  display: none;
  width: 100%;
  min-height: 100vh;
  background: #1b1b1b;
  padding: 20px 0;
  position: relative;
}

@media (max-width: 768px) {
  .history-mobile {
    display: block;
    height: auto;
    min-height: auto;
  }

  .history-timeline {
    display: none;
  }
}

.history-mobile-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Indicators */
.history-mobile-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.history-mobile-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  flex-shrink: 0;
}

.history-mobile-indicator.active {
  background: rgba(255, 255, 255, 0.9);
  width: 24px;
  border-radius: 4px;
  transform: scale(1.1);
}

.history-mobile-indicator:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* Cards container */
.history-mobile-cards {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 20px;
  padding: 0 0 20px 0;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.history-mobile-cards::-webkit-scrollbar {
  display: none;
}

/* Individual card */
.history-mobile-card {
  flex: 0 0 calc(100% - 40px);
  max-width: calc(100% - 40px);
  scroll-snap-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0.6;
  transform: scale(0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.history-mobile-card.active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

/* Image section */
.history-mobile-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #2a2a2a;
  position: relative;
}

.history-mobile-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}

.history-mobile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.history-mobile-card.active .history-mobile-image img {
  transform: scale(1.05);
}

/* Content section */
.history-mobile-content {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.history-mobile-year {
  font-family: "TheSilverEditorial", serif;
  font-size: clamp(3rem, 12vw, 4.5rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.2);
  letter-spacing: -0.02em;
}

.history-mobile-title {
  font-size: clamp(1.25rem, 5vw, 1.5rem);
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.history-mobile-description {
  font-size: clamp(0.95rem, 4vw, 1.1rem);
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.6;
  font-weight: 300;
}

/* Card number indicator */
.history-mobile-card-number {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  letter-spacing: 0.5px;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navigation arrows */
.history-mobile-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  color: rgba(255, 255, 255, 0.9);
  padding: 0;
}

.history-mobile-nav:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.history-mobile-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.history-mobile-nav-prev {
  left: 10px;
}

.history-mobile-nav-next {
  right: 10px;
}

@media (max-width: 480px) {
  .history-mobile-container {
    padding: 0 16px;
  }

  .history-mobile-cards {
    gap: 16px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .history-mobile-card {
    flex: 0 0 calc(100% - 32px);
    max-width: calc(100% - 32px);
    border-radius: 16px;
  }

  .history-mobile-content {
    padding: 20px 16px;
    gap: 10px;
  }

  .history-mobile-year {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .history-mobile-nav {
    width: 40px;
    height: 40px;
  }

  .history-mobile-nav-prev {
    left: 8px;
  }

  .history-mobile-nav-next {
    right: 8px;
  }
}

/* Building Viewer Modal Buttons */
.building-viewer-btn-primary {
  background: #003b2d;
  text-align: center;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  width: auto;
  justify-content: center;
}

.building-viewer-btn-primary:hover {
  opacity: 0.9;
}

.building-viewer-btn-secondary {
  background: transparent;
  color: #003b2d;
  border: 1px solid #d3d3d3;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.building-viewer-btn-secondary:hover {
  background: #f8f9fa;
}

.building-viewer-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.building-viewer-modal-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
}

.building-viewer-modal-actions-row .building-viewer-btn-primary {
  flex: 1;
  width: 50%;
  justify-content: center;
}
