/* ==========================================================================
   BLISKO GÓR - EXCLUSIVE MOUNTAIN HOMES
   Luxury Real Estate Landing Page Styles (Dark & Light Theme + WCAG)
   ========================================================================== */

/* -------------------------------------------------------------------------- */
/* THEME SYSTEM (DARK & LIGHT)                                                */
/* -------------------------------------------------------------------------- */
:root,
[data-theme="dark"] {
  --theme-mode: "dark";

  /* Surfaces & Backgrounds */
  --bg-dark: #090e0e;
  --bg-surface: #101817;
  --bg-card: #152220;
  --bg-card-hover: #1c2d2a;
  --bg-header: rgba(9, 14, 14, 0.92);
  --bg-input: rgba(9, 14, 14, 0.7);

  /* Gold & Accents */
  --gold: #d4b274;
  --gold-light: #e5cc9c;
  --gold-dark: #b8934d;
  --gold-subtle: rgba(212, 178, 116, 0.14);
  --gold-glow: rgba(212, 178, 116, 0.3);

  --forest: #132a24;
  --forest-light: #1f4239;
  --emerald: #10b981;

  /* Typography Colors (WCAG AAA / AA verified) */
  --text-primary: #fafafa;
  --text-secondary: #b3c2bf;
  --text-dim: #7a8c88;
  --text-inverse: #0d1514;

  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-gold: rgba(212, 178, 116, 0.35);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 10px 30px rgba(212, 178, 116, 0.25);

  /* Hero Scrim & Gradient (High photo visibility with WCAG AA/AAA compliance) */
  --hero-overlay-left: rgba(9, 14, 14, 0.88);
  --hero-overlay-mid: rgba(9, 14, 14, 0.55);
  --hero-overlay-right: rgba(9, 14, 14, 0.16);
  --hero-overlay-top: rgba(9, 14, 14, 0.52);
  --hero-base: #090e0e;
}

