/* === ANIMACJE WEJŚCIA SLAJDÓW (ZOPTYMALIZOWANE POD GPU) === */
.slide .anim-element {
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide.active .anim-element {
  opacity: 1;
  transform: translateY(0);
}

.slide .anim-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide.active .anim-scale {
  opacity: 1;
  transform: scale(1);
}

.slide .anim-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active .anim-fade {
  opacity: 1;
}

.slide.active .anim-delay-1 { transition-delay: 0.1s; }
.slide.active .anim-delay-2 { transition-delay: 0.2s; }
.slide.active .anim-delay-3 { transition-delay: 0.3s; }
.slide.active .anim-delay-4 { transition-delay: 0.4s; }
.slide.active .anim-delay-5 { transition-delay: 0.5s; }
.slide.active .anim-delay-6 { transition-delay: 0.6s; }
.slide.active .anim-delay-7 { transition-delay: 0.7s; }
.slide.active .anim-delay-8 { transition-delay: 0.8s; }
.slide.active .anim-delay-9 { transition-delay: 0.9s; }

/* === ANIMACJA KAFELKÓW FAQ === */
.slide .faq-main-title,
.slide .faq-dots-container,
.slide .faq-item {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.active .faq-main-title {
  opacity: 1;
  transition-delay: 0.1s;
}

.slide.active .faq-dots-container {
  opacity: 1;
  transition-delay: 0.8s;
}

.slide.active .faq-item {
  opacity: 1;
}

.slide.active .faq-page .faq-item:nth-child(1) { transition-delay: 0.15s; }
.slide.active .faq-page .faq-item:nth-child(2) { transition-delay: 0.25s; }
.slide.active .faq-page .faq-item:nth-child(3) { transition-delay: 0.35s; }
.slide.active .faq-page .faq-item:nth-child(4) { transition-delay: 0.45s; }
.slide.active .faq-page .faq-item:nth-child(5) { transition-delay: 0.55s; }
.slide.active .faq-page .faq-item:nth-child(6) { transition-delay: 0.65s; }
.slide.active .faq-page .faq-item:nth-child(7) { transition-delay: 0.75s; }

/* === RESET I TŁO === */
html, body {
  margin: 0;
  padding: 0;
  background-color: #050505 !important;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

#hero {
  position: fixed;
  inset: 0;
  background-color: #050505;
  z-index: 99999;
  touch-action: none;
  overflow: hidden;
}

#hero, #hero h1, #hero h2, #hero h3, #hero p, #hero div,
#hero span:not(.material-symbols-outlined):not([class*="fa-"]) {
  font-family: 'Play', sans-serif !important;
}

/* --- EKRAN BLOKADY POZIOMEJ (LANDSCAPE) --- */
#landscape-warning {
  display: none;
  position: fixed;
  inset: 0;
  background-color: #050505;
  z-index: 9999999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#landscape-warning p {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 1px;
  text-align: center;
  margin-top: 20px;
}

.landscape-icon {
  color: #fae37f;
  font-size: 80px !important;
  animation: rotatePhone 2.5s infinite ease-in-out;
}

@keyframes rotatePhone {
  0% { transform: rotate(-90deg); opacity: 0; }
  15% { transform: rotate(-90deg); opacity: 1; }
  50% { transform: rotate(0deg); opacity: 1; }
  85% { transform: rotate(0deg); opacity: 1; }
  100% { transform: rotate(0deg); opacity: 0; }
}

/* === GŁÓWNA NAWIGACJA === */
#side-nav-wrapper {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%) translateX(calc(-100% + 46px));
  z-index: 100000;
  display: flex;
  flex-direction: row;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

#side-nav-wrapper.open {
  transform: translateY(-50%) translateX(0);
}

body.social-focus-active #side-nav-wrapper {
  z-index: 5;
}

.side-nav-menu {
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: none;
  border-radius: 0 28px 28px 0;
  padding: 40px 26px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  box-shadow: none;
  transition: box-shadow 0.5s ease;
}

#side-nav-wrapper.open .side-nav-menu {
  box-shadow: 10px 0 40px rgba(5, 5, 5, 0.8);
}

#side-nav-toggle {
  width: 46px;
  height: 160px;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: none;
  border-radius: 0 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fae37f;
  cursor: pointer;
  box-shadow: 8px 0 25px rgba(5, 5, 5, 0.6);
  transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease, box-shadow 0.5s ease;
  margin-left: -1px;
}

#side-nav-toggle:hover {
  background: rgba(94, 167, 157, 0.6);
  color: #fff;
}

#side-nav-wrapper.open.white-shadow .side-nav-menu {
  box-shadow: 10px 0 40px rgba(255, 255, 255, 0.25);
}

#side-nav-wrapper.white-shadow #side-nav-toggle {
  box-shadow: 8px 0 25px rgba(255, 255, 255, 0.25);
}

