/*
  ============================================================
  NestZim — Premium Custom CSS v2.0
  static/css/nestzim.css
  ============================================================
  Commercial-grade styling with smooth animations,
  modern card designs, and premium UI/UX elements.
  
  Contents:
    1. CSS Custom Properties (Design Tokens)
    2. Base Typography & Global Styles
    3. Navbar (Premium)
    4. Hero Section (Stunning)
    5. Property Cards (Luxury)
    6. Search & Filters
    7. Badges & Tags
    8. Buttons (Premium)
    9. Map
   10. Dashboard Sidebar
   11. Listing Detail
   12. Forms
   13. Footer
   14. Utilities & Animations
   15. HTMX Loading Bar
   16. Glassmorphism Effects
   17. Premium Shadows
   18. Responsive
  ============================================================
*/

/* ────────────────────────────────────────────────────────────
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ──────────────────────────────────────────────────────────── */
   :root {
    /* Brand Colours */
    --nz-green:         #1B6B3A;
    --nz-green-dark:    #0D4A26;
    --nz-green-light:   #E8F5EE;
    --nz-green-mid:     #A8D5B8;
    --nz-gold:          #D4A017;
    --nz-gold-dark:     #B8890F;
    --nz-gold-light:    #FDF6E3;
    --nz-charcoal:      #1A2E1F;
    --nz-gray:          #555555;
    --nz-gray-light:    #F5F5F5;
    --nz-border:        #E0E0E0;
    --nz-white:         #FFFFFF;
    --nz-blue:          #1A4B8C;
    --nz-blue-light:    #EAF0FB;
    --nz-red:           #C0392B;
    --nz-red-light:     #FDEDEC;
  
    /* Typography */
    --font-heading:     'Poppins', sans-serif;
    --font-body:        'Inter', sans-serif;
  
    /* Spacing */
    --section-py:       80px;
    --card-radius:      16px;
    --card-radius-sm:   12px;
    --btn-radius:       10px;
    --input-radius:     10px;
  
    /* Premium Shadows */
    --shadow-sm:        0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md:        0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg:        0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl:        0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-2xl:       0 20px 50px rgba(0, 0, 0, 0.18);
    --shadow-card:      0 4px 16px rgba(27, 107, 58, 0.08);
    --shadow-card-hover:0 12px 32px rgba(27, 107, 58, 0.15);
    --shadow-glow:      0 0 20px rgba(27, 107, 58, 0.3);
    --shadow-gold:      0 0 20px rgba(212, 160, 23, 0.3);
  
    /* Transitions */
    --transition-fast:  150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base:  250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:  400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce:500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  
  
  /* ────────────────────────────────────────────────────────────
     2. BASE TYPOGRAPHY & GLOBAL STYLES
     ──────────────────────────────────────────────────────────── */
  *, *::before, *::after { box-sizing: border-box; }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--nz-charcoal);
    background: linear-gradient(135deg, var(--nz-white) 0%, var(--nz-gray-light) 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--nz-charcoal);
  }
  
  ::selection {
    background: var(--nz-green);
    color: var(--nz-white);
  }
  
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--nz-gray-light);
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--nz-green-mid);
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--nz-green);
  }
  
  .section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--nz-charcoal);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
  }
  
  .section-title span { 
    color: var(--nz-green);
    position: relative;
  }
  
  .section-title span::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--nz-green), var(--nz-gold));
    border-radius: 3px;
    transform: scaleX(0.6);
  }
  
  .section-subtitle {
    font-size: 1rem;
    color: var(--nz-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  a {
    color: var(--nz-green);
    text-decoration: none;
    transition: var(--transition-base);
  }
  a:hover { 
    color: var(--nz-green-dark); 
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  
  /* ────────────────────────────────────────────────────────────
     3. PREMIUM NAVBAR
     ──────────────────────────────────────────────────────────── */
  .nz-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: var(--transition-base);
  }
  
  .nz-navbar.scrolled {
    padding: 4px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
  }
  
  .nz-navbar .navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--nz-green) 0%, var(--nz-green-dark) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
  }
  
  .nz-navbar .navbar-brand span {
    background: linear-gradient(135deg, var(--nz-gold) 0%, #B8890F 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .nz-navbar .nav-link {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: #2d4a35 !important;        /* text: dark green-charcoal */
    padding: .72rem 1rem !important;
    transition: all .22s ease;
    position: relative;
    display: flex; align-items: center; gap: 5px;
  }

  /* icon defaults to brand green */
  .nz-navbar .nav-link i {
    color: var(--nz-green);
    font-size: .9rem;
    transition: color .22s ease, transform .22s ease;
  }

  /* underline reveal bar */
  .nz-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 1rem; right: 1rem;
    height: 2.5px;
    background: linear-gradient(90deg, var(--nz-green), var(--nz-gold));
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform 0.28s ease;
  }

  .nz-navbar .nav-link:hover::after,
  .nz-navbar .nav-link.active::after { transform: scaleX(1); }

  /* hover/active: text → green, icon → gold */
  .nz-navbar .nav-link:hover,
  .nz-navbar .nav-link.active { color: var(--nz-green) !important; }

  .nz-navbar .nav-link.active {
    background: rgba(27, 107, 58, 0.09);
    border-radius: 10px;
    font-weight: 700;
  }

  .nz-navbar .nav-link:hover i,
  .nz-navbar .nav-link.active i {
    color: var(--nz-gold);
    transform: scale(1.15);
  }
  
  /* Navbar CTA Buttons */
  .nz-navbar .btn-nav-login {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--nz-green);
    border: 1.5px solid var(--nz-green);
    border-radius: var(--btn-radius);
    padding: 0.42rem 1.1rem;
    transition: var(--transition-base);
    background: transparent;
    text-decoration: none;
    display: inline-flex; align-items: center;
  }

  .nz-navbar .btn-nav-login:hover {
    background: var(--nz-green);
    color: var(--nz-white);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(27,107,58,.25);
  }

  .nz-navbar .btn-nav-register {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--nz-green) 0%, var(--nz-green-dark) 100%);
    color: var(--nz-white);
    border: none;
    border-radius: var(--btn-radius);
    padding: 0.42rem 1.1rem;
    transition: var(--transition-base);
    box-shadow: 0 2px 8px rgba(27,107,58,.28);
    text-decoration: none;
    display: inline-flex; align-items: center;
  }

  .nz-navbar .btn-nav-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(27,107,58,.38);
    color: var(--nz-white);
  }
  
  
  /* ────────────────────────────────────────────────────────────
     4. STUNNING HERO SECTION
     ──────────────────────────────────────────────────────────── */
  .nz-hero {
    background: linear-gradient(135deg, rgba(13, 74, 38, 0.95) 0%, rgba(27, 107, 58, 0.88) 100%),
                url('/static/images/hero-bg.jpg') center center / cover no-repeat;
    padding: 150px 0 120px;
    position: relative;
    overflow: hidden;
  }
  
  .nz-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBG 20s ease-in-out infinite;
  }
  
  .nz-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--nz-white);
    clip-path: ellipse(60% 100% at 50% 100%);
  }
  
  @keyframes floatBG {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-5%, -5%) rotate(5deg); }
  }
  
  .nz-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--nz-white);
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  }
  
  .nz-hero-title span { 
    color: var(--nz-gold);
    position: relative;
    display: inline-block;
  }
  
  .nz-hero-title span::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(212, 160, 23, 0.3);
    border-radius: 4px;
  }
  
  .nz-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.92);
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.6;
  }
  
  /* Hero Search Box */
  .nz-hero-search {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: var(--shadow-xl);
    max-width: 720px;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
  }
  
  .nz-hero-search:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
  }
  
  .nz-hero-search .form-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--nz-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
  }
  
  .nz-hero-search .form-control,
  .nz-hero-search .form-select {
    border: 2px solid var(--nz-border);
    border-radius: var(--input-radius);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    transition: var(--transition-base);
  }
  
  .nz-hero-search .form-control:focus,
  .nz-hero-search .form-select:focus {
    border-color: var(--nz-green);
    box-shadow: 0 0 0 4px rgba(27, 107, 58, 0.12);
    outline: none;
  }
  
  /* Stats Bar */
  .nz-stats-bar {
    background: linear-gradient(135deg, var(--nz-green-dark) 0%, var(--nz-green) 100%);
    padding: 1.5rem 0;
    position: relative;
    overflow: hidden;
  }
  
  .nz-stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
  }
  
  @keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
  
  .nz-stat-item {
    text-align: center;
    color: var(--nz-white);
    position: relative;
    z-index: 1;
  }
  
  .nz-stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--nz-gold);
    line-height: 1.2;
  }
  
  .nz-stat-item .stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.85);
    margin-top: 4px;
    font-weight: 500;
  }
  
  
  /* ────────────────────────────────────────────────────────────
     5. LUXURY PROPERTY CARDS
     ──────────────────────────────────────────────────────────── */
  .nz-property-card {
    background: var(--nz-white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
  }
  
  .nz-property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--nz-green), var(--nz-gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 2;
  }
  
  .nz-property-card:hover::before {
    transform: scaleX(1);
  }
  
  .nz-property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
  }
  
  /* Card Image */
  .nz-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--nz-gray-light) 0%, #e0e0e0 100%);
  }
  
  .nz-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .nz-property-card:hover .nz-card-img-wrap img { 
    transform: scale(1.08); 
  }
  
  /* Card Badges */
  .nz-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 2;
  }
  
  /* Save Button */
  .nz-save-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 1.1rem;
    color: var(--nz-gray);
    z-index: 2;
  }
  
  .nz-save-btn:hover {
    transform: scale(1.1);
    background: var(--nz-white);
    box-shadow: var(--shadow-md);
  }
  
  .nz-save-btn.saved { 
    color: var(--nz-red); 
    background: var(--nz-red-light);
  }
  
  /* Card Body */
  .nz-card-body {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .nz-card-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--nz-green) 30%, var(--nz-gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 0.25rem;
  }
  
  .nz-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--nz-charcoal);
    margin-bottom: 0.25rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .nz-card-location {
    font-size: 0.8rem;
    color: var(--nz-gray);
    margin-bottom: 0.75rem;
  }
  
  .nz-card-location i { 
    color: var(--nz-green); 
    margin-right: 4px; 
    font-size: 0.75rem;
  }
  
  /* Card Features Row */
  .nz-card-features {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--nz-border);
    border-bottom: 1px solid var(--nz-border);
    margin-bottom: 0.75rem;
  }
  
  .nz-card-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--nz-gray);
  }
  
  .nz-card-feature i { 
    color: var(--nz-green); 
    font-size: 0.85rem;
  }
  
  /* Card Agent Strip */
  .nz-card-agent {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
  }
  
  .nz-card-agent img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    background: linear-gradient(#fff,#fff) padding-box,
                linear-gradient(135deg, var(--nz-gold), var(--nz-green)) border-box;
  }
  
  .nz-card-agent-name {
    font-size: 0.75rem;
    color: var(--nz-gray);
    font-weight: 500;
  }
  
  /* Card Rating */
  .nz-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--nz-gold);
    margin-top: 4px;
  }
  
  /* ────────────────────────────────────────────────────────────
     6. SEARCH & FILTERS
     ──────────────────────────────────────────────────────────── */
  .nz-filter-sidebar {
    background: var(--nz-white);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--nz-border);
    position: sticky;
    top: 90px;
    transition: var(--transition-base);
  }
  
  .nz-filter-sidebar:hover {
    box-shadow: var(--shadow-md);
  }
  
  .nz-filter-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--nz-charcoal);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--nz-green-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  /* Live Search Results */
  #search-results-container {
    min-height: 300px;
  }
  
  .nz-search-bar {
    position: relative;
  }
  
  .nz-search-bar input {
    padding-left: 2.8rem;
    border-radius: 50px !important;
    border: 2px solid var(--nz-border);
    font-size: 0.95rem;
    transition: var(--transition-base);
  }
  
  .nz-search-bar input:focus {
    border-color: var(--nz-green);
    box-shadow: 0 0 0 4px rgba(27, 107, 58, 0.1);
  }
  
  .nz-search-bar .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--nz-green);
    font-size: 1rem;
    pointer-events: none;
  }



  /* ────────────────────────────────────────────────────────────
   PREMIUM TOP BAR
   ──────────────────────────────────────────────────────────── */
