/* ============================================
   Montenegro Real Estate — Premium Landing Page
   Design System & Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- Design Tokens ---- */
:root {
  /* Colors */
  --color-bg-primary: #0a0e17;
  --color-bg-secondary: #111827;
  --color-bg-card: rgba(17, 24, 39, 0.7);
  --color-bg-glass: rgba(255, 255, 255, 0.04);
  --color-bg-glass-hover: rgba(255, 255, 255, 0.08);

  --color-accent: #c9a96e;
  --color-accent-light: #e4cc9c;
  --color-accent-dark: #a07d42;

  --color-text-primary: #f1f5f9;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;

  --color-border: rgba(201, 169, 110, 0.15);
  --color-border-hover: rgba(201, 169, 110, 0.35);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #c9a96e, #e4cc9c, #c9a96e);
  --gradient-dark: linear-gradient(180deg, #0a0e17 0%, #111827 100%);
  --gradient-hero-overlay: linear-gradient(
    180deg,
    rgba(10, 14, 23, 0.75) 0%,
    rgba(10, 14, 23, 0.65) 40%,
    rgba(10, 14, 23, 0.98) 100%
  );

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(201, 169, 110, 0.15);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-light);
}

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--color-accent);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

.gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #0a0e17;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #0a0e17;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}

.btn-outline:hover {
  background: rgba(201, 169, 110, 0.1);
  transform: translateY(-2px);
  color: var(--color-accent-light);
}

.btn-ghost {
  background: var(--color-bg-glass);
  color: var(--color-text-primary);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  background: var(--color-bg-glass-hover);
  border-color: var(--color-border-hover);
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  background: linear-gradient(180deg, rgba(10, 14, 23, 0.9) 0%, rgba(10, 14, 23, 0) 100%);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 0.8rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-decoration: none;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
  fill: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--color-text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.lang-switch {
  display: flex;
  gap: 4px;
  background: var(--color-bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 4px;
  margin-left: 1rem;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: transparent;
  border: none;
  border-radius: 100px;
  padding: 6px 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: var(--color-text-primary);
}

.lang-btn.active {
  background: var(--gradient-gold);
  color: #0a0e17;
}

.nav-cta {
  padding: 0.6rem 1.6rem !important;
  font-size: 0.85rem !important;
  color: #0a0e17 !important;
}

.nav-links a.nav-cta::after {
  display: none;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: var(--color-bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease-out;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero h1 em {
  font-style: italic;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  max-width: 540px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 0.3rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInUp 1s ease-out 1s both;
}

.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--color-accent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 150%; }
}

/* ---- Advantages Section ---- */
.advantages {
  padding: var(--space-3xl) 0;
  position: relative;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.advantage-card {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.advantage-card:hover {
  background: var(--color-bg-glass-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(201, 169, 110, 0.1);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.advantage-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
}

.advantage-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ---- Properties Section ---- */
.properties {
  padding: var(--space-3xl) 0;
  position: relative;
}

.properties-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.property-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-border-hover);
}

.property-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.property-card:hover .property-image img {
  transform: scale(1.08);
}

.property-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: 0.35rem 0.9rem;
  background: rgba(10, 14, 23, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.property-favorite {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 23, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.property-favorite:hover {
  background: rgba(201, 169, 110, 0.2);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.property-info {
  padding: var(--space-md);
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.property-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.property-features {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-sm);
}

.property-feature {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--color-text-secondary);
}

.property-feature svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.property-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-accent);
}

.property-price-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 400;
}

.property-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.property-link:hover {
  color: var(--color-accent);
}

/* ---- About Montenegro Section ---- */
.about-mne {
  padding: var(--space-3xl) 0;
  position: relative;
}

.about-mne-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-mne-visual {
  position: relative;
}

.about-mne-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.about-mne-image-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-mne-float-card {
  position: absolute;
  bottom: -30px;
  right: -20px;
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  box-shadow: var(--shadow-card);
}

.float-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 110, 0.15);
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
}

.float-card-text h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-accent);
}

.float-card-text span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.about-mne-content .section-subtitle {
  margin-bottom: var(--space-lg);
}

.about-mne-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.about-mne-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.about-mne-list li .check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 211, 153, 0.15);
  border-radius: 50%;
  color: #34d399;
  font-size: 0.7rem;
  margin-top: 2px;
}