#side-nav-wrapper.open #side-nav-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#nav-toggle-icon {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 4px;
  transition: transform 0.3s ease;
  transform: rotate(-90deg);
}

.nav-item {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #808080;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.nav-item * {
  pointer-events: none;
}

@media (hover: hover) {
  .nav-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: scale(1.1);
  }
  .nav-item:hover::before {
    opacity: 1;
    top: 50% !important;
    left: calc(100% + 30px) !important;
  }
}

.nav-item:active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: scale(1.1);
}

.nav-item.active {
  background: #5ea79d;
  color: #050505;
  box-shadow: 0 0 25px rgba(94, 167, 157, 0.7);
  transform: scale(1.15);
}

.nav-item .material-symbols-outlined {
  font-size: 32px;
}

.nav-item.hide-tooltip::before {
  opacity: 0 !important;
  visibility: hidden !important;
}

.nav-item.show-tooltip::before {
  opacity: 1 !important;
  visibility: visible !important;
}

.nav-item::before {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  left: calc(100% + 25px);
  transform: translateY(-50%);
  background: rgba(5, 5, 5, 0.92);
  color: #fae37f;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 100;
}

.nav-item:active::before,
.nav-item.show-tooltip::before {
  opacity: 1;
  top: 50% !important;
  left: calc(100% + 30px) !important;
}

.mobile-break {
  display: none;
}

/* === SYSTEM SLAJDÓW === */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
  background-color: #050505;
  visibility: hidden;
  will-change: transform, opacity;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
  transform: translateY(0);
}

.slide-content {
  text-align: center;
  width: 100%;
  height: 100dvh;
  box-sizing: border-box;
  position: relative;
  z-index: 5;
  pointer-events: auto !important;
}

/* --- SLAJD 0 --- */
.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.intro-overlay {
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 10;
  text-shadow: 0 4px 15px rgba(5, 5, 5, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dynamic-text, .s2-title {
  font-size: 50px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  text-align: center;
}

.dynamic-text { color: #fae37f; }
.s2-title { color: white; margin-top: 35px; }

.dynamic-subtext, .s2-desc {
  font-size: 22px;
  font-weight: 400;
  text-align: center;
  margin: 15px 0 0 0;
}

.dynamic-subtext { color: #fff; }
.s2-desc { color: #808080; }

.scroll-arrow-wrapper {
  width: 46px;
  height: 46px;
  margin-top: 15px;
  filter: drop-shadow(0 4px 10px rgba(5, 5, 5, 0.8));
  animation: bounceArrow 2s infinite;
}

.scroll-arrow-circle {
  width: 100%;
  height: 100%;
  background-color: #5ea79d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.scroll-arrow {
  font-size: 38px !important;
  color: #050505 !important;
  mix-blend-mode: destination-out;
  margin: 0 !important;
  animation: none !important;
  text-shadow: none !important;
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(12px); }
  60% { transform: translateY(6px); }
}

.dynamiczne-opakowanie-logo {
  animation: pulseLogo 1.5s infinite;
  display: inline-block;
  will-change: transform;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.1); }
}

/* --- SLAJD 2: PRZED / PO --- */
.slider-slide-fix {
  display: flex;
  justify-content: center;
  align-items: center;
}

.comp-container {
  position: relative;
  width: 100%;
  height: 100dvh;
  max-width: calc(100dvh * (3 / 4.5));
  aspect-ratio: 3 / 4.5;
  overflow: hidden;
  background: #050505;
}

.comp-img {
  position: absolute;
  inset: 0;
}

.comp-img--before {
  z-index: 2;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid #fae37f;
}

.comp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none !important;
}

.comp-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #fae37f;
  color: #050505;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
}

.comp-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 10;
  cursor: ew-resize;
  -webkit-appearance: none;
}

/* --- SLAJD 3 KARUZELA --- */
.carousel-slide-fix {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 5dvh;
}

.carousel-main-title {
  position: absolute;
  top: 5dvh;
  left: 0;
  right: 0;
  font-size: 40px;
  font-weight: 400;
  color: #fae37f;
  margin: 0;
  text-align: center;
  z-index: 10;
  text-transform: uppercase;
}

.services-carousel {
  width: 100%;
  padding: 20px 0;
  cursor: grab;
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  width: max-content;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-item {
  width: 280px;
  background: #050505;
  border: 1px solid rgba(250, 227, 127, 0.2);
  border-radius: 8px;
  padding: 30px 20px;
  margin: 0 15px;
  opacity: 0.4;
  transform: scale(0.85);
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 380px;
  box-sizing: border-box;
  user-select: none;
  will-change: transform, opacity;
}

.carousel-item.active-slide {
  opacity: 1;
  transform: scale(1.1);
  border-color: #fae37f;
  box-shadow: 0 15px 40px rgba(250, 227, 127, 0.25);
}

/* ZOPTYMALIZOWANE IKONY W PROCESIE (Bez obciążającej animacji tła) */
.carousel-icon {
  font-size: 60px !important;
  color: #fae37f !important; /* Ładny, statyczny złoty kolor */
  margin: 0;
  filter: drop-shadow(0 0 5px rgba(250, 227, 127, 0.3)); /* Lekka poświata zostaje */
}

/* Upewnij się, że usunąłeś stary blok @keyframes shineIcon, nie będzie już potrzebny! */
.carousel-title {
  font-size: 22px;
  color: white;
  font-weight: 700;
  margin: 0;
}

.carousel-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 6em;
}

