/* ==========================================================================
   BELVENNA LUXURY RESIDENCES - PREMIUM DESIGN SYSTEM
   Ultra-High-End Real Estate Landing Page & CRO Showcase
   ========================================================================== */

:root {
  /* Kolory bazowe - Dark Luxury Palette */
  --color-bg-primary: #0a0d14;
  --color-bg-secondary: #0f1523;
  --color-bg-card: rgba(18, 24, 38, 0.75);
  --color-bg-card-hover: rgba(26, 34, 52, 0.85);
  --color-bg-glass: rgba(15, 21, 35, 0.65);
  --color-bg-glass-heavy: rgba(10, 13, 20, 0.88);
  --color-surface-light: #f8fafc;
  --color-surface-subtle: #f1f5f9;

  /* Akcenty luksusowe - Champagne Gold & Warm Brass */
  --color-gold-300: #eed7a1;
  --color-gold-400: #dfba6d;
  --color-gold-500: #c59b48;
  --color-gold-600: #a47c2e;
  --color-gold-gradient: linear-gradient(135deg, #eed7a1 0%, #c59b48 50%, #996e21 100%);
  --color-gold-gradient-soft: linear-gradient(135deg, rgba(238, 215, 161, 0.15) 0%, rgba(197, 155, 72, 0.05) 100%);
  --color-gold-glow: 0 0 30px rgba(197, 155, 72, 0.25);

  /* Kolory tekstu */
  --color-text-primary: #f8fafc;
  --color-text-secondary: #cbd5e1;
  --color-text-muted: #94a3b8;
  --color-text-dark: #0f172a;
  --color-text-dark-muted: #475569;

  /* Obramowania i separatory */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(197, 155, 72, 0.35);
  --border-gold-strong: rgba(197, 155, 72, 0.7);

  /* Typografia */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Efekty i promienie */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Cienie */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 10px 25px rgba(197, 155, 72, 0.2);

  /* Przejścia */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-primary);
  color: var(--color-text-secondary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 980px;
}

/* ==========================================================================
   TOP BAR DEMO / GATEKEEPER BANNER
   ========================================================================== */
.demo-banner {
  background: linear-gradient(90deg, #161b26 0%, #1f283a 50%, #161b26 100%);
  border-bottom: 1px solid var(--border-gold);
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--color-gold-300);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1001;
  text-align: center;
}

.demo-banner__badge {
  background: rgba(197, 155, 72, 0.2);
  border: 1px solid var(--border-gold-strong);
  color: var(--color-gold-300);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.demo-banner__link {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.demo-banner__link:hover {
  color: var(--color-gold-400);
}

/* ==========================================================================
   STICKY HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.header.is-scrolled {
  background: rgba(10, 13, 20, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-bottom-color: var(--border-gold);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
}

.header__logo img {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: all var(--transition-fast);
}

.header__logo:hover img {
  filter: brightness(1.15) drop-shadow(0 0 12px rgba(223, 186, 109, 0.4));
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold-gradient);
  transition: width var(--transition-smooth);
}

.header__link:hover {
  color: #fff;
}

.header__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gold-300);
}

.header__phone svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: all var(--transition-smooth);
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-gold-gradient);
  color: #0b0f17;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(197, 155, 72, 0.4);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(197, 155, 72, 0.15);
  border-color: var(--color-gold-400);
  transform: translateY(-2px);
}

.btn-developer {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #cbd5e1;
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
}

.btn-developer:hover {
  background: rgba(197, 155, 72, 0.2);
  border-color: var(--color-gold-400);
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background-color: var(--color-text-primary);
  transition: all var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding: 80px 0 100px;
  background-color: var(--color-bg-primary);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.02);
  filter: brightness(1.12) contrast(1.04);
  transition: transform 10s ease-out;
}

.hero:hover .hero__bg img {
  transform: scale(1.06);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 35%, rgba(10, 13, 20, 0.12) 0%, rgba(10, 13, 20, 0.52) 58%, rgba(10, 13, 20, 0.88) 100%);
  z-index: 2;
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero__content {
  max-width: 680px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(197, 155, 72, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--color-gold-300);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 22px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
}

.hero__title span {
  background: var(--color-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 36px;
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.hero__stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  width: 100%;
}

.hero__stat-val {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-gold-300);
  white-space: nowrap;
}

.hero__stat-lbl {
  font-size: 0.8rem;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  text-align: center;
}

/* ==========================================================================
   HERO QUICK FORM (GLASS CARD)
   ========================================================================== */
.hero__card {
  background: var(--color-bg-glass-heavy);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg), var(--color-gold-glow);
  position: relative;
}

.hero__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--color-gold-gradient);
}