[data-theme="light"] {
  --theme-mode: "light";

  /* Surfaces & Backgrounds */
  --bg-dark: #f8f6f0;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1ede3;
  --bg-header: rgba(248, 246, 240, 0.94);
  --bg-input: #ffffff;

  /* Gold & Accents (Darkened for 4.5:1+ contrast on light backgrounds) */
  --gold: #8f6a25;
  --gold-light: #ad8333;
  --gold-dark: #705219;
  --gold-subtle: rgba(143, 106, 37, 0.12);
  --gold-glow: rgba(143, 106, 37, 0.2);

  --forest: #1e3a34;
  --forest-light: #2c544b;
  --emerald: #059669;

  /* Typography Colors (WCAG AAA compliant: #141c1a has 15:1 contrast on #f8f6f0) */
  --text-primary: #141c1a;
  --text-secondary: #40524e;
  --text-dim: #637773;
  --text-inverse: #ffffff;

  /* Borders & Shadows */
  --border-subtle: rgba(20, 28, 26, 0.12);
  --border-gold: rgba(143, 106, 37, 0.35);
  --shadow-card: 0 10px 30px rgba(40, 48, 45, 0.08);
  --shadow-lg: 0 20px 50px rgba(40, 48, 45, 0.14);
  --shadow-gold: 0 10px 30px rgba(143, 106, 37, 0.2);

  /* Hero Scrim in light mode */
  --hero-overlay-left: rgba(248, 246, 240, 0.94);
  --hero-overlay-mid: rgba(248, 246, 240, 0.70);
  --hero-overlay-right: rgba(248, 246, 240, 0.16);
  --hero-overlay-top: rgba(248, 246, 240, 0.65);
  --hero-base: #f8f6f0;
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

/* Skip link for WCAG keyboard accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--gold);
  color: var(--text-inverse);
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  border-radius: 4px;
  z-index: 9999;
  transition: top 0.2s ease;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid #ffffff;
}

/* Accessible focus visible rings */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Typography styles */
h1, h2, h3, h4, .font-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.72;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

button {
  font-family: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Common */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: var(--gold);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem;
}

.section-desc {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* -------------------------------------------------------------------------- */
/* BUTTONS & CONTROLS (WCAG tap targets >= 44x44px)                            */
/* -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.85rem 1.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #0c1412;
  box-shadow: var(--shadow-gold);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, #fff 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(197, 164, 103, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-gold-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-gold-outline:hover {
  background: var(--gold-subtle);
  color: var(--gold-dark);
}

.btn-sm {
  min-height: 40px;
  padding: 0.55rem 1.25rem;
  font-size: 0.84rem;
}

/* -------------------------------------------------------------------------- */
/* THEME TOGGLE SWITCH                                                        */
/* -------------------------------------------------------------------------- */
.theme-toggle-btn {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.theme-toggle-btn:hover {
  border-color: var(--gold);
  background: var(--gold-subtle);
  transform: scale(1.05);
}

.theme-icon-sun {
  display: none;
}

.theme-icon-moon {
  display: block;
}

[data-theme="light"] .theme-icon-sun {
  display: block;
}

[data-theme="light"] .theme-icon-moon {
  display: none;
}

/* -------------------------------------------------------------------------- */
/* LANGUAGE SWITCHER                                                          */
/* -------------------------------------------------------------------------- */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2px 3px;
  gap: 1px;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  padding: 0.2rem 0.45rem;
  border-radius: 12px;
  min-height: 26px;
  min-width: 28px;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1;
}

.lang-link:hover {
  color: var(--text-primary);
}

.lang-link.active {
  background: var(--gold);
  color: #0c1412;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(200, 155, 60, 0.25);
}

.mobile-lang-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  padding: 0.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.mobile-lang-switcher .lang-link {
  flex: 1 1 calc(20% - 0.35rem);
  min-width: 44px;
  text-align: center;
  min-height: 38px;
  font-size: 0.82rem;
  border-radius: 6px;
}

@media (max-width: 480px) {
  .lang-switcher {
    padding: 2px 2px;
    gap: 1px;
  }
  .lang-link {
    font-size: 0.68rem;
    padding: 0.15rem 0.35rem;
    min-height: 24px;
    min-width: 24px;
  }
}

/* -------------------------------------------------------------------------- */
/* HEADER & NAVIGATION                                                        */
/* -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

.header.scrolled {
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  height: 72px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.logo-main span {
  color: var(--gold);
}

.logo-sub {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: -3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: all 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem;
  min-height: 44px;
}

.nav-phone:hover {
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 84%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  z-index: 1001;
  padding: 2.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-close {
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-primary);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin: 2.5rem 0;
}

.mobile-links a {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem;
  color: var(--text-primary);
  display: inline-block;
}

.mobile-links a:hover {
  color: var(--gold);
}

/* -------------------------------------------------------------------------- */
/* HERO SECTION                                                               */
/* -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(80px + 3.5rem) 0 5rem;
  background-color: #070c0c;
  overflow: hidden;
  transition: background-color 0.35s ease;
}

[data-theme="light"] .hero {
  background-color: #f5f2e9;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.52) saturate(1.15) contrast(1.08);
  transform: scale(1.03);
  transition: filter 0.35s ease;
}

[data-theme="light"] .hero-bg-img {
  filter: brightness(0.85) saturate(0.92) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 12, 11, 0.45) 0%, transparent 22%),
    linear-gradient(180deg, transparent 65%, var(--bg-dark) 100%),
    linear-gradient(90deg, rgba(7, 12, 11, 0.88) 0%, rgba(7, 12, 11, 0.76) 42%, rgba(7, 12, 11, 0.32) 74%, rgba(7, 12, 11, 0.12) 100%);
  pointer-events: none;
  z-index: 2;
}

[data-theme="light"] .hero-overlay {
  background:
    linear-gradient(180deg, rgba(248, 246, 240, 0.5) 0%, transparent 22%),
    linear-gradient(180deg, transparent 65%, var(--bg-dark) 100%),
    linear-gradient(90deg, rgba(248, 246, 240, 0.94) 0%, rgba(248, 246, 240, 0.84) 42%, rgba(248, 246, 240, 0.42) 74%, rgba(248, 246, 240, 0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 840px;
}

.hero-title {
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .hero-title {
  color: #121c1a;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9);
}

.hero-title em,
.hero-title .hero-highlight {
  display: inline-block;
  font-style: normal;
  font-weight: 700;
  color: #fce4ad;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 35px rgba(252, 228, 173, 0.4);
  letter-spacing: -0.01em;
}

[data-theme="light"] .hero-title em,
[data-theme="light"] .hero-title .hero-highlight {
  color: #724e0d;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95), 0 0 15px rgba(255, 255, 255, 0.8);
}

.hero-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #ffffff;
  max-width: 700px;
  margin-bottom: 2.5rem;
  font-weight: 500;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .hero-lead {
  color: #1a2825;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95), 0 0 10px rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
}

/* Stats Bar */
.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
}

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

.stat-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-value small {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-dim);
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  font-weight: 600;
}

