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

@font-face {
  font-family: 'N27 Regular';
  src: url('./N27WebfontComplete/webfont-files/n27-regular-webfont.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'N27';
  src: url('./N27WebfontComplete/webfont-files/n27-bold-webfont.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/*
@font-face {
  font-family: 'Sofia Pro';
  src: url('N27WebfontComplete/webfont-files/SofiaPro-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
*/


:root {
  --bg: #FBF8F4;
  --bg-light: #FBF8F4;
  --text: #1A1A1A;
  --text-muted: #5A5650;
  --pill-bg: #2C2C2C;
  --pill-text: #FFFFFF;
  --border: #D6D0C6;
  --accent: #3D3831;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --font-copy: 'Futura PT', Futura, 'Avenir Next', Montserrat, var(--font-body);

  --container: 1280px;
  --gap: clamp(1rem, 3vw, 3rem);
  --section-space: clamp(6rem, 10vw, 11rem);
  --section-space-soft: clamp(4rem, 7vw, 7.5rem);
  --feature-radius: clamp(1.5rem, 3vw, 3.5rem);
    
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-lg: 1.125rem;
  --h1: clamp(2rem, 4vw, 3rem);
  --h2: clamp(1.5rem, 3vw, 2.25rem);
    
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}


/* Logo image sizes */

.logo-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  color: var(--text);
}
.logo-img {
  display: block;
  height: auto;
  object-fit: contain;
}
.logo-img--nav {
  height: 22px;
}
.logo-img--hero {
  height: clamp(60px, 12vw, 120px);
  filter: brightness(0) invert(0);
}
.logo-img--footer {
  height: 36px;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: var(--pill-bg);
  color: var(--pill-text);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.phone-pill:hover {
  background: #444;
}

.logo-phone--light .logo-text {
  color: #fff;
}
.logo-phone--light .phone-pill {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.section-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 540px;
    margin: 0 auto;
  line-height: 1.7;
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1.5px solid var(--text);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: all 0.2s;
  margin-top: 2rem;
}
.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}


/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 1.25rem 2rem;
  pointer-events: none;
}

.navbar-glass {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.75rem 1rem 0.75rem 1.75rem;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  pointer-events: all;
}

.nav-logo {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text);
  opacity: 0.65;
  transition: opacity 0.2s;
}
.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.4rem;
  background: var(--pill-bg);
  color: var(--pill-text);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 0.2s;
}
.nav-cta:hover {
  background: #444;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .navbar-glass {
    padding: 0.6rem 0.75rem 0.6rem 1.25rem;
    gap: 1rem;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.15) saturate(0.6);
}

.hero-overlay {
  position: absolute;
  top:0;
  left: 0;
  width: 100%; 
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.35);
  text-align: center;
  color: var(--text);
  opacity: 0;
  animation: heroOverlayFade 2s ease forwards;
}
@keyframes heroOverlayFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.hero-title {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text);
  opacity: 0.7;
}

/* ===== INTRO ===== */
.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--section-space) 2rem var(--section-space-soft);
  padding-bottom: 0;
}
.intro .logo-phone {
  margin-bottom: 3rem;
}

/* ===== FEATURE BLOCK ===== */
.feature-block {
  width: 100%;
  padding-block: var(--section-space-soft);
}

/* Both editorial image sections are treated as large rounded cards. */
.feature-block {
  padding-inline: clamp(1.25rem, 4vw, 4rem);
}

.feature-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.feature-block .feature-img-wrap {
  max-width: var(--container);
  margin: 0 auto;
  border-radius: var(--feature-radius);
}

.feature-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.feature-img-overlay {
  position: relative;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.55) 100%);
  color: #fff;
  padding: 10rem 3.2rem;
}

.feature-img-overlay .logo-phone {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.5rem);
  right: clamp(1.5rem, 3vw, 2.5rem);
}

