/* ============================================================
   PropNest — Premium Real Estate Listing Template
   style.css — Master Stylesheet
   ============================================================ */

/* ======================================
   Google Fonts Import
====================================== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Josefin+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

/* ======================================
   CSS Custom Properties (Design Tokens)
====================================== */
:root {
  /* Brand Colors */
  --color-primary:        #0F766E;
  --color-primary-light:  #14B8A6;
  --color-primary-dark:   #0D5F59;
  --color-accent:         #0369A1;
  --color-accent-light:   #0EA5E9;

  /* Backgrounds */
  --color-bg:             #F0FDFA;
  --color-bg-white:       #FFFFFF;
  --color-bg-card:        #FFFFFF;
  --color-bg-muted:       #F8FFFE;
  --color-bg-dark:        #0D2926;

  /* Text */
  --color-text:           #134E4A;
  --color-text-secondary: #4D7A76;
  --color-text-muted:     #6B9E9A;
  --color-text-white:     #FFFFFF;
  --color-text-dark:      #0A1F1D;

  /* Borders */
  --color-border:         #CCFBF1;
  --color-border-medium:  #99F6E4;
  --color-border-dark:    #5EEAD4;

  /* Status Colors */
  --color-success:        #16A34A;
  --color-warning:        #D97706;
  --color-error:          #DC2626;
  --color-info:           #0369A1;

  /* Star/Rating */
  --color-star:           #F59E0B;

  /* Overlay */
  --overlay-dark:         rgba(13, 41, 38, 0.55);
  --overlay-darker:       rgba(13, 41, 38, 0.75);

  /* Typography */
  --font-heading:         'Cinzel', Georgia, serif;
  --font-body:            'Josefin Sans', system-ui, sans-serif;

  /* Font Sizes */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Font Weights */
  --weight-light:   300;
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semibold:600;
  --weight-bold:    700;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.75rem;
  --radius-lg:   1rem;
  --radius-xl:   1.5rem;
  --radius-2xl:  2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(15, 118, 110, 0.08), 0 1px 2px rgba(15, 118, 110, 0.06);
  --shadow-md:  0 4px 16px rgba(15, 118, 110, 0.10), 0 2px 6px rgba(15, 118, 110, 0.07);
  --shadow-lg:  0 10px 30px rgba(15, 118, 110, 0.12), 0 4px 10px rgba(15, 118, 110, 0.08);
  --shadow-xl:  0 20px 50px rgba(15, 118, 110, 0.15), 0 8px 20px rgba(15, 118, 110, 0.10);
  --shadow-card:0 2px 12px rgba(15, 118, 110, 0.09);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   200ms ease;
  --transition-smooth: 300ms ease;
  --transition-slow:   450ms ease;

  /* Z-index Scale */
  --z-base:    10;
  --z-dropdown:20;
  --z-sticky:  30;
  --z-modal:   50;
  --z-toast:   60;

  /* Container */
  --container-max: 1280px;
  --container-pad: 1.5rem;

  /* Navbar */
  --navbar-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ======================================
   Typography
====================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
  color: var(--color-text-dark);
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2rem, 5vw, var(--text-5xl)); }
h2 { font-size: clamp(1.5rem, 3.5vw, var(--text-3xl)); }
h3 { font-size: clamp(1.2rem, 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  line-height: 1.75;
  color: var(--color-text-secondary);
  max-width: 68ch;
}

/* ======================================
   Layout Utilities
====================================== */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section-padding {
  padding-block: var(--space-20);
}

.section-padding-lg {
  padding-block: var(--space-24);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header .section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-header h2 {
  margin-bottom: var(--space-3);
}

.section-header p {
  margin-inline: auto;
  color: var(--color-text-secondary);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap-2 { gap: var(--space-2); }
.flex-gap-3 { gap: var(--space-3); }
.flex-gap-4 { gap: var(--space-4); }

/* ======================================
   Buttons
====================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.03em;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-text-white);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-text-white);
  border-color: var(--color-accent);
}

.btn-accent:hover {
  background: #025585;
  border-color: #025585;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--color-bg-white);
  color: var(--color-primary);
  border-color: var(--color-bg-white);
}

.btn-white:hover {
  background: var(--color-bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  background: var(--color-bg);
  border-color: var(--color-border-medium);
}

.btn-sm {
  font-size: var(--text-xs);
  padding: 0.5rem 1rem;
}

.btn-lg {
  font-size: var(--text-base);
  padding: 0.9rem 2rem;
}

.btn-icon {
  padding: 0.65rem;
  border-radius: var(--radius-md);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ======================================
   Badges
====================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}

.badge-primary  { background: rgba(15, 118, 110, 0.10); color: var(--color-primary); }
.badge-accent   { background: rgba(3, 105, 161, 0.10);  color: var(--color-accent); }
.badge-success  { background: rgba(22, 163, 74, 0.10);  color: var(--color-success); }
.badge-warning  { background: rgba(217, 119, 6, 0.10);  color: var(--color-warning); }
.badge-error    { background: rgba(220, 38, 38, 0.10);  color: var(--color-error); }
.badge-dark     { background: var(--color-text-dark);   color: var(--color-text-white); }

/* ======================================
   Navbar
====================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: var(--navbar-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-logo .logo-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: rgba(15, 118, 110, 0.06);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Mobile hamburger */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  transition: background var(--transition-base);
}

.navbar-toggle:hover { background: var(--color-bg); }

.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.open span:nth-child(2) { opacity: 0; }
.navbar-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.navbar-mobile {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) var(--container-pad);
  z-index: calc(var(--z-sticky) - 1);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-smooth);
}