.carousel-dots-wrapper {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;
  padding: 30px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #050505 15%, #050505 85%, transparent);
  mask-image: linear-gradient(to right, transparent, #050505 15%, #050505 85%, transparent);
}

.carousel-dots-track {
  display: flex;
  width: max-content;
  transition: transform 0.5s ease;
  will-change: transform;
}

.c-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(94, 167, 157, 0.2);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin: 0 10px;
}

.c-dot.active {
  background: #5ea79d;
  color: #050505;
  transform: scale(1.35);
  box-shadow: 0 0 15px rgba(94, 167, 157, 0.8);
}

/* --- SLAJD 4 REALIZACJE --- */
.gallery-slide-fix {
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  position: relative;
}

.gallery-master-container {
  display: flex;
  width: 100%;
  height: 100dvh;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.apartment-section {
  min-width: 100vw;
  height: 100dvh;
  position: relative;
  background: #050505;
}

.investment-title-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 5dvh 20px 60px 20px;
  box-sizing: border-box;
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.6) 50%, transparent 100%);
  text-align: center;
  pointer-events: none;
}

.investment-title-overlay h2 {
  font-size: 40px;
  font-weight: 400;
  color: #fae37f;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 0 2px 15px #050505;
}

.gallery-grid {
  display: grid;
  width: 100%;
  height: 100%;
  gap: 1px;
  background: #050505;
}

.gallery-item-wrapper {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.slide.active .gallery-item {
  animation: kenBurns 12s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.3); }
}

.gallery-dots-container {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(5, 5, 5, 0.6);
  padding: 12px 24px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-dots {
  display: flex;
  gap: 15px;
  align-items: center;
}

.g-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: 0.3s;
}

.g-dot.active {
  background: #5ea79d;
  transform: scale(1.4);
  box-shadow: 0 0 10px #5ea79d;
}

.gallery-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  background: rgba(5, 5, 5, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  z-index: 100;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.gallery-nav-arrow:hover {
  background: #5ea79d;
  color: #050505;
  transform: translateY(-50%) scale(1.1);
  border-color: #5ea79d;
  box-shadow: 0 0 15px rgba(94, 167, 157, 0.5);
}

.gallery-nav-prev { left: 100px; }
.gallery-nav-next { right: 100px; }

.gallery-nav-arrow .material-symbols-outlined {
  font-size: 34px !important;
  margin: 0 !important;
}

/* --- LIGHTBOX --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.98);
  z-index: 100000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  height: 100dvh;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-main-area {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-grow: 1;
  position: relative;
  overflow: hidden;
}

.lightbox img {
  max-width: 85vw;
  max-height: 70dvh;
  object-fit: contain;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  pointer-events: auto !important;
  touch-action: none;
  border: none !important;
}

.lb-nav {
  color: #ffffff !important;
  font-size: 60px !important;
  cursor: pointer;
  padding: 30px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s, color 0.2s;
  z-index: 10;
  user-select: none;
}

.lb-nav:hover {
  color: #fae37f !important;
  transform: translateY(-50%) scale(1.2);
}

.lb-prev { left: 10px; }
.lb-next { right: 10px; }

.lb-thumbnails-container {
  width: 100%;
  height: 110px;
  background: rgba(5, 5, 5, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  border-top: 1px solid #808080;
}

.lb-thumbnails-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 5px 20px;
  scroll-behavior: smooth;
}

.lb-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.2s;
  border: 2px solid transparent;
}

.lb-thumb.active {
  opacity: 1;
  border-color: #5ea79d;
  transform: scale(1.1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fae37f !important;
  font-size: 40px !important;
  cursor: pointer;
  z-index: 100;
  transition: transform 0.2s;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

/* --- SLAJD 5: KONTAKT --- */
.contact-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  max-width: 1400px;
  margin: 0 auto;
  height: 100dvh;
  padding: 0;
}

.contact-image-wrapper {
  flex: 0 0 50%;
  width: 50%;
  height: 100dvh;
  display: flex;
  justify-content: flex-end !important;
  align-items: center;
  padding-right: 40px;
  box-sizing: border-box;
}

.contact-img-relative {
  position: relative;
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
}

.contact-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80dvh;
  object-fit: contain;
  border-radius: 16px;
  -webkit-mask-image: linear-gradient(to bottom, #050505 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #050505 90%, transparent 100%);
}