.feature-headline {
  font-family: 'N27', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.feature-body {
  font-size: 0.85rem;
  max-width: 480px;
  line-height: 1.7;
  opacity: 0.9;
}

.nowrap {
  white-space: nowrap;
}

/* First feature card typography: N27 headline + Sofia Pro Light body copy */
.feature-block:not(.feature-block--alt) .feature-img-wrap {
  container-type: inline-size;
}

.feature-copy {
  width: calc(100% / 3);
}

.feature-block:not(.feature-block--alt) .feature-headline {
  font-family: 'N27', sans-serif;
  font-size: clamp(2.15rem, 4.65cqw, 4.85rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.052em;
  text-transform: uppercase;
  margin-bottom: clamp(1rem, 1.65cqw, 1.7rem);
}

.feature-block:not(.feature-block--alt) .feature-body {
  font-family: var(--font-copy);
  font-size: clamp(0.98rem, 1.28cqw, 1.18rem);
  font-weight: 300;
  line-height: 1.34;
  letter-spacing: -0.012em;
  max-width: 100%;
  opacity: 0.96;
}

.feature-legal {
  font-family: var(--font-copy);
  font-size: clamp(0.58rem, 0.68cqw, 0.72rem);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-top: clamp(1rem, 1.7cqw, 1.5rem);
  opacity: 0.78;
}

/* Second feature card gets the same editorial treatment:
   centered text block, slightly wider headline area, N27 headline, Futura-like body. */
.feature-block--alt .feature-img-wrap {
  container-type: inline-size;
}

.feature-block--alt .feature-img-overlay {
  justify-content: center;
  align-items: flex-start;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.36) 24%, rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0) 75%),
    linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.28) 100%);
}

.feature-block--alt .feature-copy {
  width: min(36%, 29rem);
  min-width: 0;
}

.feature-block--alt .feature-headline {
  font-family: 'N27f', sans-serif;
  font-size: clamp(1.7rem, 3.15cqw, 3.25rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.052em;
  text-transform: uppercase;
  margin-bottom: clamp(1rem, 1.65cqw, 1.7rem);
}

.feature-block--alt .feature-body {
  font-family: var(--font-copy);
  font-size: clamp(0.98rem, 1.24cqw, 1.16rem);
  font-weight: 300;
  line-height: 1.34;
  letter-spacing: -0.012em;
  max-width: 100%;
  opacity: 0.96;
}

.room-plans{
  position: relative;
   padding: 7vw 4vw;

}
.room-plans::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);    
    width: 100vw;
    height: 100%;    
    background: #f0ece6;    
    z-index: -1;
}
.room-plans-layout {
  position: relative;
  z-index: 1; 
  width: 100%;
}
.room-plans-img{
  margin-bottom: 2rem;
}
.room-plans-caption{
    text-align: center;
    text-wrap: pretty;
}
.room-plan-table {
    width: 100%;
   // max-width: 50%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    font-size: 14px;
    line-height: 1.4;
}

.room-plan-table th,
.room-plan-table td {
        padding: 0.25rem 0.5rem;
    text-align: center;
/*    border-bottom: 1px solid #ddd;*/
    border: 1px solid #ddd;
}

.room-plan-table th {
    font-weight: 600;
/*    background: #f7f7f7;*/
    background: transparent;
}


.room-plan-table td:first-child {
    width: 4rem;
}
.room-plan-table.table-horizontal{
    display: none;
}
.room-plans .section-headline{
    font-family: 'N27 Regular', sans-serif;
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.035em;
    text-transform: uppercase;
    color: #2F2E2B;
    margin-bottom: clamp(3.5rem, 5vw, 5rem);
    text-align: center;
}

/* ===== APARTMENT TOGGLE ===== */
.apt-toggle {
  position: relative;
  padding: 0 4vw;
}

.apt-toggle-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
  transition: background 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.apt-toggle.is-family .apt-toggle-bg {
  background: var(--bg);
}