.navbar-mobile.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.navbar-mobile .nav-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-1);
}

.navbar-mobile .navbar-actions {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  flex-direction: column;
  align-items: stretch;
}

.navbar-mobile .navbar-actions .btn {
  justify-content: center;
}

/* ======================================
   Hero Section
====================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920&q=80');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay-darker);
}

.hero-content {
  position: relative;
  z-index: var(--z-base);
  width: 100%;
  padding-block: var(--space-24) var(--space-16);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.3);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: var(--weight-bold);
  color: var(--color-text-white);
  line-height: 1.1;
  margin-bottom: var(--space-5);
  max-width: 700px;
  letter-spacing: -0.01em;
}

.hero-title span {
  color: var(--color-primary-light);
}

.hero-subtitle {
  font-size: var(--text-lg);
  font-weight: var(--weight-light);
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: var(--space-10);
  max-width: 520px;
  line-height: 1.7;
}

/* Hero Search Box */
.hero-search-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: var(--space-2);
  display: flex;
  align-items: stretch;
  gap: var(--space-1);
  max-width: 780px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background var(--transition-base);
  min-width: 0;
}

.search-field:hover {
  background: var(--color-bg);
}

.search-field-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-text-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.search-field input,
.search-field select {
  border: none;
  background: transparent;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  outline: none;
  width: 100%;
}

.search-field input::placeholder {
  color: var(--color-text-muted);
}

.search-divider {
  width: 1px;
  background: var(--color-border);
  align-self: stretch;
  margin-block: var(--space-2);
  flex-shrink: 0;
}

.search-submit {
  padding: var(--space-3) var(--space-5);
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--transition-base);
  white-space: nowrap;
  flex-shrink: 0;
}

.search-submit:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.search-submit svg { width: 18px; height: 18px; }

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-10);
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-white);
  line-height: 1;
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.05em;
  margin-top: var(--space-1);
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* ======================================
   Property Type Categories
====================================== */
.categories-section {
  background: var(--color-bg-white);
  padding-block: var(--space-16);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-3);
  background: var(--color-bg-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-align: center;
  text-decoration: none;
}

.category-card:hover,
.category-card.active {
  border-color: var(--color-primary);
  background: rgba(15, 118, 110, 0.04);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.category-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: rgba(15, 118, 110, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base);
}

.category-card:hover .category-icon,
.category-card.active .category-icon {
  background: var(--color-primary);
}

.category-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  transition: color var(--transition-base);
}

.category-card:hover .category-icon svg,
.category-card.active .category-icon svg {
  color: white;
}

.category-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  line-height: 1.3;
}

.category-count {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ======================================
   Property Cards
====================================== */
.property-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-smooth);
  cursor: pointer;
  position: relative;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-medium);
}

.property-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.property-card:hover .property-card-image img {
  transform: scale(1.05);
}

.property-card-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 2;
}

.property-wishlist-btn {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
}

.property-wishlist-btn:hover {
  background: white;
  transform: scale(1.1);
}

.property-wishlist-btn svg {
  width: 16px;
  height: 16px;
  color: var(--color-text);
  transition: all var(--transition-base);
}

.property-wishlist-btn.active svg,
.property-wishlist-btn:hover svg {
  color: #ef4444;
  fill: #ef4444;
}

.property-type-pill {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  color: white;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.property-card-body {
  padding: var(--space-4) var(--space-5);
}

.property-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.property-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-dark);
  line-height: 1.35;
  transition: color var(--transition-base);
}