.nz-top-bar {
  background: linear-gradient(135deg, var(--nz-green-dark) 0%, var(--nz-green) 100%);
  padding: 8px 0;
  font-size: 0.8rem;
  position: relative;
  z-index: 1031;
}

.nz-top-bar-contact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nz-top-bar-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.nz-top-bar-contact a:hover {
  color: var(--nz-gold);
  transform: translateX(3px);
}

.nz-top-bar-contact a i {
  font-size: 0.85rem;
}

.nz-top-bar-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.nz-top-bar-social .follow-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 500;
}

.nz-top-bar-social .social-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.nz-top-bar-social .social-icon:hover {
  background: var(--nz-gold);
  transform: translateY(-2px);
  color: var(--nz-charcoal);
}

.btn-language {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
}

.btn-language:hover {
  background: var(--nz-gold);
  color: var(--nz-charcoal);
}

/* Responsive Top Bar */
@media (max-width: 767.98px) {
  .nz-top-bar { display: none; }
}
@media (max-width: 991.98px) {
  .nz-top-bar-contact,
  .nz-top-bar-social {
      justify-content: center;
  }
  .nz-top-bar-contact {
      margin-bottom: 6px;
  }
}
  
  /* ────────────────────────────────────────────────────────────
     7. PREMIUM BADGES & TAGS
     ──────────────────────────────────────────────────────────── */
  .nz-badge {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.35em 0.85em;
    border-radius: 50px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: var(--transition-fast);
  }
  
  .nz-badge-available { 
    background: linear-gradient(135deg, var(--nz-green) 0%, var(--nz-green-dark) 100%);
    color: var(--nz-white);
  }
  .nz-badge-rented { 
    background: linear-gradient(135deg, var(--nz-gray) 0%, #666 100%);
    color: var(--nz-white); 
  }
  .nz-badge-pending { 
    background: linear-gradient(135deg, var(--nz-gold) 0%, var(--nz-gold-dark) 100%);
    color: var(--nz-charcoal); 
  }
  .nz-badge-featured { 
    background: linear-gradient(135deg, var(--nz-gold) 0%, #FFD700 100%);
    color: var(--nz-charcoal);
    box-shadow: var(--shadow-gold);
  }
  .nz-badge-student { 
    background: linear-gradient(135deg, var(--nz-blue) 0%, #1E5A9C 100%);
    color: var(--nz-white); 
  }
  .nz-badge-type { 
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    color: var(--nz-white); 
  }
  
  /* Verified Badge — gold theme */
  .nz-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    color: #8a6200;
    font-weight: 700;
    background: var(--nz-gold-light);
    border: 1px solid rgba(212,160,23,.25);
    padding: 2px 9px;
    border-radius: 50px;
    white-space: nowrap;
  }

  .nz-verified-badge i {
    font-size: 0.76rem;
    color: var(--nz-gold);
  }
  
  
  /* ────────────────────────────────────────────────────────────
     8. PREMIUM BUTTONS
     ──────────────────────────────────────────────────────────── */
  .btn-nz-primary {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--nz-green) 0%, var(--nz-green-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--btn-radius);
    padding: 0.75rem 1.8rem;
    transition: var(--transition-base);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .btn-nz-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
  }
  
  .btn-nz-primary:hover::before {
    left: 100%;
  }
  
  .btn-nz-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 107, 58, 0.4);
  }
  
  .btn-nz-primary:active { transform: translateY(0); }
  
  .btn-nz-outline {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    background: transparent;
    color: var(--nz-green);
    border: 2px solid var(--nz-green);
    border-radius: var(--btn-radius);
    padding: 0.7rem 1.8rem;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .btn-nz-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--nz-green);
    transition: width 0.3s ease;
    z-index: -1;
  }
  
  .btn-nz-outline:hover::before {
    width: 100%;
  }
  
  .btn-nz-outline:hover {
    color: white;
    border-color: var(--nz-green);
  }
  
  .btn-nz-gold {
    font-family: var(--font-heading);
    font-weight: 600;
    background: linear-gradient(135deg, var(--nz-gold) 0%, var(--nz-gold-dark) 100%);
    color: var(--nz-charcoal);
    border: none;
    border-radius: var(--btn-radius);
    padding: 0.75rem 1.8rem;
    transition: var(--transition-base);
  }
  
  .btn-nz-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.4);
    color: var(--nz-charcoal);
  }
  
  
  /* ────────────────────────────────────────────────────────────
     9. MAP
     ──────────────────────────────────────────────────────────── */
  #nz-map {
    height: 520px;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 1;
    transition: var(--transition-base);
  }
  
  #nz-map:hover {
    box-shadow: var(--shadow-xl);
  }
  
  .nz-map-popup { 
    min-width: 240px; 
    font-family: var(--font-body);
  }
  .nz-map-popup img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  .nz-map-popup .popup-price {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--nz-green);
    font-size: 1.1rem;
  }
  .nz-map-popup .popup-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
  }
  
  
  /* ────────────────────────────────────────────────────────────
     10. DASHBOARD SIDEBAR
     ──────────────────────────────────────────────────────────── */
  .nz-dashboard {
    background: linear-gradient(135deg, var(--nz-gray-light) 0%, #F0F0F0 100%);
    min-height: calc(100vh - 72px);
  }
  
  .nz-sidebar {
    background: var(--nz-white);
    border-right: 1px solid var(--nz-border);
    min-height: calc(100vh - 72px);
    padding: 1.5rem 0;
    position: sticky;
    top: 72px;
    transition: var(--transition-base);
  }
  
  .nz-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.85rem 1.5rem;
    color: var(--nz-gray);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-base);
    border-left: 3px solid transparent;
    text-decoration: none;
    position: relative;
    overflow: hidden;
  }
  
  .nz-sidebar-link i { 
    font-size: 1.1rem; 
    width: 24px;
    transition: var(--transition-base);
  }
  
  .nz-sidebar-link:hover {
    color: var(--nz-green);
    background: var(--nz-green-light);
    border-left-color: var(--nz-green);
    padding-left: 1.8rem;
  }
  
  .nz-sidebar-link:hover i {
    transform: scale(1.1);
  }
  
  .nz-sidebar-link.active {
    color: var(--nz-green);
    background: var(--nz-green-light);
    border-left-color: var(--nz-green);
    font-weight: 600;
  }
  
  /* Dashboard Stats Cards */
  .nz-stat-card {
    background: var(--nz-white);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--nz-border);
    border-left: 4px solid var(--nz-green);
    transition: var(--transition-base);
  }
  
  .nz-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
  
  .nz-stat-card .stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--nz-green);
    line-height: 1.2;
  }
  
  .nz-stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--nz-gray);
    margin-top: 6px;
    font-weight: 500;
  }
  
  .nz-stat-card .stat-icon {
    font-size: 2rem;
    color: var(--nz-green-mid);
  }
  
  
  /* ────────────────────────────────────────────────────────────
     11. LISTING DETAIL
     ──────────────────────────────────────────────────────────── */
  .nz-gallery-main {
    border-radius: var(--card-radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    position: relative;
  }
  
  .nz-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .nz-gallery-main:hover img { transform: scale(1.03); }
  
  .nz-gallery-thumb {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition-base);
  }
  
  .nz-gallery-thumb.active,
  .nz-gallery-thumb:hover { 
    border-color: var(--nz-green);
    transform: scale(1.02);
  }
  
  .nz-gallery-thumb img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
  }
  
  /* Amenities Grid */
  .nz-amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--nz-charcoal);
    padding: 0.6rem 0;
    transition: var(--transition-fast);
  }
  
  .nz-amenity-item i {
    font-size: 1.1rem;
    color: var(--nz-green);
    width: 24px;
  }
  
  .nz-amenity-item.unavailable { 
    color: var(--nz-gray); 
    opacity: 0.6;
    text-decoration: line-through;
  }
  .nz-amenity-item.unavailable i { color: var(--nz-gray); }
  
  
  /* ────────────────────────────────────────────────────────────
     12. FORMS
     ──────────────────────────────────────────────────────────── */
  .nz-form-card {
    background: var(--nz-white);
    border-radius: var(--card-radius);
    padding: 2rem 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--nz-border);
  }
  
  .nz-form-card .form-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nz-charcoal);
    margin-bottom: 0.4rem;
  }
  
  .nz-form-card .form-control,
  .nz-form-card .form-select,
  .nz-form-card textarea {
    border: 2px solid var(--nz-border);
    border-radius: var(--input-radius);
    font-size: 0.95rem;
    padding: 0.7rem 1rem;
    transition: var(--transition-base);
    color: var(--nz-charcoal);
  }
  
  .nz-form-card .form-control:focus,
  .nz-form-card .form-select:focus,
  .nz-form-card textarea:focus {
    border-color: var(--nz-green);
    box-shadow: 0 0 0 4px rgba(27, 107, 58, 0.1);
    outline: none;
  }
  
  /* Step Indicator */
  .nz-step-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    background: var(--nz-gray-light);
    padding: 1rem;
    border-radius: var(--card-radius);
  }
  
  .nz-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--nz-gray);
  }
  
  .nz-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--nz-white);
    border: 2px solid var(--nz-border);
    color: var(--nz-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: var(--transition-base);
  }
  
  .nz-step.active .nz-step-circle { 
    background: var(--nz-green); 
    border-color: var(--nz-green);
    color: var(--nz-white);
    box-shadow: var(--shadow-glow);
  }
  
  .nz-step.active { color: var(--nz-green); }
  
  .nz-step.done .nz-step-circle { 
    background: var(--nz-green-mid); 
    border-color: var(--nz-green);
    color: var(--nz-green);
  }
  
  .nz-step-line { 
    flex: 1; 
    height: 2px; 
    background: var(--nz-border); 
    margin: 0 12px; 
    border-radius: 2px;
  }
  .nz-step.done + .nz-step-line { background: var(--nz-green); }
  
  
  /* ────────────────────────────────────────────────────────────
     13. PREMIUM FOOTER
     ──────────────────────────────────────────────────────────── */