.apt-toggle-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  max-width: var(--container);
  width: 100%;
  padding-top: 6rem;
  margin: 0 auto;
}
.apt-toggle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);    
    width: 100vw;
    height: 100%;    
    background: #f0ece6;    
    z-index: -1;
}
/* Left & Right panels */
.apt-left, .apt-right {
  position: relative;
  min-height: 450px;
    display: flex;
    justify-content: center;
}


.apt-left-family,
.apt-right-family {
  position: absolute;
  transition: opacity 0.6s ease, transform 0.6s ease;
  top: 50%;
}

.apt-left-start,
.apt-right-start {
  position: absolute;
  transition: opacity 0.6s ease, transform 0.6s ease;
  top: 50%;    
}


/* Default state: Na Start — person left, plans right */
.apt-left-family { opacity: 1; transform: translate(0, -50%); }
.apt-left-start { opacity: 0; transform: translate(-30px, -50%); pointer-events: none; }
.apt-right-start { opacity: 1; transform: translate(0, -50%); }
.apt-right-family { opacity: 0; transform: translate(30px, -50%); pointer-events: none; }

/* Family state: plans left, person right */
.apt-toggle.is-family .apt-left-family { opacity: 0; transform: translate(-30px, -50%); }
.apt-toggle.is-family .apt-left-start { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.apt-toggle.is-family .apt-right-start { opacity: 0; transform: translate(30px, -50%); }
.apt-toggle.is-family .apt-right-family { opacity: 1; transform: translate(0,-50% ); pointer-events: auto; }

.apt-person-img {
  max-height: 480px;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.apt-plan-img {
  max-height: 300px;
}

/* Keep captions dark because the section background stays light in both states */
.apt-toggle.is-family .plan-caption {
  color: var(--text-muted);
}
.apt-toggle.is-family .plan-caption strong {
  color: var(--text);
}

/* ===== TOGGLE SWITCH ===== */
.apt-switch-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.apt-switch-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s, color 0.5s;
  border-radius: 50%;
}
.apt-switch-arrow:hover {
  opacity: 0.8;
}
.apt-toggle.is-family .apt-switch-arrow {
  color: var(--text);
}

.apt-switch {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.apt-switch-track {
  position: relative;
  width: 220px;
  height: 56px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  transition: background 0.5s, border-color 0.5s;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.apt-toggle.is-family .apt-switch-track {
  background: rgba(26, 26, 26, 0.86);
  border-color: rgba(26, 26, 26, 0.2);
}

/* Shine sweep */
.apt-switch-shine {
  position: absolute;
  inset: -50% -100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.4) 55%,
    transparent 70%
  );
  animation: shine-sweep 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine-sweep {
  0%, 100% { transform: translateX(-130%); }
  50% { transform: translateX(130%); }
}

/* Thumb */
.apt-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pill-bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.5s, color 0.5s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.apt-toggle.is-family .apt-switch-thumb {
  left: calc(100% - 51px);
  background: #fff;
  color: var(--text);
}

.apt-switch-icon--single { display: block; }
.apt-switch-icon--family { display: none; }
.apt-toggle.is-family .apt-switch-icon--single { display: none; }
.apt-toggle.is-family .apt-switch-icon--family { display: block; }

/* Text label inside track */
.apt-switch-text {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
  padding-left: 48px;
  transition: color 0.5s, padding 0.5s;
}
.apt-toggle.is-family .apt-switch-text {
  color: #fff;
  padding-left: 0;
  padding-right: 48px;
}


@media (max-width: 900px) {
  .feature-copy,
  .feature-block--alt .feature-copy {
    width: min(100%, 28rem);
  }


  .feature-block:not(.feature-block--alt) .feature-headline,
  .feature-block--alt .feature-headline {
    font-size: clamp(1.9rem, 8vw, 3.6rem);
  }

  .feature-block:not(.feature-block--alt) .feature-body,
  .feature-block--alt .feature-body {
    font-size: clamp(1rem, 2.8vw, 1.12rem);
    line-height: 1.38;
  }
}



/* Placeholder floor plans (schematic) */
.plan-placeholder {
  text-align: center;
}

.plan-box {
  width: 300px;
  height: 280px;
  border: 2px solid var(--text);
  background: #fff;
  position: relative;
  margin: 0 auto 1rem;
}
.plan-box--large {
  width: 340px;
  height: 300px;
}
.plan-box--invest {
  width: 220px;
  height: 200px;
}

.plan-room-label {
  position: absolute;
  top: 8px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--pill-bg);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
}
.plan-room-label--b {
  top: auto;
  bottom: 8px;
  left: 12px;
}

.plan-room {
  position: absolute;
  border: 1px solid #ccc;
  background: var(--bg);
}
.plan-room--living { top: 10%; left: 10%; width: 50%; height: 40%; background: #E8E2D8; }
.plan-room--bed { top: 10%; right: 10%; width: 28%; height: 35%; }
.plan-room--kitchen { bottom: 10%; left: 10%; width: 35%; height: 30%; }
.plan-room--bath { bottom: 10%; right: 10%; width: 20%; height: 25%; background: #ddd; }
.plan-room--xl { width: 55%; height: 38%; }
.plan-room--bed2 { top: 48%; right: 10%; width: 28%; height: 30%; }
.plan-room--bath2 { bottom: 38%; right: 10%; width: 20%; height: 20%; }
.plan-room--studio { top: 10%; left: 10%; width: 70%; height: 55%; background: #E8E2D8; }
.plan-room--small { bottom: 10%; left: 10%; width: 30%; height: 25%; background: #ddd; }

.plan-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top:1rem;
  text-align: center;
}
.plan-caption-legal {
  font-size: 0.85rem;
}
.plan-caption strong {
  color: var(--text);
  font-size: 1.1rem;
}

/* ===== BENEFITS ===== */
.benefits {
  padding-inline: clamp(1.25rem, 4vw, 4rem);
  padding-block: var(--section-space-soft);
  text-align: center;
}
.benefits > .logo-phone {
  justify-content: center;
  margin-bottom: 2.5rem;
}

.benefits .section-headline {
  margin-bottom: clamp(3rem, 5vw, 4.25rem);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 2.2vw, 2.5rem);
  max-width: var(--container);
  margin: 0 auto;
}

.benefit-card {
  padding: clamp(2.25rem, 3vw, 2.75rem) clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
  transition: border-color 0.2s;
}
.benefit-card:hover {
  border-color: var(--text);
}

.benefit-icon {
  margin-bottom: 1.25rem;
  color: var(--text);
}
.benefit-icon svg {
  margin: 0 auto;
}

.benefit-card h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.benefit-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  overflow: hidden;
     background: #2C2C2C;
     padding: 0 4vw;
}
.footer-top{
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: end;
    padding: 0 2rem;
    margin-bottom: 3rem;
}

.footer-top .footer-logo{
 color: #FBF8F4;  
    font-family: 'N27', sans-serif;
    font-weight: 700;
    font-size: 13vw;
    line-height: 0.7;
    margin-bottom: 1rem;
}

/* Dark block with big text wordmark */
.footer-dark {
  /* art-direction knobs */
  --footer-wordmark-size: clamp(7.5rem, 13vw, 16.5rem);
  --footer-wordmark-y: -0.06em;
  --footer-wordmark-x: 0rem;
  --footer-wordmark-gap: 0.005em; /* 0,5% aktualnego font-size */

  position: relative;
/*
  padding: 0 2rem;
   overflow: hidden;
*/
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: end;
}


.footer-buttons{
        display: flex;

      flex-wrap: wrap;
/*
    flex-direction: column;
    width: 14rem;
*/
}


.footer-wordmark {
  position: absolute;
  z-index: 1;
  top: 0;
  left: max(
    1.5rem,
    calc((100vw - var(--container)) / 2 + var(--footer-wordmark-x))
  );

  font-family: 'N27', sans-serif;
  font-size: var(--footer-wordmark-size);
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: 0;

  color: #FBF8F4;
  opacity: 1;
  white-space: nowrap;

  transform: translateY(var(--footer-wordmark-y));
  transform-origin: left top;
  pointer-events: none;
  user-select: none;
}

.logo-img--footer-big {
  display: none;
}

.footer-prospekt--light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border: 1.5px solid rgba(251, 248, 244, 0.45);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FBF8F4;
  transition: all 0.2s;
  flex-shrink: 0;
    margin-left: 1rem;
}
.footer-prospekt--light:hover {
  background: #FBF8F4;
  color: #2C2C2C;
  border-color: #FBF8F4;
}
.footer-prospekt--light svg {
  flex-shrink: 0;
}

.footer-prospekt-icon {
  display: block;
  color: currentColor;
}

/* Contact block continues the same dark footer surface. */
.footer-light {
  position: relative;
  z-index: 3;
  background: #2C2C2C;
  color: #fff;
  padding: 0 0 clamp(2.5rem, 4vw, 3.5rem);
    margin-top: 2.6rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-col strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer-col p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}
.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.48);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .hero {
    height: 70vh;
  }
  .feature-block {
    padding-inline: 1rem;
  }

  .feature-block:not(.feature-block--alt) .feature-img-wrap {
    border-radius: 1.5rem;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
    //max-width: 400px;
  }
    
    .room-plan-table{
     margin-bottom: 2rem;   
    }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