.contact-badge {
  position: absolute;
  top: 20px;
  left: 0;
  width: 35%;
  height: auto;
  z-index: 12;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(5, 5, 5, 0.6));
  transform: translateX(-50%);
  animation: badgePulse 1.5s infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  30% { transform: translateX(-50%) scale(1.1); }
}

.contact-info-wrapper {
  flex: 0 0 50%;
  width: 50%;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start !important;
  text-align: left !important;
  box-sizing: border-box;
}

.contact-header-block {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 35px;
  width: 100%;
  justify-content: flex-start !important;
  text-align: left !important;
}

.contact-logo-box {
  flex-shrink: 0;
  width: 85px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-gif-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.contact-titles-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  text-align: left !important;
}

.contact-role {
  color: #fff !important;
  font-size: 19px;
  font-weight: 400;
  margin: 0 0 4px 0;
  letter-spacing: 2px;
  text-transform: lowercase;
}

.contact-name {
  font-size: 46px !important;
  color: #fae37f;
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
  text-transform: none !important;
}

.contact-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  text-align: left !important;
  list-style: none;
  padding: 0;
  margin: 0 0 40px 25.5px;
  width: max-content;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  font-size: 21px;
  color: #fff;
  justify-content: flex-start;
  font-weight: 400;
}

.contact-list li .material-symbols-outlined,
.contact-list li .nip-text-icon {
  color: #5ea79d;
  font-size: 34px;
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.contact-list li .nip-text-icon {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: 'Play', sans-serif;
}

.contact-list a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-list a:hover {
  color: #fae37f;
}

.about-open-btn {
  background: #050505;
  border: 1px solid #5ea79d;
  color: #808080;
  padding: 16px 28px;
  border-radius: 8px;
  font-family: 'Play', sans-serif;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 380px;
  transition: all 0.3s;
  margin: 0;
}

.about-open-btn span { color: #808080; }
.about-open-btn .material-symbols-outlined { color: #808080; }

.about-open-btn:hover {
  background: #5ea79d;
  box-shadow: 0 5px 15px rgba(94, 167, 157, 0.4);
}

.about-open-btn:hover span,
.about-open-btn:hover .material-symbols-outlined {
  color: #050505 !important;
}

/* --- OKNO MODALNE --- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.85);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #050505;
  border: 1px solid #808080;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(5, 5, 5, 0.8);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fae37f !important;
  font-size: 32px !important;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 5;
}

.modal-close:hover {
  transform: scale(1.2);
}

.modal-title {
  font-size: 32px;
  color: #fae37f;
  margin-top: 0;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-bottom: 1px solid #808080;
  padding-bottom: 15px;
  text-align: left;
}

.modal-text {
  overflow-y: auto;
  padding-right: 15px;
}

.modal-text p {
  color: #808080;
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.modal-text .modal-intro {
  font-size: 22px;
  color: #fae37f;
  margin-bottom: 25px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
}

.modal-text .modal-intro span {
  font-weight: 700;
  color: #fff;
}

.modal-text strong {
  color: #fff;
  font-weight: 700;
}

.modal-text strong.modal-accent {
  color: #5ea79d;
}

.modal-text em {
  color: #fae37f;
  font-style: normal;
  font-weight: 700;
}

.modal-text .modal-cta {
  font-size: 20px;
  font-weight: 700;
  color: #fae37f;
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background: rgba(94, 167, 157, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(94, 167, 157, 0.3);
}

.modal-text::-webkit-scrollbar {
  width: 6px;
}

.modal-text::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.modal-text::-webkit-scrollbar-thumb {
  background: #5ea79d;
  border-radius: 10px;
}

/* --- SLAJD 6: PYTANIA --- */
.faq-slide-fix {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-bottom: 5dvh;
  position: relative;
}

.faq-main-title {
  position: absolute;
  top: 5dvh;
  left: 0;
  right: 0;
  font-size: 40px;
  font-weight: 400;
  color: #fae37f;
  margin: 0;
  text-align: center;
  z-index: 10;
  text-transform: uppercase;
}

.faq-slider-wrapper {
  width: 100%;
  max-width: 1600px;
  padding: 0 40px;
  box-sizing: border-box;
  margin-top: 80px;
}

.faq-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  will-change: transform;
}

.faq-page {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 15px;
}

.faq-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.faq-question {
  width: 100%;
  height: 100%;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0;
  display: flex;
  align-items: stretch;
  cursor: pointer;
  color: #fff;
  font-family: 'Play', sans-serif;
  transition: border-color 0.3s;
  text-align: left;
  overflow: hidden;
  flex: 1;
  min-height: 50px;
  white-space: normal;
}

.faq-num {
  width: 50px;
  background: #5ea79d;
  color: #050505;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-text {
  flex: 1 1 0%;
  min-width: 0;
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  display: flex;
  align-items: center;
  white-space: normal;
  word-break: break-word;
}

.faq-icon {
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

@media (hover: hover) {
  .faq-question:hover {
    border-color: #5ea79d;
  }
}

.faq-dots-container {
  display: none;
}

#faq-modal {
  background: rgba(5, 5, 5, 0.80);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  align-items: flex-start;
  padding-top: 20vh;
}

.faq-modal-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-width: 650px !important;
}

.faq-modal-close-wrapper {
  position: relative;
  width: 100%;
  height: 40px;
}

#faq-modal-close {
  top: 0;
  right: 0;
}