.property-card:hover .property-card-title {
  color: var(--color-primary);
}

.property-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.property-rating svg {
  width: 14px;
  height: 14px;
  color: var(--color-star);
  fill: var(--color-star);
}

.property-rating span {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

.property-location {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3);
}

.property-location svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.property-features {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-3);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-4);
}

.property-feature {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  font-weight: var(--weight-medium);
}

.property-feature svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
}

.property-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.property-price {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
}

.property-price span {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  color: var(--color-text-muted);
}

.property-card-link {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--transition-base);
}

.property-card-link:hover { gap: var(--space-2); }
.property-card-link svg { width: 16px; height: 16px; }

/* ======================================
   Featured Listings Section
====================================== */
.featured-section {
  background: var(--color-bg);
  padding-block: var(--space-20);
}

.featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-10);
  gap: var(--space-4);
}

.featured-header .section-header {
  text-align: left;
  margin-bottom: 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* ======================================
   How It Works
====================================== */
.how-it-works-section {
  background: var(--color-bg-white);
  padding-block: var(--space-20);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 2px;
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-light));
  opacity: 0.3;
  pointer-events: none;
}

.step-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-xl);
  transition: all var(--transition-smooth);
  position: relative;
}

.step-card:hover {
  background: var(--color-bg);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: white;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.35);
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: rgba(15, 118, 110, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
}

.step-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.step-card h3 {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.step-card p {
  margin-inline: auto;
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ======================================
   Stats Section
====================================== */
.stats-section {
  background: var(--color-primary);
  padding-block: var(--space-16);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
}

.stat-item {
  padding: var(--space-4);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--weight-bold);
  color: white;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.03em;
}

/* ======================================
   Testimonials
====================================== */
.testimonials-section {
  background: var(--color-bg);
  padding-block: var(--space-20);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-medium);
  transform: translateY(-3px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-4);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  color: var(--color-star);
  fill: var(--color-star);
}

.testimonial-text {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-5);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-author-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-dark);
  line-height: 1.2;
}

.testimonial-author-role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ======================================
   CTA Banner — Become a Lister
====================================== */
.cta-section {
  background: var(--color-bg-dark);
  padding-block: var(--space-20);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-10);
}

.cta-text h2 {
  font-size: clamp(1.75rem, 3.5vw, var(--text-4xl));
  color: white;
  margin-bottom: var(--space-4);
}

.cta-text p {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-base);
  max-width: 52ch;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

/* ======================================
   Glass Card Component
====================================== */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.glass-card-dark {
  background: rgba(13, 41, 38, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
}

/* ======================================
   Info Cards (Amenities etc.)
====================================== */
.info-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.info-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(15, 118, 110, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.info-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.info-card h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.info-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ======================================
   Forms
====================================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-dark);
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-bg-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--color-text-muted); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.form-input-icon {
  position: relative;
}

.form-input-icon svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  pointer-events: none;
}

.form-input-icon .form-input {
  padding-left: 2.75rem;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* ======================================
   Sidebar / Filter Panel
====================================== */
.filter-sidebar {
  width: 280px;
  flex-shrink: 0;
}

.filter-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
}

.filter-card-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-text-dark);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  cursor: pointer;
  transition: color var(--transition-base);
}

.filter-option:hover { color: var(--color-primary); }

.filter-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.filter-option-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  flex: 1;
}

.filter-option-count {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  background: var(--color-bg);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Price range slider */
.price-range-display {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.price-range-display span {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
}

.range-input {
  width: 100%;
  accent-color: var(--color-primary);
}

/* ======================================
   Pagination
====================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-10);
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  background: var(--color-bg-white);
  border: 1.5px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-base);
}

.page-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.page-btn.active { background: var(--color-primary); color: white; border-color: var(--color-primary); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ======================================
   Dashboard Sidebar
====================================== */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-6);
  min-height: calc(100vh - var(--navbar-height));
  padding-top: var(--navbar-height);
}

.dashboard-sidebar {
  background: var(--color-bg-white);
  border-right: 1px solid var(--color-border);
  padding: var(--space-6);
  position: sticky;
  top: var(--navbar-height);
  height: calc(100vh - var(--navbar-height));
  overflow-y: auto;
}

.dashboard-main {
  padding: var(--space-6);
}

.sidebar-menu-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  margin-bottom: var(--space-1);
}

.sidebar-menu-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.sidebar-menu-item:hover,
.sidebar-menu-item.active {
  background: rgba(15, 118, 110, 0.08);
  color: var(--color-primary);
}