/*
  .footer-dark {
    --footer-wordmark-size: clamp(5.5rem, 30vw, 10rem);
    --footer-wordmark-y: -0.12em;
    padding-inline: 1.25rem;
  }
*/

    
  .footer-wordmark {
    left: 1.25rem;
  }


  .feature-copy {
    width: 100%;
  }

  .feature-block:not(.feature-block--alt) .feature-headline {
    font-size: clamp(2.35rem, 11vw, 4.4rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
  }

  .feature-block:not(.feature-block--alt) .feature-body {
    font-size: 1rem;
    line-height: 1.42;
    max-width: 100%;
  }
  .feature-legal {
    font-size: 0.68rem;
    line-height: 1.28;
  }  
    .footer-prospekt--light {
    margin-bottom: 1rem;
  }  
    
}

@media (max-width: 900px) {
  .feature-copy {
    width: min(72%, 34rem);
  }

  .feature-block:not(.feature-block--alt) .feature-headline {
    font-size: clamp(2.4rem, 8.5cqw, 4.7rem);
  }

  .feature-block:not(.feature-block--alt) .feature-body {
    font-size: clamp(0.82rem, 1.8cqw, 0.98rem);
  }

  .feature-legal {
    font-size: clamp(0.58rem, 1.35cqw, 0.7rem);
  }
      .footer-dark {
    --footer-wordmark-size: clamp(5.5rem, 30vw, 10rem);
    --footer-wordmark-y: -0.12em;
    padding-inline: 1.25rem;
  }
}