.faq-modal-q-box {
  background: #fae37f;
  color: #050505;
  display: flex;
  align-items: stretch;
  border-radius: 8px 8px 0 0;
  min-height: 60px;
}

.faq-modal-num {
  width: 60px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border-right: 1px solid rgba(5, 5, 5, 0.1);
}

.faq-modal-text {
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  line-height: 1.3;
}

.faq-modal-a-box {
  background: #050505;
  border: 2px solid #fae37f;
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(5, 5, 5, 0.9);
}

.faq-modal-a-box p {
  color: #808080;
  line-height: 1.6;
  font-size: 15px;
  margin: 0 0 15px 0;
  text-align: left;
}

.faq-modal-a-box p:last-child {
  margin-bottom: 0;
}

/* --- SLAJD 7: SOCIAL MEDIA --- */
.social-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 5dvh;
  box-sizing: border-box;
}

#social-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.80);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

#social-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.social-header {
  width: 100%;
  text-align: center;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.social-title {
  font-size: 40px;
  font-weight: 400;
  color: #fae37f;
  margin: 0 0 10px 0;
}

.social-subtitle {
  font-size: 20px;
  color: #808080;
  margin: 0;
  padding: 0 20px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  width: 90%;
  margin-top: auto;
  margin-bottom: auto;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  background: transparent;
  padding: 10px;
  border-radius: 0;
  border: none;
  position: relative;
  z-index: 10;
  transition: z-index 0.3s;
}

.social-card.mobile-pending {
  z-index: 100;
}

.social-icon-square {
  width: 65px;
  height: 65px;
  border-radius: 8px;
  background: #5ea79d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  will-change: transform;
}

.social-icon-square i,
.social-icon-square .material-symbols-outlined {
  color: #050505 !important;
  font-size: 34px !important;
  margin: 0 !important;
  transition: none;
  transform: none !important;
}

.custom-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.social-item-title {
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  margin: 0 0 10px 0;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.social-item-desc {
  font-size: 15px;
  color: #808080;
  margin: 0;
  line-height: 1.6;
  transition: color 0.3s ease;
}

@media (hover: hover) {
  .social-card:hover .social-icon-square {
    transform: scale(1.1) rotate(5deg);
    box-shadow: none !important;
  }
  .social-card:hover .social-item-title {
    color: #fae37f;
  }
  .social-card:hover .social-item-desc {
    color: #fff;
  }
}

.social-card:active .social-icon-square,
.social-card.mobile-pending .social-icon-square {
  transform: scale(1.1) rotate(5deg);
  box-shadow: none !important;
}

.social-card:active .social-item-title,
.social-card.mobile-pending .social-item-title {
  color: #fae37f;
}

.social-card:active .social-item-desc,
.social-card.mobile-pending .social-item-desc {
  color: #fff;
}

.social-mobile-tooltip {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  background: #ffffff;
  color: #050505;
  border: 1px solid #050505;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow: none;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 999;
}

.social-card.mobile-pending .social-mobile-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-110%);
}

.social-mobile-tooltip::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #050505 transparent;
  display: block;
  width: 0;
  z-index: 1;
}

.social-mobile-tooltip::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px 5px 0;
  border-style: solid;
  border-color: #ffffff transparent;
  display: block;
  width: 0;
  z-index: 2;
}