.card__header {
  margin-bottom: 24px;
}

.card__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-400);
  margin-bottom: 8px;
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: #fff;
  line-height: 1.25;
}

.card__desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.form-group {
  margin-bottom: 18px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: #fff;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-gold-400);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 15px rgba(197, 155, 72, 0.2);
}

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

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 3px;
  accent-color: var(--color-gold-500);
}

.form-disclaimer {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.4;
}

.form-disclaimer a {
  color: var(--color-gold-400);
  text-decoration: underline;
}

/* ==========================================================================
   METRICS BAR (Kluczowe Parametry)
   ========================================================================== */
.metrics-bar {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px 0;
  position: relative;
  z-index: 5;
}

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

.metric-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 16px;
  border-right: 1px solid var(--border-subtle);
}

.metric-item:last-child {
  border-right: none;
}

.metric-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-gold-gradient-soft);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-300);
  flex-shrink: 0;
}

.metric-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.metric-number {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ==========================================================================
   SEKCJA: O INWESTYCJI
   ========================================================================== */
.section {
  padding: 110px 0;
  position: relative;
}

.section-dark {
  background-color: var(--color-bg-primary);
}

.section-alt {
  background-color: var(--color-bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.section-subtitle {
  display: inline-block;
  color: var(--color-gold-400);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gold);
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.04);
}

.about-floating-card {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--color-bg-glass-heavy);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  max-width: 260px;
  box-shadow: var(--shadow-md);
}

.about-floating-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-gold-300);
}

.about-floating-card span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.about-text h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature svg {
  width: 20px;
  height: 20px;
  fill: var(--color-gold-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.about-feature h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   SEKCJA: KATALOG REZYDENCJI (PRÓBKA DEMO)
   ========================================================================== */
.residences-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
  padding: 16px 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
  color: #0b0f17;
  background: var(--color-gold-gradient);
  box-shadow: 0 4px 15px rgba(197, 155, 72, 0.3);
}

.demo-sample-note {
  font-size: 0.82rem;
  color: var(--color-gold-300);
  display: flex;
  align-items: center;
  gap: 6px;
}

.residences-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.residence-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.residence-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg), var(--color-gold-glow);
}

.residence-card__thumb {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.residence-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.residence-card:hover .residence-card__thumb img {
  transform: scale(1.05);
}

.residence-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(10, 13, 20, 0.85);
  border: 1px solid var(--border-gold);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold-300);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.residence-status {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status--available {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
}

.status--reserved {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.residence-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.residence-card__title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: #fff;
  margin-bottom: 8px;
}

.residence-card__desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.residence-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

.residence-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

/* ==========================================================================
   MODAL RZUTU ARCHITEKTONICZNEGO
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(5, 7, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  z-index: 4000;
}

.modal__dialog {
  background: var(--color-bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 1080px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 0, 0, 0.8);
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal__close:hover {
  background: rgba(197, 155, 72, 0.25);
  color: var(--color-gold-300);
  border-color: var(--border-gold);
  transform: none;
}

.modal__header {
  padding: 32px 36px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal__body {
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 36px;
}

.plan-viewer {
  background: #07090e;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 440px;
}

.plan-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.plan-tab-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--border-subtle);
}

.plan-tab-btn.active {
  background: rgba(197, 155, 72, 0.2);
  border-color: var(--color-gold-400);
  color: var(--color-gold-300);
}

.rooms-list {
  list-style: none;
  margin-top: 18px;
}

.rooms-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.rooms-list li span:last-child {
  font-weight: 700;
  color: var(--color-gold-300);
}

/* ==========================================================================
   LEAD MAGNET - BROSZURA I SPECYFIKACJA (LOOKBOOK PDF)
   ========================================================================== */
.lead-magnet {
  background: linear-gradient(135deg, #101625 0%, #171f33 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.lead-magnet::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 155, 72, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.lookbook-mockup {
  position: relative;
  perspective: 1000px;
  display: flex;
  justify-content: center;
}

.lookbook-cover {
  width: 280px;
  height: 380px;
  background: #090c13;
  border: 2px solid var(--color-gold-500);
  border-radius: 8px 16px 16px 8px;
  padding: 32px 24px;
  box-shadow: -15px 20px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(197, 155, 72, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotateY(-12deg) rotateX(5deg);
  transition: transform var(--transition-smooth);
}

.lookbook-cover:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.lookbook-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(223, 186, 109, 0.45));
  margin-bottom: 8px;
}

.lookbook-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #fff;
  line-height: 1.3;
}