/* -------------------------------------------------------------------------- */
/* USP STRIP                                                                  */
/* -------------------------------------------------------------------------- */
.usp-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.usp-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.usp-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.usp-text h3 {
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.usp-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* -------------------------------------------------------------------------- */
/* ABOUT / ARCHITECTURE                                                       */
/* -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

.about-img-sub {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 55%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-dark);
}

.about-tag-float {
  position: absolute;
  top: 2rem;
  left: -1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  padding: 0.8rem 1.4rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-card);
}

.about-tag-float span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--gold);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-feat-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about-feat-bullet {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-subtle);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 700;
}


/* -------------------------------------------------------------------------- */
/* TECHNOLOGY & ENERGY INDEPENDENCE                                           */
/* -------------------------------------------------------------------------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tech-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

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

.tech-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.35rem;
}

.tech-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-title {
  font-family: inherit;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.tech-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.tech-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

/* Autonomy banner */
.autonomy-banner {
  margin-top: 3.5rem;
  padding: 2.4rem 2.6rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-card);
}

.autonomy-text {
  flex: 1;
  min-width: 0;
}

.autonomy-text h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.autonomy-list {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.55rem 1.6rem;
}

.autonomy-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.autonomy-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
}

.autonomy-note {
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
}

@media (min-width: 900px) {
  .autonomy-note {
    white-space: nowrap;
    font-size: clamp(0.8rem, 0.95vw, 0.92rem);
  }
}

/* -------------------------------------------------------------------------- */
/* GALLERY & LIGHTBOX                                                         */
/* -------------------------------------------------------------------------- */
.gallery-filter-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.65rem 1.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 44px;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  color: #0c1412;
  border-color: var(--gold);
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.3rem;
}

.gallery-item {
  position: relative;
  height: 290px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(14, 21, 20, 0.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cpolyline points='9 21 3 21 3 15'%3E%3C/polyline%3E%3Cline x1='21' y1='3' x2='14' y2='10'%3E%3C/line%3E%3Cline x1='3' y1='21' x2='10' y2='14'%3E%3C/line%3E%3C/svg%3E") no-repeat center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

[data-theme="light"] .gallery-item::after {
  background: rgba(255, 255, 255, 0.88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238c6d23' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cpolyline points='9 21 3 21 3 15'%3E%3C/polyline%3E%3Cline x1='21' y1='3' x2='14' y2='10'%3E%3C/line%3E%3Cline x1='3' y1='21' x2='10' y2='14'%3E%3C/line%3E%3C/svg%3E") no-repeat center;
  border-color: rgba(140, 109, 35, 0.4);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content-wrap {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  margin-top: 0.85rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: scale(1.1);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lightbox-nav-btn:hover {
  background: var(--gold);
  color: #0c1412;
  border-color: var(--gold);
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

/* -------------------------------------------------------------------------- */
/* LOCATION SECTION                                                           */
/* -------------------------------------------------------------------------- */
.location-section {
  background: var(--bg-surface);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.location-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  transition: all 0.25s ease;
}

.location-item:hover {
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.loc-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.2rem;
}



.panorama-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.panorama-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.panorama-overlay-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 14, 14, 0.92) 80%);
}

.peaks-list {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.peak-tag {
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
}

/* -------------------------------------------------------------------------- */
/* INVESTMENT & VALUE SECTION                                                 */
/* -------------------------------------------------------------------------- */
.invest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.invest-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.6rem 2.2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: var(--shadow-card);
}

.invest-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--gold-subtle) 0%, var(--bg-card) 100%);
  transform: translateY(-8px);
}