.sidebar-menu-item:hover svg,
.sidebar-menu-item.active svg {
  color: var(--color-primary);
}

.sidebar-menu-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: var(--weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 5px;
}

.sidebar-section-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-4) var(--space-4) var(--space-2);
}

/* ======================================
   Dashboard Stats Cards
====================================== */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.dashboard-stat-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  transition: box-shadow var(--transition-base);
}

.dashboard-stat-card:hover {
  box-shadow: var(--shadow-md);
}

.dashboard-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.dashboard-stat-icon svg {
  width: 22px;
  height: 22px;
}

.dashboard-stat-icon.green  { background: rgba(15, 118, 110, 0.10); color: var(--color-primary); }
.dashboard-stat-icon.blue   { background: rgba(3, 105, 161, 0.10);  color: var(--color-accent); }
.dashboard-stat-icon.orange { background: rgba(217, 119, 6, 0.10);  color: var(--color-warning); }
.dashboard-stat-icon.red    { background: rgba(220, 38, 38, 0.10);  color: var(--color-error); }

.dashboard-stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-dark);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.dashboard-stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.dashboard-stat-change {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  margin-top: var(--space-2);
  display: flex;
  align-items: center;
  gap: 3px;
}

.dashboard-stat-change.up   { color: var(--color-success); }
.dashboard-stat-change.down { color: var(--color-error); }

/* ======================================
   Table
====================================== */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead th {
  text-align: left;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.data-table tbody td {
  padding: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover td {
  background: rgba(15, 118, 110, 0.025);
}

.data-table .property-thumb {
  width: 52px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

/* ======================================
   Auth Pages
====================================== */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-hero-side {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?w=900&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: var(--space-10);
}

.auth-hero-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay-darker);
}

.auth-hero-content {
  position: relative;
  z-index: 1;
}

.auth-hero-content h2 {
  color: white;
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3);
}

.auth-hero-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  max-width: 40ch;
}

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-10);
  background: var(--color-bg-white);
}

.auth-form-wrapper {
  width: 100%;
  max-width: 420px;
}

.auth-logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.auth-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-dark);
  margin-bottom: var(--space-2);
}

.auth-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-block: var(--space-5);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.auth-divider span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--weight-medium);
}

.social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  padding: 0.75rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  background: white;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-body);
  margin-bottom: var(--space-3);
}

.social-login-btn:hover {
  border-color: var(--color-border-medium);
  box-shadow: var(--shadow-sm);
}

.social-login-btn svg { width: 20px; height: 20px; }

/* ======================================
   Property Detail Page
====================================== */
.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-3);
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.property-gallery-main {
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
}

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

.property-gallery-main:hover img { transform: scale(1.03); }

.property-gallery-thumb {
  position: relative;
  overflow: hidden;
}

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

.property-gallery-thumb:hover img { transform: scale(1.05); }

.property-gallery-more {
  position: absolute;
  inset: 0;
  background: rgba(13, 41, 38, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: white;
  cursor: pointer;
}

.property-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-10);
  align-items: flex-start;
}

.booking-widget {
  position: sticky;
  top: calc(var(--navbar-height) + var(--space-6));
  background: var(--color-bg-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
}

.booking-widget-price {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.booking-widget-price span {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  color: var(--color-text-muted);
}

.booking-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.booking-date-field {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  transition: border-color var(--transition-base);
}

.booking-date-field:hover { border-color: var(--color-primary); }

.booking-date-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-dark);
  margin-bottom: 2px;
}

.booking-date-value {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.booking-guests-field {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  cursor: pointer;
}

.booking-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.booking-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-3);
  border-top: 1.5px solid var(--color-text-dark);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  color: var(--color-text-dark);
  margin-block: var(--space-3) var(--space-5);
}

/* Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
}

.amenity-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.amenity-item.unavailable {
  opacity: 0.45;
  text-decoration: line-through;
}

/* ======================================
   Agent / Host Card
====================================== */
.host-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.host-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--color-primary);
}

.host-name {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-dark);
  margin-bottom: 2px;
}

.host-meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ======================================
   Map Placeholder
====================================== */
.map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-3);
  color: var(--color-text-muted);
  overflow: hidden;
  position: relative;
}

.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.map-pin {
  position: relative;
  z-index: 1;
  background: var(--color-primary);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ======================================
   Tags / Chips
====================================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: var(--color-bg-white);
  cursor: pointer;
  transition: all var(--transition-base);
}

.tag:hover,
.tag.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* ======================================
   Footer
====================================== */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.75);
}