.lookbook-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-300);
}

.lookbook-footer {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--border-gold);
  padding-top: 12px;
}

.lead-magnet__title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
}

.lead-magnet__form-box {
  background: rgba(10, 14, 23, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

/* ==========================================================================
   ATUTY INWESTYCJI (FEATURES / VALUE PROPOSITIONS)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-gold-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold);
  background: var(--color-bg-card-hover);
  box-shadow: var(--shadow-lg), var(--color-gold-glow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--color-gold-gradient-soft);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-300);
  margin: 0 auto 22px;
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.feature-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
  text-align: center;
}

.feature-card__desc {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  text-align: center;
}

/* ==========================================================================
   LOKALIZACJA I OKOLICA (POI & TRAVEL TIMES)
   ========================================================================== */
.location-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: stretch;
  min-width: 0;
  width: 100%;
}

.poi-map-container {
  background: #07090e;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 480px;
  min-width: 0;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.poi-map-svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.poi-sidebar {
  background: var(--color-bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}

.poi-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.poi-tab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.poi-tab-btn.active {
  background: var(--color-gold-gradient);
  color: #0b0f17;
  border-color: transparent;
}

.poi-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.poi-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.poi-item:hover {
  background: rgba(197, 155, 72, 0.1);
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.poi-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.poi-info-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(197, 155, 72, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-300);
}

.poi-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}

.poi-category {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.poi-time {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold-300);
  background: rgba(10, 13, 20, 0.8);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
  white-space: nowrap;
}

.location-cta-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(22, 27, 38, 0.95) 0%, rgba(15, 21, 35, 0.98) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-md), 0 0 25px rgba(197, 155, 72, 0.1);
}

.location-cta-banner__content {
  max-width: 650px;
}

.location-cta-banner__tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold-400);
  display: block;
  margin-bottom: 6px;
}

.location-cta-banner__title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.location-cta-banner__desc {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   GALERIA ZDJĘĆ & WIZUALIZACJI
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

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

.gallery-item.row-2 {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 13, 20, 0.9) 0%, rgba(10, 13, 20, 0.2) 60%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

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

.gallery-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #fff;
}

.gallery-tag {
  font-size: 0.75rem;
  color: var(--color-gold-300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   GŁÓWNY FORMULARZ VIP (PRIVATE VIEWING)
   ========================================================================== */
.vip-section {
  background: radial-gradient(circle at 50% 30%, #161e30 0%, #0a0d14 100%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.vip-card {
  background: var(--color-bg-glass-heavy);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  box-shadow: var(--shadow-lg), var(--color-gold-glow);
}

.vip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* ==========================================================================
   B2B SHOWCASE SECTION (DLA DEWELOPERÓW)
   ========================================================================== */
.b2b-section {
  background: linear-gradient(180deg, #0a0d14 0%, #121826 100%);
  border-top: 1px solid var(--border-subtle);
  padding: 90px 0;
}

.b2b-box {
  background: rgba(197, 155, 72, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.b2b-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  min-width: 0;
}

.b2b-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  min-width: 0;
}

.b2b-perk svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--color-gold-400);
}

.b2b-author-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  min-width: 0;
  width: 100%;
}

.b2b-author-logo-wrap {
  display: block;
  max-width: 260px;
  margin: 0 auto 20px;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.b2b-author-logo-wrap:hover {
  transform: translateY(-2px);
}

.b2b-author-logo {
  width: 100%;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(223, 186, 109, 0.35));
}

/* ==========================================================================
   STOPKA (FOOTER)
   ========================================================================== */
.footer {
  background-color: #07090e;
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 36px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer__disclaimer-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 28px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  text-align: center;
}

.footer__disclaimer-box strong {
  color: var(--color-gold-300);
  display: inline-block;
  margin-bottom: 6px;
}

.footer__bottom {
  text-align: center;
  padding-top: 10px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   STICKY FLOATING CTA BAR (MOBILE & DESKTOP)
   ========================================================================== */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 13, 20, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 8px 12px 8px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), var(--color-gold-glow);
  transition: transform var(--transition-smooth);
}