/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ===== FOOTER WORDMARK RESPONSIVE OVERRIDES ===== */


@media (max-width: 480px) {
  .footer-dark {
    --footer-wordmark-size: clamp(5rem, 34vw, 8.5rem);   
  }

  .footer-prospekt--light {
    padding: 0.6rem 1rem;
    font-size: 0.68rem;
      width: 100%;
        margin-left: 0;
      justify-content: center;
  }
}



/* ===== Latest tuning: bigger body copy + restored low-costs headline layout ===== */
.feature-block--alt .feature-headline .nowrap {
  display: inline-block;
}

.feature-block--alt .feature-body,
.feature-block:not(.feature-block--alt) .feature-body {
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .feature-block--alt .feature-copy,
  .feature-copy {
    width: min(78%, 34rem);
  }

  .feature-block--alt .feature-headline {
    font-size: clamp(1.9rem, 6.6vw, 3rem);
  }

  .feature-block--alt .feature-body,
  .feature-block:not(.feature-block--alt) .feature-body {
    font-size: clamp(1rem, 2.8vw, 1.1rem);
    line-height: 1.4;
  }
}

@media (max-width: 768px) {
  .feature-block--alt .feature-copy,
  .feature-copy {
    width: 100%;
  }

  .feature-block--alt .feature-headline {
    font-size: clamp(2.1rem, 9.6vw, 3.6rem);
    line-height: 0.96;
  }

  .feature-block--alt .feature-body,
  .feature-block:not(.feature-block--alt) .feature-body {
    font-size: 1rem;
    line-height: 1.42;
  }
 .feature-block--alt .feature-headline {
    font-size: clamp(2.4rem, 10.5vw, 4rem);
    line-height: 0.94;
  }
}