/* --- SYSTEM MOBILNY (RESPONSYWNOŚĆ) --- */
@media (max-width: 900px) {
  #side-nav-wrapper {
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) translateX(calc(-100% + 30px)) !important;
    flex-direction: row !important;
    align-items: center !important;
  }
  #side-nav-wrapper.open {
    transform: translateY(-50%) translateX(0) !important;
  }
  .side-nav-menu {
    flex-direction: column !important;
    border-radius: 0 18px 18px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-left: none !important;
    padding: 20px 16px !important;
    gap: 16px !important;
    box-shadow: none !important;
  }
  #side-nav-wrapper.open .side-nav-menu {
    box-shadow: 5px 0 20px rgba(5, 5, 5, 0.6) !important;
  }
  #side-nav-toggle {
    width: 30px !important;
    height: 85px !important;
    border-radius: 0 16px 16px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-left: none !important;
    margin-top: 0 !important;
    margin-left: -1px !important;
    box-shadow: 4px 0 15px rgba(5, 5, 5, 0.5) !important;
  }
  #side-nav-wrapper.open.white-shadow .side-nav-menu {
    box-shadow: 5px 0 20px rgba(255, 255, 255, 0.3) !important;
  }
  #side-nav-wrapper.white-shadow #side-nav-toggle {
    box-shadow: 4px 0 15px rgba(255, 255, 255, 0.3) !important;
  }
  #nav-toggle-icon {
    transform: rotate(-90deg) !important;
    font-size: 14px !important;
    letter-spacing: 2px !important;
  }
  #side-nav-wrapper.open #nav-toggle-icon {
    transform: rotate(90deg) !important;
  }
  .nav-item {
    width: 48px !important;
    height: 48px !important;
  }
  .nav-item .material-symbols-outlined {
    font-size: 24px !important;
  }
  .nav-item::before {
    display: block !important;
    top: 50% !important;
    left: calc(100% + 15px) !important;
    transform: translateY(-50%) !important;
    z-index: 110 !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
  }
  @media (hover: hover) {
    .nav-item:hover::before {
      top: 50% !important;
      left: calc(100% + 20px) !important;
    }
  }
  .nav-item:active::before,
  .nav-item.show-tooltip::before {
    top: 50% !important;
    left: calc(100% + 20px) !important;
  }
  .gallery-nav-arrow {
    display: none !important;
  }
  .contact-container {
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    margin: 0;
    height: 100dvh;
    overflow: hidden;
  }
  .contact-image-wrapper {
    width: 100%;
    height: 47dvh;
    flex: 0 0 47dvh;
    margin-top: 3dvh;
    padding: 0 !important;
    display: flex;
    justify-content: center !important;
    align-items: center;
  }
  .contact-img-relative {
    display: inline-block;
    position: relative;
    max-width: 100%;
    max-height: 100%;
  }
  .contact-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 47dvh;
    object-fit: contain;
    border-radius: 0;
    -webkit-mask-image: linear-gradient(to bottom, #050505 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, #050505 85%, transparent 100%);
  }
  .contact-badge {
    top: 10px;
    width: 35%;
    left: 0;
    transform: translateX(-50%);
  }
  .contact-info-wrapper {
    width: 100%;
    height: 50dvh;
    flex: 0 0 50dvh;
    padding: 15px 30px 20px 30px !important;
    display: grid !important;
    grid-template-rows: auto auto auto;
    align-content: space-between;
    overflow: hidden !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .contact-header-block {
    gap: 15px;
    margin-bottom: 0 !important;
    justify-content: flex-start !important;
  }
  .contact-logo-box {
    width: 65px;
    height: 65px;
  }
  .contact-titles-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .contact-role {
    font-size: 14px !important;
    margin: 0 !important;
  }
  .contact-name {
    font-size: 26px !important;
    margin: 0 !important;
  }
  .contact-list {
    margin: 0 0 0 19.5px !important;
    padding: 0 !important;
    width: max-content !important;
    align-items: flex-start !important;
  }
  .contact-list li {
    margin-bottom: 14px !important;
    font-size: 16px !important;
    gap: 16px !important;
    justify-content: flex-start !important;
    color: #fff;
  }
  .contact-list li:last-child {
    margin-bottom: 0 !important;
  }
  .contact-list li .material-symbols-outlined,
  .contact-list li .nip-text-icon {
    font-size: 26px !important;
    width: 26px !important;
    height: 26px !important;
  }
  .contact-list li .nip-text-icon {
    font-size: 13px !important;
  }
  .about-open-btn {
    padding: 12px 20px !important;
    font-size: 14px !important;
    margin: 0 !important;
  }
  .about-open-btn span {
    color: #808080 !important;
  }
  .about-open-btn .material-symbols-outlined {
    color: #808080 !important;
  }
  .about-open-btn:hover span,
  .about-open-btn:hover .material-symbols-outlined {
    color: #050505 !important;
  }
  .faq-slide-fix {
    padding-bottom: 5dvh !important;
    justify-content: center;
  }
  .faq-main-title {
    top: 5dvh !important;
    font-size: 30px !important;
    margin: 0 !important;
  }
  .faq-slider-wrapper {
    margin-top: 80px !important;
    padding: 0 !important;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .faq-slider-wrapper::-webkit-scrollbar {
    display: none;
  }
  .faq-slider {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    gap: 0;
    flex-wrap: nowrap;
    overflow: visible;
  }
  .faq-page {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    padding: 0 20px;
    box-sizing: border-box;
    gap: 12px !important;
    flex-shrink: 0;
    display: grid !important;
    grid-auto-rows: 1fr !important;
  }
  .faq-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }
  .faq-question {
    min-height: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: stretch !important;
  }
  .faq-num {
    width: 40px !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .faq-text {
    padding: 10px 12px !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    display: flex !important;
    align-items: center;
  }
  .faq-dots-container {
    display: block;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: rgba(5, 5, 5, 0.6);
    padding: 10px 18px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .faq-dots {
    display: flex;
    gap: 15px;
    align-items: center;
  }
  .f-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: 0.3s;
  }
  .f-dot.active {
    background: #5ea79d;
    transform: scale(1.4);
    box-shadow: 0 0 10px #5ea79d;
  }
  .faq-modal-q-box {
    min-height: 50px;
  }
  .faq-modal-num {
    width: 45px;
    font-size: 16px;
  }
  .faq-modal-text {
    padding: 12px 15px;
    font-size: 14px;
  }
  .faq-modal-a-box {
    padding: 20px;
  }
  .faq-modal-a-box p {
    font-size: 14px !important;
  }
  .social-slide {
    padding-top: 5dvh !important;
    justify-content: flex-start !important;
  }
  .social-header {
    margin-bottom: 20px;
  }
  .social-title {
    font-size: 30px !important;
    margin-bottom: 5px !important;
  }
  .social-subtitle {
    font-size: 14px !important;
    margin-bottom: 0 !important;
  }
  .social-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: max-content !important;
    row-gap: 15px !important;
    column-gap: 12px !important;
    width: 100% !important;
    margin-top: 10px;
    margin-bottom: auto;
  }
  .social-card {
    padding: 8px 4px !important;
  }
  .social-icon-square {
    width: 52px !important;
    height: 52px !important;
    border-radius: 8px !important;
    margin-bottom: 10px !important;
  }
  .social-icon-square i,
  .social-icon-square .material-symbols-outlined {
    font-size: 26px !important;
  }
  .social-item-title {
    font-size: 14px !important;
    margin-bottom: 5px !important;
  }
  .social-item-desc {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }
  .lightbox-close {
    top: 15px !important;
    right: 15px !important;
    font-size: 32px !important;
    z-index: 1000000 !important;
  }
}