.floating-cta__text {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
}

.floating-cta__text span {
  color: var(--color-gold-300);
}

/* ==========================================================================
   DEVELOPER MODE SIDEBAR / DRAWER (CRO & LEAD STRATEGY)
   ========================================================================== */
.developer-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px;
  max-width: 90vw;
  height: 100vh;
  background: #0c101a;
  border-left: 1px solid var(--border-gold);
  z-index: 2500;
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.8);
  padding: 36px 30px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
}

.developer-drawer.is-open {
  transform: translateX(0);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2400;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.drawer-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-gold-300);
}

.drawer-close {
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

.drawer-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.drawer-card h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.drawer-card ul {
  margin-top: 8px;
  padding-left: 18px;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   SIMULATED CRM / LEAD SUCCESS MODAL
   ========================================================================== */
.crm-modal-dialog {
  max-width: 620px;
  text-align: center;
  padding: 40px;
}

.crm-success-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-full);
  background: rgba(34, 197, 94, 0.2);
  border: 2px solid #22c55e;
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.crm-payload-preview {
  background: #06080d;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  font-family: monospace;
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 20px 0;
  max-height: 180px;
  overflow-y: auto;
}

/* ==========================================================================
   LIGHTBOX FULL-SCREEN FOR VISUALIZATIONS
   ========================================================================== */
.lightbox-modal {
  padding: 0 !important;
  background: rgba(3, 5, 9, 0.96) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 4500 !important;
}

.lightbox-wrap {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 30;
  background: rgba(15, 20, 30, 0.85);
  border: 1px solid var(--border-gold);
  color: #fff;
}

.lightbox-img-box {
  max-width: 94vw;
  max-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  background: #000;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 30px rgba(197, 155, 72, 0.15);
  cursor: zoom-in;
  -webkit-overflow-scrolling: touch;
}

#lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1);
  transform-origin: center center;
}

#lightbox-img.is-zoomed {
  transform: scale(1.85);
  cursor: zoom-out;
}