/* ===== Low costs headline v3 ===== */
.feature-block--alt .feature-headline {
  font-size: clamp(2.05rem, 3.95cqw, 4.15rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.feature-block--alt .feature-copy {
  width: min(38%, 31rem);
}

@media (max-width: 900px) {
  .feature-block--alt .feature-headline {
    font-size: clamp(2.15rem, 7.2vw, 3.4rem);
    line-height: 0.92;
  }
}




/* ===== Equalized feature typography across both editorial image sections ===== */
:root {
  --feature-editorial-headline-size: clamp(2.15rem, 4.65cqw, 4.85rem);
  --feature-editorial-body-size: clamp(0.98rem, 1.28cqw, 1.18rem);
  --feature-editorial-body-line: 1.34;
  --feature-editorial-legal-size: clamp(0.58rem, 0.68cqw, 0.72rem);
}

.feature-block:not(.feature-block--alt) .feature-copy {
  width: min(33.333%, 30rem);
}

.feature-block--alt .feature-copy {
  width: min(38%, 33rem);
}

.feature-block:not(.feature-block--alt) .feature-headline,
.feature-block--alt .feature-headline {
  font-family: 'N27', sans-serif;
  font-size: var(--feature-editorial-headline-size);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.052em;
  text-transform: uppercase;
  max-width: 100%;
  margin-bottom: clamp(1rem, 1.65cqw, 1.7rem);
}

.feature-block:not(.feature-block--alt) .feature-body,
.feature-block--alt .feature-body {
  font-family: var(--font-copy);
  font-size: var(--feature-editorial-body-size);
  font-weight: 300;
  line-height: var(--feature-editorial-body-line);
  letter-spacing: -0.012em;
  max-width: 100%;
  opacity: 0.96;
  text-wrap: pretty;
}

.feature-legal {
  font-size: var(--feature-editorial-legal-size);
}

@media (max-width: 900px) {
  .feature-block:not(.feature-block--alt) .feature-copy,
  .feature-block--alt .feature-copy {
    width: min(78%, 34rem);
  }

  .feature-block:not(.feature-block--alt) .feature-headline,
  .feature-block--alt .feature-headline {
    font-size: clamp(2.2rem, 7.3vw, 4rem);
  }

  .feature-block:not(.feature-block--alt) .feature-body,
  .feature-block--alt .feature-body {
    font-size: clamp(1rem, 2.8vw, 1.1rem);
    line-height: 1.4;
  }

  .feature-legal {
    font-size: clamp(0.58rem, 1.35cqw, 0.7rem);
  }
    .brand-wordmark--footer {

        margin-bottom: 2rem;
    }
    
}

@media (max-width: 768px) {
  .feature-block:not(.feature-block--alt) .feature-copy,
  .feature-block--alt .feature-copy {
    width: 100%;
  }

  .feature-block:not(.feature-block--alt) .feature-headline,
  .feature-block--alt .feature-headline {
    font-size: clamp(2.35rem, 10.4vw, 4.4rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
  }

  .feature-block:not(.feature-block--alt) .feature-body,
  .feature-block--alt .feature-body {
    font-size: 1rem;
    line-height: 1.42;
  }

  .feature-legal {
    font-size: 0.68rem;
    line-height: 1.28;
  }
    .feature-img-overlay {
        padding: 2rem;
    }     
}


/* ===== Intro typography tuning ===== */
.intro .section-headline {
  font-family: 'N27 Regular', sans-serif;
  font-weight: 400;
  font-size: clamp(2.65rem, 5.25vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #2F2E2B;
  margin-bottom: clamp(2rem, 3vw, 3rem);
}

.intro .section-body {
  font-family: var(--font-copy);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: var(--feature-editorial-body-line, 1.34);
  letter-spacing: -0.012em;
  max-width: 42rem;
  text-wrap: pretty;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .intro .section-headline {
    font-size: clamp(2.4rem, 8vw, 4.4rem);
  }

  .intro .section-body {    
    line-height: 1.4;
  }
}

@media (max-width: 768px) {
  .intro .section-headline {
    font-size: clamp(2.35rem, 10vw, 3.9rem);
    line-height: 1;
  }

  .intro .section-body {
    font-size: 1.2rem;
    line-height: 1.42;
  }
}


/* ===== Benefits typography + uploaded icons ===== */
.benefits .section-headline {
  font-family: 'N27 Regular', sans-serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #2F2E2B;
  margin-bottom: clamp(3.5rem, 5vw, 5rem);
}

.benefit-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit-card h3 {
  grid-row: 2;
  text-align: center;
  text-wrap: balance;
  font-family: var(--font-copy);
  font-size: clamp(0.84rem, 0.92vw, 1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #242321;
}

.benefit-card {
  min-height: clamp(17.5rem, 22vw, 21rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-color: rgba(36, 35, 33, 0.28);
  border-radius: 1rem;
}




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

  .benefits .section-headline {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }
}

/* ===== Benefits aligned card system =====
   Each card uses the same internal rows, so icons, headings and body copy
   start at identical vertical positions regardless of text length. */
.benefits-grid {
  align-items: stretch;
}

.benefit-card {
  --benefit-card-padding-x: clamp(1.65rem, 2.1vw, 2.35rem);
  --benefit-card-padding-y: clamp(3.25rem, 4.2vw, 4.3rem);
  --benefit-icon-row: clamp(4.8rem, 5vw, 5.55rem);
  --benefit-title-row: clamp(3.35rem, 3.6vw, 4rem);

  min-height: clamp(19rem, 23.5vw, 22.5rem);
  padding: var(--benefit-card-padding-y) var(--benefit-card-padding-x) clamp(2.35rem, 3vw, 3.15rem);
  display: grid;
  grid-template-rows: var(--benefit-icon-row) var(--benefit-title-row) 1fr;
  justify-items: center;
  align-items: start;
  justify-content: stretch;
  border-color: rgba(36, 35, 33, 0.32);
  border-radius: 1rem;
}

.benefit-icon {
  grid-row: 1;
  width: clamp(3.05rem, 3.7vw, 3.8rem);
  height: clamp(3.05rem, 3.7vw, 3.8rem);
  margin: 0;
  align-self: start;
  color: #232320;
}

.benefit-card p {
  font-family: var(--font-copy);
  font-size: clamp(0.88rem, 0.96vw, 1.03rem);
  font-weight: 300;
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--text-muted);
  max-width: 16.5rem;
  grid-row: 3;
  text-wrap: pretty;
}

@media (max-width: 1024px) {
/*
  .room-plans{
         padding:8rem 2rem;
  }    
    
*/

  .apt-toggle {
     padding:8rem 2rem;
  }
  .apt-toggle-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap:8rem;
    padding-top: 0;
  }
  .apt-left, .apt-right {
    min-height: 300px;
  }

.slides-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .slides-person {
    justify-self: center;
    height: 300px;
    width: 220px;
  }
  .slides-selector {
    justify-content: center;
  }
  .slides-plans {
    min-height: 350px;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }

    .footer-top .footer-logo {
        font-size: 18vw;
    }
.benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.benefit-card {
    --benefit-title-row: 3.5rem;
    min-height: 20rem;
  }
}



@media (max-width: 640px) {
  .benefit-card {
    --benefit-icon-row: 4.5rem;
    --benefit-title-row: 3.1rem;
    min-height: auto;
    padding-block: 3rem 2.75rem;
  }
}


/* ===== Hero logo / typography tuning ===== */
.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: var(--brand-gap, 0.02em);
  font-family: 'N27', sans-serif;
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: 0;
  color: var(--accent);
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-char {
  display: inline-block;
  margin-right: 0;
}

.brand-wordmark--nav {
  font-size: clamp(0.95rem, 0.95vw, 1.15rem);
  --brand-gap: 0.018em;
}

.brand-wordmark--hero {
  --hero-brand-font-size: clamp(6rem, 14vw, 13rem);
  --hero-brand-letter-gap: 0.005em; /* 0,5% aktualnego font-size */
  --hero-brand-color: #1A1A1A; /* off black */

  font-size: var(--hero-brand-font-size);
  color: var(--hero-brand-color);
  --brand-gap: var(--hero-brand-letter-gap);
}

.brand-wordmark--footer {
  font-size: var(--footer-wordmark-size);
  line-height: 0.7;
  color: #FBF8F4;
  --brand-gap: var(--footer-wordmark-gap);

}

.hero-brand-lockup {
  width: var(--hero-brand-width, max-content);
  max-width: 94vw;
  margin-inline: auto;
  padding: 0;
  border: 0;
  text-align: center;
}

.hero-title {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin-bottom: clamp(0.9rem, 1.3vw, 1.5rem);
}

.hero-subtitle {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
  border: 0;
  overflow: visible;
  font-family: var(--font-copy);
  font-size: clamp(0.8rem, 1.04vw, 1.04rem);
  font-weight: 1000;
  -webkit-text-stroke: 0.006em currentColor;
  paint-order: stroke fill;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
  color: #1A1A1A;
  opacity: 1;
}

.hero-subtitle__line {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .brand-wordmark--hero {
    --hero-brand-font-size: clamp(4.9rem, 20vw, 8.5rem);
  }

  .hero-brand-lockup {
    max-width: 92vw;
  }

  .hero-subtitle {
    font-size: clamp(0.656rem, 1.52vw, 0.8rem);
  }
}

@media (max-width: 520px) {
  .brand-wordmark--hero {
    --hero-brand-font-size: clamp(3.65rem, 23vw, 5.75rem);
  }

  .hero-brand-lockup {
    max-width: 90vw;
  }

  .hero-subtitle {
    font-size: clamp(0.592rem, 2.24vw, 0.72rem);
  }
}


@media (min-width: 768px) {
    .room-plans-layout {
      display: flex;
      gap: 3rem;
      align-items: flex-start;
      flex-wrap: wrap;      
    }

   .room-plans-left{
        flex: 1;
       /*       max-width: 60%;   */
    }
    .room-plans-right{
        flex: 1;
        max-width: 30%;
    } 
    .room-plan-table.table-horizontal {
        display: block;
    }
    .room-plan-table.table-vertical{
        display: none;
    }
    
}

.main-preview {
    transition: opacity 0.4s ease;
    display: block;
}
.room-thumb{
   transition: opacity 0.4s ease;
}
.room-thumb:hover {
   opacity: 0.5;
  cursor: pointer;
}
.text-center{
    text-align: center;
}
.container{
    max-width: var(--container);    
    margin: 0 auto; 
}