.footer-top {
  padding-block: var(--space-16);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: white;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.footer-brand-desc {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  max-width: 28ch;
  margin-bottom: var(--space-5);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.footer-social a svg { width: 16px; height: 16px; }

.footer-col-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: white;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

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

.footer-bottom {
  padding-block: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-5);
}

.footer-bottom-links a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition-base);
}

.footer-bottom-links a:hover { color: rgba(255, 255, 255, 0.75); }

/* ======================================
   Alert / Toast
====================================== */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid;
  font-size: var(--text-sm);
  line-height: 1.6;
}

.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

.alert-success { background: rgba(22, 163, 74, 0.06);  border-color: rgba(22, 163, 74, 0.2);  color: #166534; }
.alert-warning { background: rgba(217, 119, 6, 0.06);  border-color: rgba(217, 119, 6, 0.2);  color: #92400e; }
.alert-error   { background: rgba(220, 38, 38, 0.06);  border-color: rgba(220, 38, 38, 0.2);  color: #991b1b; }
.alert-info    { background: rgba(3, 105, 161, 0.06);  border-color: rgba(3, 105, 161, 0.2);  color: #0c4a6e; }

/* ======================================
   Back To Top
====================================== */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  opacity: 0;
  pointer-events: none;
  z-index: var(--z-base);
  border: none;
}

.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--color-primary-dark); transform: translateY(-3px); }

/* ======================================
   Page Hero (inner pages)
====================================== */
.page-hero {
  padding-top: var(--navbar-height);
  background: linear-gradient(135deg, var(--color-bg) 0%, rgba(20, 184, 166, 0.08) 100%);
  padding-block-end: var(--space-12);
  border-bottom: 1px solid var(--color-border);
}

.page-hero-inner {
  padding-top: var(--space-10);
}

.page-hero-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(15, 118, 110, 0.08);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.page-hero-title {
  font-size: clamp(1.75rem, 4vw, var(--text-4xl));
  margin-bottom: var(--space-3);
}

.page-hero-desc {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-5);
}

.breadcrumb a { color: var(--color-primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb svg { width: 14px; height: 14px; color: var(--color-text-muted); }

/* ======================================
   Utility Classes
====================================== */
.text-primary   { color: var(--color-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-muted     { color: var(--color-text-muted); }
.text-white     { color: white; }
.text-dark      { color: var(--color-text-dark); }

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

.font-heading { font-family: var(--font-heading); }
.font-body    { font-family: var(--font-body); }

.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-left   { text-align: left; }

.fw-medium   { font-weight: var(--weight-medium); }
.fw-semibold { font-weight: var(--weight-semibold); }
.fw-bold     { font-weight: var(--weight-bold); }

.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }

.rounded-full { border-radius: var(--radius-full); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-xl   { border-radius: var(--radius-xl); }

.w-full   { width: 100%; }
.h-full   { height: 100%; }

.overflow-hidden { overflow: hidden; }
.relative        { position: relative; }
.absolute        { position: absolute; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ======================================
   Loading Skeleton
====================================== */
.skeleton {
  background: linear-gradient(90deg, #f0fdfa 25%, #ccfbf1 50%, #f0fdfa 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ======================================
   Scroll Animations
====================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================
   Map toggle view button
====================================== */
.view-toggle {
  display: flex;
  align-items: center;
  background: var(--color-bg-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.view-toggle-btn {
  padding: var(--space-2) var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-base);
  background: transparent;
  border: none;
  font-family: var(--font-body);
}

.view-toggle-btn.active {
  background: var(--color-primary);
  color: white;
}

.view-toggle-btn svg { width: 16px; height: 16px; }

/* ======================================
   Image Upload Area
====================================== */
.upload-area {
  border: 2px dashed var(--color-border-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  background: rgba(15, 118, 110, 0.02);
}

.upload-area:hover,
.upload-area.drag-over {
  border-color: var(--color-primary);
  background: rgba(15, 118, 110, 0.05);
}

.upload-icon {
  width: 56px;
  height: 56px;
  background: rgba(15, 118, 110, 0.08);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}

.upload-icon svg { width: 26px; height: 26px; color: var(--color-primary); }

/* ======================================
   Notification Dot
====================================== */
.notification-dot {
  position: relative;
}

.notification-dot::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  background: var(--color-error);
  border-radius: 50%;
  border: 2px solid white;
}

/* ======================================
   Section Divider
====================================== */
.section-divider {
  height: 1px;
  background: var(--color-border);
  margin-block: var(--space-6);
}

/* ======================================
   Reduced Motion
====================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