/* ---- Testimonials Section ---- */
.testimonials {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.testimonial-card {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-glass-hover);
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: var(--space-sm);
  color: var(--color-accent);
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #0a0e17;
}

.testimonial-author-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.testimonial-author-info span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ---- CTA Section ---- */
.cta-section {
  padding: var(--space-3xl) 0;
}

.cta-card {
  position: relative;
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(201, 169, 110, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.cta-card .section-title {
  max-width: 600px;
  margin: 0 auto var(--space-sm);
}

.cta-card .section-subtitle {
  max-width: 500px;
  margin: 0 auto var(--space-lg);
}

.cta-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-input {
  flex: 1;
  padding: 0.95rem 1.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition-fast);
}

.cta-input::placeholder {
  color: var(--color-text-muted);
}

.cta-input:focus {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.cta-privacy {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  position: relative;
  z-index: 1;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-top: var(--space-sm);
  max-width: 300px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: var(--space-md);
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: rgba(201, 169, 110, 0.15);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-column ul a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-column ul a:hover {
  color: var(--color-text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.footer-bottom-links a:hover {
  color: var(--color-text-primary);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Floating Particles ---- */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.2;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.2;
  }
  90% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-10vh) rotate(720deg);
    opacity: 0;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-mne-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-mne-float-card {
    right: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 14, 23, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero h1 {
    font-size: clamp(2.2rem, 7vw, 3.2rem);
  }

  .hero-stats {
    gap: var(--space-lg);
  }

  .hero-stat-value {
    font-size: 1.6rem;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }

  .properties-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-card {
    padding: var(--space-xl) var(--space-md);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

/* ========== SAPPHIRE TEASER (on landing pages) ========== */
.sapphire-teaser {
  position: relative;
  padding: 100px 0;
  background-image: url('https://estateobjects-cloud-img415.storage.yandexcloud.net/2900/12693/f704e9bcfde7f60b684e831d5421150f_src.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.sapphire-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.6) 100%);
  z-index: 1;
}
.sapphire-teaser .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sapphire-teaser-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(201, 169, 110, 0.2);
  border: 1px solid #c9a96e;
  border-radius: 30px;
  color: #c9a96e;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.sapphire-teaser h2 {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 40px;
}
.sapphire-teaser-stats {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.sapphire-teaser-stat {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 30px;
  border-radius: 15px;
  min-width: 200px;
}
.sapphire-teaser-stat .val {
  display: block;
  font-size: 2rem;
  color: #c9a96e;
  font-weight: 600;
  margin-bottom: 5px;
}
.sapphire-teaser-stat .lbl {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== SAPPHIRE PAGE ========== */

/* Hero */
.sapphire-hero {
  padding-top: 120px;
  padding-bottom: 20px;
}
.sapphire-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}
.sapphire-hero-info .section-title {
  margin-bottom: 10px;
}
.sapphire-hero-release {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
}

/* Photo Gallery — matches original: 1 large left, 4 small right in 2x2 */
.sapphire-photos { padding-bottom: 10px; }
.sapphire-gallery {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 12px;
  border-radius: 12px;
  overflow: hidden;
}
.sapphire-gallery-main {
  position: relative;
  grid-row: 1 / 2;
}
.sapphire-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px 0 0 12px;
  min-height: 400px;
}
.gallery-counter {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  backdrop-filter: blur(5px);
}
.sapphire-gallery-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.sapphire-gallery-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  transition: transform 0.3s ease;
}
.sapphire-gallery-side img:hover { transform: scale(1.03); }

/* Content wrapper — 8/4 column layout like original */
.sapphire-content { padding: 30px 0 60px; }
.sapphire-content-wrapper {
  display: flex;
  gap: 40px;
}
.sapphire-main-col {
  flex: 2;
  min-width: 0;
}
.sapphire-side-col {
  flex: 0 0 320px;
}

/* Features row */
.sapphire-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 25px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 30px;
}
.sapphire-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.feat-icon { font-size: 1.5rem; }
.feat-label { display: block; font-size: 0.8rem; }
.feat-value { display: block; font-size: 0.95rem; color: #fff; }
.feat-yes { color: #34d399; font-weight: 500; }

/* Offers section */
.sapphire-offers { padding-top: 30px; }
.sapphire-offers-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  gap: 10px;
}
.sapphire-offers-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}
.sapphire-price-range {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Accordion */
.offer-accordion { margin-bottom: 8px; }
.offer-acc-btn {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 16px 20px;
  text-align: left;
  font-size: 1.1rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  transition: background 0.3s ease;
  font-family: inherit;
}
.offer-acc-btn:hover { background: rgba(255, 255, 255, 0.05); }
.offer-acc-btn .count { color: #c9a96e; margin-left: 5px; font-size: 0.9rem; }
.offer-acc-btn .arrow {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.offer-acc-btn.open .arrow { transform: rotate(180deg); }
.offer-acc-content {
  display: none;
  padding: 10px 0;
}
.offer-acc-content.active { display: block; }

/* Offer cards */
.offer-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s ease;
}
.offer-card:last-child { border-bottom: none; }
.offer-card:hover { background: rgba(255,255,255,0.02); }
.offer-card-info {
  display: flex;
  gap: 15px;
  align-items: center;
}
.offer-card-info img {
  width: 70px;
  height: 55px;
  object-fit: cover;
  border-radius: 6px;
}
.offer-card-info h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0 0 3px;
  color: #fff;
}
.offer-card-info .text-muted { font-size: 0.85rem; }
.offer-card-price {
  font-size: 1.15rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Description */
.sapphire-description {
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
  margin-top: 30px;
}
.sapphire-description h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.sapphire-desc-text {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}
.sapphire-desc-text p { margin-bottom: 15px; }

/* Sidebar */
.sapphire-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 30px;
  border-radius: 15px;
  position: sticky;
  top: 100px;
}
.sidebar-price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.sidebar-price {
  font-size: 1.6rem;
  color: #c9a96e;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}
.sapphire-sidebar-card .text-muted { margin-bottom: 20px; }
.sapphire-sidebar-card .w-100 { width: 100%; display: block; text-align: center; }

/* Responsive */
@media (max-width: 992px) {
  .sapphire-gallery {
    grid-template-columns: 1fr;
  }
  .sapphire-gallery-main img {
    border-radius: 12px;
    min-height: 250px;
  }
  .sapphire-gallery-side {
    grid-template-columns: 1fr 1fr;
  }
  .sapphire-content-wrapper {
    flex-direction: column;
  }
  .sapphire-side-col {
    flex: 1;
  }
  .sapphire-sidebar-card {
    position: static;
  }
}
@media (max-width: 768px) {
  .sapphire-teaser h2 { font-size: 2rem; }
  .sapphire-teaser-stat { min-width: 140px; padding: 15px; }
  .sapphire-hero-top { flex-direction: column; align-items: flex-start; }
  .offer-card { flex-direction: column; align-items: flex-start; gap: 10px; }
  .offer-card-price { align-self: flex-end; }
  .sapphire-offers-header { flex-direction: column; align-items: flex-start; }
}

/* ========== LIGHTBOX ========== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.lightbox.active {
  display: flex;
  justify-content: center;
  align-items: center;
}
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease;
}
.lightbox-close:hover {
  color: #c9a96e;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  left: -50px;
  right: -50px;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
@media (max-width: 768px) {
  .lightbox-nav {
    left: 10px;
    right: 10px;
  }
}
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10000;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.lightbox-btn svg {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}
.lightbox-btn-prev {
  left: 24px;
}
.lightbox-btn-next {
  right: 24px;
}
.lightbox-btn:hover {
  background: rgba(201, 169, 110, 0.35);
  border-color: rgba(201, 169, 110, 0.5);
  color: #fff;
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.2);
}
.lightbox-btn-prev:hover svg {
  transform: translateX(-2px);
}
.lightbox-btn-next:hover svg {
  transform: translateX(2px);
}
.lightbox-btn:active {
  transform: translateY(-50%) scale(0.93);
}
.sapphire-gallery img,
.sapphire-gallery-side img {
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.sapphire-gallery img:hover,
.sapphire-gallery-side img:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .lightbox-btn {
    width: 44px;
    height: 44px;
  }
  .lightbox-btn svg {
    width: 18px;
    height: 18px;
  }
  .lightbox-btn-prev {
    left: 10px;
  }
  .lightbox-btn-next {
    right: 10px;
  }
  .lightbox-content {
    max-width: 95%;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 26px;
  }
}