/* ════════════════════════════════════════════════
   FOOTER — COMMERCIAL GRADE
════════════════════════════════════════════════ */

.nz-footer {
  background: linear-gradient(160deg, #06291A 0%, #0D4A26 45%, #0A3A1E 100%);
  color: rgba(255,255,255,.82);
  position: relative;
  overflow: hidden;
}

/* Top accent line */
.nz-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #1B6B3A, #D4A017, #1B6B3A);
}

/* Subtle radial glow */
.nz-footer::after {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Newsletter strip ── */
.ft-newsletter {
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
}
.ft-nl-text {
  display: flex; align-items: center; gap: 1rem;
}
.ft-nl-ico {
  font-size: 1.8rem; color: #D4A017; flex-shrink: 0;
}
.ft-nl-title {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: .95rem; color: #fff; line-height: 1.3;
}
.ft-nl-sub { font-size: .78rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.ft-nl-form {
  display: flex; gap: 0; border-radius: 10px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.ft-nl-form input {
  flex: 1; border: none; outline: none;
  padding: .7rem 1.1rem; font-size: .87rem;
  background: rgba(255,255,255,.95); color: #1a2e1f;
  font-family: 'Inter', sans-serif; min-width: 0;
}
.ft-nl-form input::placeholder { color: #aaa; }
.ft-nl-form button {
  background: linear-gradient(135deg, #D4A017, #B8890F);
  border: none; padding: .7rem 1.3rem; white-space: nowrap;
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: .82rem; color: #1a2e1f; cursor: pointer;
  transition: opacity .2s ease;
}
.ft-nl-form button:hover { opacity: .9; }

/* ── Main body ── */
.ft-main { padding: 3.5rem 0 2.5rem; }

/* Brand */
.ft-brand { margin-bottom: 1rem; }
.ft-desc {
  font-size: .875rem; line-height: 1.8;
  color: rgba(255,255,255,.68); margin-bottom: 1.1rem;
}
.ft-badges {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.3rem;
}
.ft-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px; padding: 4px 12px;
  font-size: .72rem; font-weight: 600;
  font-family: 'Poppins', sans-serif; color: rgba(255,255,255,.8);
}
.ft-badge i { color: #D4A017; }

/* Social */
.ft-social { display: flex; gap: 9px; flex-wrap: wrap; }
.ft-soc-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.78); font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all .22s ease;
}
.ft-soc-btn:hover {
  background: #D4A017; border-color: #D4A017;
  color: #1a2e1f; transform: translateY(-3px);
  box-shadow: 0 5px 14px rgba(212,160,23,.35);
}

/* Column titles */
.ft-col-title {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .7px;
  color: #D4A017; margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(212,160,23,.25);
  display: block;
}

/* Link lists */
.ft-links { list-style: none; padding: 0; margin: 0; }
.ft-links li { margin-bottom: .55rem; }
.ft-links a {
  color: rgba(255,255,255,.65);
  font-size: .845rem;
  display: inline-flex; align-items: center; gap: 5px;
  text-decoration: none; transition: all .18s ease;
  font-family: 'Inter', sans-serif;
}
.ft-links a i { font-size: .6rem; opacity: .5; transition: transform .18s ease; }
.ft-links a:hover { color: #D4A017; }
.ft-links a:hover i { transform: translateX(3px); opacity: 1; }

/* Contact list */
.ft-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .95rem; }
.ft-contact li { display: flex; align-items: flex-start; gap: .85rem; }
.ft-ct-ico {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: #D4A017; font-size: .9rem; margin-top: 1px;
}
.ft-ct-lbl { font-size: .7rem; color: rgba(255,255,255,.45); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .4px; }
.ft-ct-val { font-size: .84rem; color: rgba(255,255,255,.82); line-height: 1.4; text-decoration: none; }
a.ft-ct-val:hover { color: #D4A017; }

/* ── Bottom bar ── */
.ft-bottom {
  background: rgba(0,0,0,.28);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.1rem 0;
}
.ft-copy { font-size: .8rem; color: rgba(255,255,255,.5); }
.ft-copy a, .site-copyright a { color: rgba(212,160,23,.95); text-decoration: none; }
.ft-copy a:hover, .site-copyright a:hover { color: #FFD966; text-decoration: underline; }
.ft-made { font-size: .79rem; color: rgba(255,255,255,.55); text-decoration: none; }
.ft-made:hover { color: #FFD966; text-decoration: underline; }
.ft-legal { display: flex; align-items: center; justify-content: center; gap: .6rem; flex-wrap: wrap; }
.ft-legal a { font-size: .79rem; color: rgba(255,255,255,.5); text-decoration: none; transition: color .18s ease; }
.ft-legal a:hover { color: #D4A017; }
.ft-legal span { color: rgba(255,255,255,.2); font-size: .7rem; }

/* ── Responsive ── */
@media (max-width: 767.98px) {
  .ft-main { padding: 2.5rem 0 2rem; }
  .ft-nl-text { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .ft-nl-form { flex-direction: column; border-radius: 10px; overflow: visible; gap: 6px; }
  .ft-nl-form input, .ft-nl-form button { border-radius: 10px; width: 100%; }
}
@media (max-width: 575.98px) {
  .ft-bottom .row { text-align: center !important; }
  .ft-legal { margin: .35rem 0; }
}

/* ════════════════════════════════════════════════
   BACK TO TOP BUTTON
════════════════════════════════════════════════ */
.nz-back-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 1050;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1B6B3A, #0D4A26);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 4px 18px rgba(27,107,58,.45), 0 1px 4px rgba(0,0,0,.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, box-shadow .25s ease, visibility .3s ease;
}
.nz-back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nz-back-top:hover {
  background: linear-gradient(135deg, #D4A017, #B8890F);
  box-shadow: 0 6px 22px rgba(212,160,23,.45);
  transform: translateY(-3px);
}
.nz-back-top:active { transform: translateY(0); }
  
  
  /* ────────────────────────────────────────────────────────────
     14. UTILITIES & ANIMATIONS
     ──────────────────────────────────────────────────────────── */
  .nz-section { padding: var(--section-py) 0; }
  .nz-section-gray { background: var(--nz-gray-light); }
  .nz-section-green { background: var(--nz-green-light); }
  
  /* Scroll-triggered fade-in */
  .nz-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .nz-fade-in.visible { 
    opacity: 1; 
    transform: translateY(0); 
  }
  
  /* Skeleton loading */
  .nz-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: nzSkeleton 1.5s ease-in-out infinite;
    border-radius: 8px;
  }
  
  @keyframes nzSkeleton {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }
  
  /* HTMX request indicator */
  .htmx-request .nz-spinner { display: inline-block !important; }
  .nz-spinner { display: none; }
  
  /* Pulse Animation */
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
  }
  
  .pulse {
    animation: pulse 2s ease-in-out infinite;
  }
  
  /* Float Animation */
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  .float {
    animation: float 3s ease-in-out infinite;
  }
  
  
  /* ────────────────────────────────────────────────────────────
     15. HTMX LOADING BAR
     ──────────────────────────────────────────────────────────── */
  .nz-loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--nz-green), var(--nz-gold), var(--nz-green));
    z-index: 10000;
    animation: nzLoadingBar 1.2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--nz-green);
  }
  
  @keyframes nzLoadingBar {
    0%   { width: 0%; opacity: 1; }
    50%  { width: 70%; opacity: 1; }
    100% { width: 100%; opacity: 0; }
  }
  
  
  /* ────────────────────────────────────────────────────────────
     16. GLASSMORPHISM EFFECTS
     ──────────────────────────────────────────────────────────── */
  .glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
  }
  
  .glass-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-4px);
  }
  
  
  /* ────────────────────────────────────────────────────────────
     17. PREMIUM SHADOW VARIANTS
     ──────────────────────────────────────────────────────────── */
  .shadow-premium {
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(27, 107, 58, 0.05);
  }
  
  .shadow-premium:hover {
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(27, 107, 58, 0.1);
  }
  
  .shadow-gold {
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.25);
  }
  
  .shadow-green-glow {
    box-shadow: 0 0 20px rgba(27, 107, 58, 0.3);
  }
  
  
  /* ────────────────────────────────────────────────────────────
     18. RESPONSIVE ADJUSTMENTS
     ──────────────────────────────────────────────────────────── */
  @media (max-width: 1199.98px) {
    .section-title { font-size: 2rem; }
  }
  
  @media (max-width: 991.98px) {
    .nz-hero { padding: 80px 0 70px; }
    .nz-sidebar { position: relative; top: 0; min-height: auto; margin-bottom: 1rem; }
    #nz-map { height: 420px; }
    .section-title { font-size: 1.8rem; }

    /* ── Navbar mobile ── */
    .nz-navbar .navbar-collapse {
      background: #fff;
      border-top: 1px solid #f0f0f0;
      padding: .5rem 0 .75rem;
      margin-top: .2rem;
      box-shadow: 0 6px 20px rgba(0,0,0,.08);
    }
    .nz-navbar .navbar-nav { gap: 0 !important; }
    .nz-navbar .nav-link {
      padding: .65rem 1.2rem !important;
      border-radius: 0;
    }
    .nz-navbar .nav-link.active {
      background: rgba(27, 107, 58, 0.1);
      border-radius: 8px !important;
      font-weight: 700;
    }
    .nz-navbar .nav-link::after { display: none; }
    .nz-navbar .d-flex.align-items-center {
      padding: .75rem 1.2rem .25rem;
      gap: .5rem !important;
    }
    .nz-navbar .btn-nav-login,
    .nz-navbar .btn-nav-register {
      flex: 1; justify-content: center; font-size: .83rem;
      padding: .5rem .8rem;
    }
  }
  
  @media (max-width: 767.98px) {
    :root { --section-py: 50px; }
    .nz-hero { padding: 60px 0 50px; }
    .nz-hero-search { padding: 1.2rem; }
    .nz-form-card { padding: 1.5rem; }
    .section-title { font-size: 1.6rem; }
    #nz-map { height: 320px; }
    .nz-stat-card .stat-value { font-size: 1.5rem; }
  }
  
  @media (max-width: 575.98px) {
    .nz-hero-title { font-size: 1.8rem; }
    .btn-nz-primary, .btn-nz-outline, .btn-nz-gold { padding: 0.6rem 1.2rem; font-size: 0.8rem; }
    .nz-card-price { font-size: 1.1rem; }
    .nz-card-title { font-size: 0.9rem; }
  }
  
  /* Dark Mode Support (Optional) */
  @media (prefers-color-scheme: dark) {
    /* Optional dark mode styles - can be extended */
  }