.lightbox-controls {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.lightbox-zoom-btn {
  background: rgba(197, 155, 72, 0.2);
  border: 1px solid var(--border-gold);
  color: #fce7b2;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.lightbox-zoom-btn:hover {
  background: var(--color-gold-gradient);
  color: #0b0f17;
}

/* ==========================================================================
   RESPONSYWNOŚĆ (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .residences-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .location-wrapper {
    grid-template-columns: 1fr;
  }
  .lead-magnet {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .lookbook-mockup {
    margin-bottom: 24px;
  }
  .b2b-box {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-item:nth-child(2) {
    border-right: none;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.span-2 {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
  }

  .container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .btn {
    white-space: normal !important;
    text-align: center;
    word-break: normal;
    line-height: 1.35;
  }

  /* Demo banner mobile */
  .demo-banner {
    padding: 6px 10px;
    font-size: 0.74rem;
    line-height: 1.35;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
  }

  .demo-banner__badge {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    line-height: 1.1;
    font-weight: 600;
  }

  /* Hero Section Mobile */
  .hero {
    padding: 48px 0 60px;
    min-height: auto;
  }

  .hero__title {
    font-size: clamp(1.85rem, 6.8vw, 2.5rem);
    filter: none !important;
    text-shadow: none !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero__title span {
    filter: none !important;
    text-shadow: none !important;
    display: inline-block;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    text-shadow: none;
  }

  .hero__stats {
    gap: 6px;
    padding-top: 18px;
    text-align: center;
    width: 100%;
  }

  .hero__stat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 0;
    min-width: 0;
  }

  .hero__stat-val {
    font-size: clamp(0.98rem, 3.6vw, 1.25rem) !important;
    color: #fce7b2 !important;
    white-space: nowrap !important;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 4px;
    text-align: center;
  }

  .hero__stat-lbl {
    font-size: 0.68rem !important;
    color: #f1f5f9 !important;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
    text-align: center !important;
  }

  /* Disable Lightbox on mobile per user request */
  #gallery-lightbox-modal {
    display: none !important;
  }

  .gallery-item {
    cursor: default !important;
  }

  /* Plan modal adjustments on mobile */
  .plan-viewer {
    padding: 8px 4px;
    min-height: unset;
  }

  .visual-modal-wrap {
    height: clamp(260px, 45vh, 380px) !important;
    cursor: default !important;
  }

  .header__inner {
    height: 72px;
  }

  .header__logo {
    height: 48px;
  }

  .header__logo img {
    height: 44px;
    max-width: 160px;
  }

  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(10, 13, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-gold);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    z-index: 999;
  }

  .header__nav.is-open {
    display: flex;
  }

  .header__phone {
    display: none;
  }

  #header-cta-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .menu-toggle {
    display: flex;
  }

  /* Residence cards mobile */
  .residence-card__footer {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .residence-card__footer .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
    font-size: 0.84rem;
  }

  /* Lead Magnet Mobile Fixes */
  .lead-magnet {
    padding: 24px 14px;
    border-radius: var(--radius-lg);
    gap: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-align: left;
    overflow: hidden;
  }

  .lead-magnet__content {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .lead-magnet__title {
    font-size: clamp(1.35rem, 5.2vw, 1.75rem) !important;
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 14px;
  }

  .lead-magnet p {
    font-size: 0.88rem;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 20px;
  }

  .lookbook-mockup {
    perspective: none;
    margin-bottom: 16px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .lookbook-cover {
    transform: none !important;
    width: 270px;
    max-width: calc(100vw - 48px);
    height: auto !important;
    min-height: 360px;
    padding: 22px 18px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(197, 155, 72, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    overflow: hidden;
  }

  .lookbook-logo {
    height: 36px;
    margin-bottom: 4px;
  }

  .lookbook-subtitle {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    line-height: 1.3;
  }

  .lookbook-title {
    font-size: 1.22rem;
    line-height: 1.25;
    margin-top: 4px;
  }

  .lookbook-footer {
    font-size: 0.68rem;
    line-height: 1.35;
    padding-top: 10px;
    margin-top: 14px;
    border-top: 1px solid var(--border-gold);
    color: var(--color-text-muted);
  }

  .lead-magnet__form-box {
    padding: 18px 12px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .lead-magnet__form-box .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .lead-magnet__form-box .form-input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  .lead-magnet__form-box .btn {
    white-space: normal !important;
    font-size: 0.82rem;
    padding: 12px 10px;
    line-height: 1.3;
    width: 100%;
    box-sizing: border-box;
  }

  .lead-magnet__form-box .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.74rem;
    line-height: 1.35;
    word-break: break-word;
    margin-bottom: 16px;
  }

  .lead-magnet__form-box .form-checkbox span {
    flex: 1;
    min-width: 0;
  }

  .lead-magnet__form-box .form-checkbox input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
  }

  /* Form 2-column rows on mobile */
  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Location & POI section */
  .location-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
    min-width: 0;
    width: 100%;
  }

  .poi-map-container {
    min-height: 260px;
    max-height: 320px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .poi-sidebar {
    padding: 20px 16px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .poi-tabs {
    flex-wrap: wrap;
    gap: 6px;
  }

  .poi-tab-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
    flex-shrink: 0;
  }

  .poi-item {
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .location-cta-banner {
    padding: 24px 18px;
    flex-direction: column;
    text-align: center;
    gap: 18px;
    margin-top: 32px;
  }

  .location-cta-banner .btn {
    width: 100%;
    justify-content: center;
  }

  /* B2B Showcase Mobile Fixes */
  .b2b-box {
    padding: 24px 16px;
    border-radius: var(--radius-lg);
    gap: 28px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .b2b-content {
    min-width: 0;
    width: 100%;
  }

  .b2b-box h2,
  .b2b-box .section-title {
    font-size: clamp(1.35rem, 5.2vw, 1.8rem);
    line-height: 1.25;
    word-break: break-word;
  }

  .b2b-perks {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
    min-width: 0;
    width: 100%;
  }

  .b2b-perk {
    font-size: 0.85rem;
    line-height: 1.4;
    word-break: break-word;
  }

  .b2b-author-card {
    padding: 22px 16px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .b2b-author-card .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  /* Floating CTA */
  .floating-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 6px 12px 6px 16px;
    justify-content: space-between;
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
    z-index: 1000;
  }

  .floating-cta__text {
    font-size: 0.76rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .floating-cta .btn {
    padding: 7px 12px;
    font-size: 0.75rem;
    flex-shrink: 0;
  }

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

  .metric-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 16px;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

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

  .modal__body {
    grid-template-columns: 1fr;
    padding: 20px 16px;
  }

  .modal__header {
    padding: 24px 20px 16px;
  }

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