@media (max-width: 768px) {
  .mobile-break { display: block; }
  .dynamic-text, .s2-title { font-size: 32px; }
  .dynamic-subtext, .s2-desc { font-size: 18px; margin-top: 10px; }
  .lb-nav { display: none; }
  .gallery-dots-container { bottom: 30px; padding: 10px 18px; }
  .carousel-item { width: 240px; min-height: 340px; padding: 20px 15px; }
  .carousel-main-title { top: 5dvh; font-size: 30px; }
  .faq-main-title { top: 5dvh; font-size: 30px; }
  .investment-title-overlay h2 { font-size: 30px; }
  .carousel-dots-wrapper { max-width: 280px; bottom: 2%; }
  .modal-content { padding: 25px; }
}

@media (max-width: 900px) and (orientation: landscape) {
  #landscape-warning { display: flex !important; }
  .slide-content, #side-nav-wrapper { opacity: 0 !important; pointer-events: none !important; }
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
}

.s2-content {
  max-width: 1100px !important;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 30px !important;
  box-sizing: border-box;
}

.s2-yellow { color: #fae37f; }

.s2-marquee-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02) 50%, transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 0;
  z-index: 15;
  display: flex;
}

.s2-marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeS2 15s linear infinite;
}

.s2-marquee-text {
  display: inline-block;
  flex-shrink: 0;
}

@keyframes marqueeS2 {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.s2-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 100%;
  margin-top: 40px;
  text-align: center;
  z-index: 2;
}

.s2-feature-item {
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 30px 25px !important;
  border-radius: 16px !important;
  display: flex;
  flex-direction: column;
  align-items: center !important;
  gap: 12px !important;
  
  transition-property: transform, border-color, background, box-shadow !important;
  transition-duration: 0.4s !important;
  transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.s2-feature-item:hover {
  transition-delay: 0s !important;
}

.s2-feature-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(94, 167, 157, 0.05);
  border: 1px solid rgba(94, 167, 157, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5ea79d;
  transition: all 0.4s ease;
  margin-bottom: 5px;
}

.s2-feature-icon-box .material-symbols-outlined {
  font-size: 26px !important;
}

@media (hover: hover) {
  .s2-feature-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(250, 227, 127, 0.3) !important;
    background: rgba(250, 227, 127, 0.02) !important;
  }
  .s2-feature-item:hover .s2-feature-icon-box {
    background: rgba(250, 227, 127, 0.15);
    color: #fae37f;
    border-color: #fae37f;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(250, 227, 127, 0.2);
  }
}