/* ── Promotional bulletin ticker ───────────────────────────── */
.nz-promo-ticker {
  --nz-promo-duration: 35s;
  overflow: hidden;
  width: 100%;
  height: 38px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1040;
}
.nz-promo-ticker-inner {
  width: 100%;
  overflow: hidden;
}
.nz-promo-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: nz-promo-scroll var(--nz-promo-duration) linear infinite;
  padding-left: 100%;
}
.nz-promo-ticker-item {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.nz-promo-ticker-sep {
  opacity: 0.45;
  font-weight: 400;
}
.nz-promo-ticker-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nz-promo-ticker-link:hover {
  opacity: 0.9;
}
.nz-promo-ticker--green {
  background: linear-gradient(90deg, #0D4A26, #1B6B3A);
  color: #fff;
}
.nz-promo-ticker--gold {
  background: linear-gradient(90deg, #B8890F, #D4A017);
  color: #1a2e1f;
}
.nz-promo-ticker--dark {
  background: linear-gradient(90deg, #1a1a1a, #333);
  color: #fff;
}
.nz-promo-ticker--alert {
  background: linear-gradient(90deg, #991b1b, #dc2626);
  color: #fff;
}
@keyframes nz-promo-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .nz-promo-ticker-track { animation: none; padding-left: 0; flex-wrap: wrap; justify-content: center; }
}

/* ── Promotional popup modal ───────────────────────────────── */
.nz-promo-modal {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}
.nz-promo-modal .modal-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
}
.nz-promo-modal-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1rem;
}
.nz-promo-modal-cta {
  font-weight: 700;
  border-radius: 10px;
  padding: 0.55rem 1.35rem;
}
.nz-promo-modal--green .modal-title { color: #0D4A26; }
.nz-promo-modal--green .nz-promo-modal-cta {
  background: #1B6B3A;
  border-color: #1B6B3A;
  color: #fff;
}
.nz-promo-modal--gold .modal-header {
  background: linear-gradient(135deg, #fdf6e3, #fff);
}
.nz-promo-modal--gold .modal-title { color: #7a5500; }
.nz-promo-modal--gold .nz-promo-modal-cta {
  background: #D4A017;
  border-color: #D4A017;
  color: #1a2e1f;
}
.nz-promo-modal--dark .modal-header,
.nz-promo-modal--dark .modal-body {
  background: #1a1a1a;
  color: #eee;
}
.nz-promo-modal--dark .modal-title { color: #fff; }
.nz-promo-modal--alert .modal-header {
  background: #fef2f2;
}
.nz-promo-modal--alert .modal-title { color: #991b1b; }
.nz-promo-modal--alert .nz-promo-modal-cta {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

/* ── Founding member offer (first 100 lifetime) ─────────────── */
.nz-founding-banner {
  background: linear-gradient(135deg, #0D4A26 0%, #1B6B3A 55%, #155232 100%);
  color: #fff;
  padding: 0.85rem 0;
  margin-bottom: 1.5rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(13, 74, 38, 0.22);
}
.nz-founding-banner-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0 1.25rem;
}
.nz-founding-banner-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #D4A017, #B8890F);
  color: #1a2e1f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.nz-founding-banner-text {
  flex: 1;
  min-width: 200px;
  font-size: 0.82rem;
  line-height: 1.45;
}
.nz-founding-banner-text strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.nz-founding-banner-text span {
  color: rgba(255, 255, 255, 0.82);
}
.nz-founding-banner-meter {
  width: 120px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  overflow: hidden;
  flex-shrink: 0;
}
.nz-founding-banner-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #D4A017, #f5d76e);
  border-radius: 99px;
  transition: width 0.6s ease;
}
.nz-founding-banner-cta {
  background: #D4A017;
  color: #1a2e1f;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.5rem 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nz-founding-banner-cta:hover {
  background: #f0c040;
  color: #1a2e1f;
}

body.nz-founding-overlay-open {
  overflow: hidden;
}
.nz-founding-overlay[hidden] {
  display: none !important;
}
.nz-founding-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.nz-founding-overlay.is-visible {
  opacity: 1;
}
.nz-founding-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 41, 26, 0.72);
  backdrop-filter: blur(6px);
}
.nz-founding-overlay-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.75rem 1.5rem;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.35s ease;
}
.nz-founding-overlay.is-visible .nz-founding-overlay-card {
  transform: translateY(0) scale(1);
}
.nz-founding-overlay-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 100px;
  background: radial-gradient(ellipse, rgba(212, 160, 23, 0.35), transparent 70%);
  pointer-events: none;
}
.nz-founding-overlay-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  background: #f4f6f4;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nz-founding-overlay-close:hover {
  background: #e8ebe8;
}
.nz-founding-overlay-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.75rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #D4A017, #B8890F);
  color: #1a2e1f;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nz-founding-overlay-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1B6B3A;
  margin: 0 0 0.35rem;
}
.nz-founding-overlay-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.25;
  color: #0D4A26;
  margin: 0 0 0.75rem;
}
.nz-founding-overlay-title span {
  color: #B8890F;
}
.nz-founding-overlay-lead {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.nz-founding-overlay-spots {
  background: #f8faf8;
  border: 1px solid #e8ebe8;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.1rem;
  text-align: left;
}
.nz-founding-overlay-spots-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #444;
  margin-bottom: 0.45rem;
}
.nz-founding-overlay-bar {
  height: 8px;
  background: #e8ebe8;
  border-radius: 99px;
  overflow: hidden;
}
.nz-founding-overlay-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #1B6B3A, #D4A017);
  border-radius: 99px;
  transition: width 0.6s ease;
}
.nz-founding-overlay-perks {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.nz-founding-overlay-perks li {
  font-size: 0.85rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nz-founding-overlay-perks i {
  color: #1B6B3A;
}
.nz-founding-overlay-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nz-founding-overlay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
}
.nz-founding-overlay-btn.primary {
  background: linear-gradient(135deg, #1B6B3A, #0D4A26);
  color: #fff;
}
.nz-founding-overlay-btn.secondary {
  background: #fff;
  color: #1B6B3A;
  border: 2px solid #1B6B3A;
}
.nz-founding-overlay-foot {
  font-size: 0.78rem;
  color: #888;
  margin: 1rem 0 0;
}
.nz-founding-overlay-foot a {
  color: #1B6B3A;
  font-weight: 700;
}
@media (max-width: 575.98px) {
  .nz-founding-overlay-card {
    padding: 1.5rem 1.15rem 1.25rem;
  }
  .nz-founding-overlay-title {
    font-size: 1.2rem;
  }
  .nz-founding-banner-meter {
    width: 100%;
    order: 4;
  }
}