.placeholder-soft img,
img[src*="placeholder-"] {
  background: var(--cream);
}

.lang-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.lang-bar .lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 14px;
  margin-left: 0;
  line-height: 0;
  overflow: hidden;
  border-radius: 2px;
  opacity: 0.5;
}

.lang-bar .lang-flag.active {
  opacity: 1;
  box-shadow: 0 0 0 1.5px var(--gold-light);
}

.lang-bar .lang-flag img {
  display: block;
  width: 20px !important;
  height: 14px !important;
  min-width: 20px;
  max-width: 20px;
  object-fit: cover;
  background: transparent;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  min-width: 220px;
  background: var(--warm-white);
  border: 0.5px solid var(--border);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  padding: 0.7rem 0;
  display: none;
}

.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.7rem 1rem;
  white-space: nowrap;
}

.attraction-dist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.house-section {
  background: var(--warm-white);
}

.house-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  min-height: 520px;
  background: var(--dark);
  color: #fff;
}

.house-card-image {
  min-height: 520px;
}

.house-card-body {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.house-card-body .section-eyebrow,
.house-card-body .section-title {
  color: #fff;
}

.house-card-body p {
  color: rgba(255,255,255,0.72);
  margin: 1rem 0 2rem;
}

.mini-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.mini-spec {
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: 0.9rem;
}

.mini-spec strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: #fff;
  line-height: 1;
}

.mini-spec span {
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seo-text-block {
  background: var(--cream);
  padding: 2.5rem 4rem;
}

.seo-text-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.seo-text-inner h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.seo-text-inner p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #1C1F1A;
  z-index: 9999;
  overflow-y: auto;
  flex-direction: column;
  padding-top: 80px;
}

.mobile-nav-overlay.open {
  display: flex;
}

.mobile-nav-overlay a {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  padding: 1.1rem 2rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  display: block;
}

.mobile-nav-overlay .mob-cta {
  margin: 1.5rem 2rem;
  background: var(--gold);
  color: var(--dark);
  border-radius: 2px;
  text-align: center;
  font-weight: 500;
  border-bottom: none;
}

.mob-close,
.nav-hamburger {
  background: none;
  border: none;
  cursor: pointer;
}

.mob-close {
  position: fixed;
  top: 1.1rem;
  right: 1.2rem;
  color: rgba(255,255,255,0.8);
  font-size: 2.5rem;
  line-height: 1;
  z-index: 10002;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 6px;
  z-index: 10000;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
}

.simple-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.simple-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 1.2rem;
}

.simple-page h2 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 2.5rem 0 0.8rem;
  color: var(--dark);
}

.simple-page p,
.simple-page li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.simple-page ul {
  padding-left: 1.2rem;
}

@media (min-width: 901px) {
  .hero {
    min-height: 720px;
  }
}

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

  nav {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    height: auto;
    min-height: 720px;
  }

  .hero-content {
    padding: 0 1.5rem 3rem;
  }

  .hero-stats {
    position: relative;
    right: auto;
    bottom: auto;
    padding: 0 1.5rem 2rem;
    flex-wrap: wrap;
    width: 100%;
  }

  .intro,
  .house-card,
  .seo-text-inner {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    max-width: 100%;
  }

  .intro {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    overflow: hidden;
  }

  .intro-text,
  .intro-features {
    min-width: 0;
    width: 100%;
  }

  .intro-features {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .feature-item {
    min-width: 0;
  }

  .feature-text {
    min-width: 0;
  }

  .feature-text strong,
  .feature-text span,
  .section-title {
    overflow-wrap: anywhere;
  }

  .gallery-strip {
    overflow: hidden;
  }

  .gallery-scroll {
    width: 100%;
    max-width: 100vw;
    overflow-x: auto;
  }

  .house-card-body {
    padding: 2.5rem 1.5rem;
  }

  .house-card-image {
    min-height: 340px;
  }

  .mini-specs {
    grid-template-columns: 1fr 1fr;
  }

  footer {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
    padding: 3rem 1.5rem !important;
    overflow: hidden;
  }

  .footer-brand,
  .footer-col,
  .footer-col-sister,
  .footer-bottom {
    grid-column: 1 / -1 !important;
    min-width: 0;
    text-align: center;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-brand .logo-img-footer {
    margin-left: auto;
    margin-right: auto;
    object-position: center;
  }

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

  .footer-col ul {
    align-items: center;
  }

  .footer-objects {
    align-items: center;
    gap: 1rem;
  }

  .footer-object-link {
    align-items: center;
    justify-content: center;
    max-width: 100%;
  }

  .footer-object-link span,
  .footer-col ul li a,
  .footer-bottom p {
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
  }
}

.footer-brand .logo-img-footer {
  height: 68px;
  max-width: 150px;
  object-fit: contain;
  object-position: left center;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition);
}

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

.social-link svg {
  display: block;
}

.footer-object-logo-frankowe {
  height: 44px;
  width: 80px;
}

.footer-object-logo-helenowka {
  height: 50px;
  width: 80px;
}

.footer-object-logo-frankowe,
.footer-object-logo-helenowka {
  object-fit: contain;
  object-position: left center;
}

.footer-object-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.footer-object-copy strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer-object-copy small {
  max-width: 190px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .footer-brand .logo-img-footer {
    height: 62px;
    margin-left: auto;
    margin-right: auto;
    object-position: center;
  }

  .footer-object-logo-frankowe,
  .footer-object-logo-helenowka {
    width: 74px;
  }

  .footer-object-copy {
    align-items: center;
  }

  .footer-object-copy small {
    max-width: 220px;
  }
}


.footer-brand .logo-img-footer,
.footer-object-logo,
.lang-bar .lang-flag img,
.logo img,
.logo-link img {
  background: transparent !important;
}