.s2-feature-item h3 {
  color: #ffffff !important;
  font-size: 17px !important;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.s2-feature-item p {
  color: #858585 !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  margin: 0;
}

@media (max-width: 900px) {
  .s2-content {
    padding: 0 30px !important;
    justify-content: flex-start !important;
    padding-top: 55px !important;
    overflow-y: auto !important;
  }
  .dynamiczne-opakowanie-logo {
    margin-top: 15px !important;
    margin-bottom: 5px !important;
    height: 18dvh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .s2-logo-video {
    height: 18dvh !important;
    width: auto !important;
    max-height: 18dvh !important;
  }
  .s2-title {
    font-size: 19px !important;
    margin-top: 0 !important;
    margin-bottom: 25px !important;
    line-height: 1.2 !important;
  }
  .s2-desc {
    font-size: 12px !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
    padding: 0 5px;
  }
  .s2-features {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 20px !important;
  }
  .s2-feature-item {
    padding: 15px 20px !important;
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    gap: 15px !important;
    border-radius: 12px !important;
  }
  .s2-feature-icon-box {
    margin-bottom: 0 !important;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
  }
  .s2-feature-icon-box .material-symbols-outlined {
    font-size: 22px !important;
  }
  .s2-feature-text-block {
    display: flex;
    flex-direction: column;
  }
  .s2-feature-item h3 {
    font-size: 13px !important;
    margin-bottom: 2px !important;
  }
  .s2-feature-item p {
    font-size: 11.5px !important;
    line-height: 1.25 !important;
  }
}

/* === OPTYMALIZACJA CZCIONKI === */
@font-face {
  font-family: 'Play';
  src: url('font/play-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Play';
  src: url('font/play-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GleznerCustom';
  src: url('font/GLEZNER.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

#hero span.s2-yellow,
#hero .s2-yellow,
#hero .dynamic-text,
#hero .s2-title,
#hero .s2-title *,
#hero .carousel-main-title,
#hero .investment-title-overlay h2,
#hero .contact-name,
#hero .faq-main-title,
#hero .social-title,
#hero .modal-title {
  font-family: 'GleznerCustom', sans-serif !important;
  font-weight: normal !important;
  font-style: normal !important;
  letter-spacing: 3px !important;
}

#hero .intro-overlay {
  background: none !important;
}

#hero .intro-overlay .dynamic-text,
#hero .intro-overlay .dynamic-subtext {
  position: relative !important;
  display: inline-block !important;
  background: none !important;
  z-index: 1 !important;
}

#hero .intro-overlay .dynamic-text::before {
  content: '' !important;
  position: absolute !important;
  inset: -5px -25px !important;
  background: rgba(5, 5, 5, 0.85) !important;
  filter: blur(15px) !important;
  z-index: -1 !important;
}

#hero .intro-overlay .dynamic-subtext::before {
  content: '' !important;
  position: absolute !important;
  inset: -5px -25px !important;
  background: rgba(5, 5, 5, 0.8) !important;
  filter: blur(15px) !important;
  z-index: -1 !important;
}

.s2-desc {
  font-size: var(--mobile-size, 12px) !important;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  line-height: 1.3 !important;
  padding: 0 5px;
}

#hero .s2-desc {
  font-size: var(--fs-komputer, 20px) !important;
}

@media (max-width: 900px) {
  #hero .s2-desc {
    font-size: var(--fs-telefon, 12px) !important;
  }
}

#hero .s2-sub-custom {
  font-size: var(--sub-komputer, 20px) !important;
}

@media (max-width: 900px) {
  #hero .s2-sub-custom {
    font-size: var(--sub-telefon, 14px) !important;
  }
}

@media (min-width: 901px) {
  .faq-slide-fix {
    justify-content: center !important;
    padding-top: 8dvh !important;
    padding-bottom: 8dvh !important;
  }
  .faq-slider-wrapper {
    margin-top: 20px !important;
    max-width: 1400px !important;
  }
  .faq-page {
    grid-auto-rows: 1fr !important;
    gap: 10px !important;
  }
  .faq-question {
    height: 100% !important;
  }
  .faq-text {
    padding: 8px 15px !important;
    font-size: 13px !important;
  }
  .faq-num {
    font-size: 14px !important;
  }
}

/* --- WIDEO INTRO (KONTROLA PC / MOBILE) --- */
.desktop-video { display: block; }
.mobile-video { display: none; }

@media (max-width: 768px) {
  .desktop-video { display: none; }
  .mobile-video { display: block; }
}

/* --- POPRAWKA DLA ZDJĘĆ PRZED/PO --- */
.comp-img picture {
  display: block;
  width: 100%;
  height: 100%;
}

.comp-img picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none !important;
}

/* =========================================================
   ZŁĄCZONE REGUŁY DLA KOMPUTERÓW (MIN-WIDTH: 1024px)
   ========================================================= */
@media (min-width: 1024px) {
    /* SLAJD PRZED / PO */
    .comp-container {
        width: 100vw !important;
        height: 100vh !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .comp-img img {
        width: 100vw !important;
        height: 100vh !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    
    /* POTRÓJNY KOLAŻ WIDEO (SLAJD STARTOWY) */
    .desktop-collage {
        display: flex; 
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 0; 
        gap: 8px; 
        padding: 8px; 
        box-sizing: border-box; 
        background-color: #121212; 
    }

    .desktop-collage video {
        position: relative !important; 
        flex: 1 1 0% !important; 
        width: auto !important; 
        height: 100% !important; 
        object-fit: cover !important; 
        border: none !important; 
    }
}