.invest-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
}

.invest-featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #0c1412;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.invest-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  background: var(--gold-subtle);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.invest-title {
  font-size: 1.55rem;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.invest-benefit-strip {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 1.8rem 2.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.benefit-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

/* -------------------------------------------------------------------------- */
/* REFINED LUXURY CONTACT SECTION (Direct, No form)                            */
/* -------------------------------------------------------------------------- */
.contact-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.2rem;
  max-width: 860px;
  margin: 3.5rem auto 0;
}

@media (max-width: 768px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2.8rem 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.contact-box:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
}

.contact-box-featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--gold-subtle) 0%, var(--bg-card) 100%);
}

.contact-box-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--gold-subtle);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.contact-box-title {
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.contact-box-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  max-width: 280px;
}

.contact-box-action {
  width: 100%;
}

.copy-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--forest);
  color: #fff;
  border: 1px solid var(--emerald);
  padding: 0.9rem 1.6rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/* FOOTER                                                                     */
/* -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-family: inherit;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1.4rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* -------------------------------------------------------------------------- */
/* MOBILE QUICK ACTION BAR                                                    */
/* -------------------------------------------------------------------------- */
.mobile-quickbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-gold);
  padding: 0.6rem 1rem;
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.2);
}

.quickbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  min-width: 60px;
  min-height: 48px;
  justify-content: center;
}

.quickbar-item.highlight {
  color: var(--gold);
}

.quickbar-item:hover {
  color: var(--text-primary);
}

/* -------------------------------------------------------------------------- */
/* REVEAL ANIMATIONS                                                          */
/* -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
/* -------------------------------------------------------------------------- */
/* OWNER STORY & PHILOSOPHY SECTION (Editorial Luxury)                         */
/* -------------------------------------------------------------------------- */
.story-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.story-quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 3rem 3.5rem;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.story-quote-card::before {
  content: '„';
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 8rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  left: 2rem;
  pointer-events: none;
}

.story-quote-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.story-author-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.story-author-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.story-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.story-col p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.story-pills-wrap {
  margin-top: 2rem;
}

.story-pills-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.mountain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.mountain-pill {
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.mountain-pill:hover {
  background: var(--gold);
  color: #0c1412;
}

.story-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.story-val-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
}

.story-val-card:hover {
  border-color: var(--border-gold);
}

.story-val-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.story-val-card h4 {
  font-family: inherit;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.story-val-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .story-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .story-values-grid {
    grid-template-columns: 1fr;
  }
  .story-quote-card {
    padding: 2.2rem 1.8rem;
  }
}

/* -------------------------------------------------------------------------- */
/* RESPONSIVENESS & MEDIA QUERIES                                             */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .about-grid, .location-grid, .floor-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-img-main {
    height: 400px;
  }

  .about-img-sub {
    bottom: -1.5rem;
    right: 0;
  }

  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .invest-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .invest-card.featured {
    transform: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .mobile-quickbar {
    display: flex;
  }

  .autonomy-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
  }

  body {
    padding-bottom: 60px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero {
    padding: 7rem 0 3.5rem;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 12, 11, 0.45) 0%, transparent 15%),
      linear-gradient(180deg, transparent 65%, var(--bg-dark) 100%),
      linear-gradient(180deg, rgba(7, 12, 11, 0.72) 0%, rgba(7, 12, 11, 0.9) 100%);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats-bar {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .autonomy-banner {
    flex-direction: column;
    text-align: center;
  }

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

  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}
