/* ============================================================
   FILE: assets/css/style.css
   LandVista – Master Stylesheet
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  --primary:        #1a73e8;
  --primary-dark:   #1557b0;
  --primary-light:  #e8f0fe;
  --secondary:      #5f6368;
  --success:        #0d904f;
  --success-light:  #e6f4ea;
  --warning:        #f29900;
  --warning-light:  #fef7e0;
  --danger:         #d93025;
  --danger-light:   #fce8e6;
  --info:           #1967d2;
  --dark:           #202124;

  --gray-50:  #f8f9fa;
  --gray-100: #f1f3f4;
  --gray-200: #e8eaed;
  --gray-300: #dadce0;
  --gray-400: #bdc1c6;
  --gray-500: #9aa0a6;
  --gray-600: #80868b;
  --gray-700: #5f6368;
  --gray-800: #3c4043;
  --gray-900: #202124;
  --white:    #ffffff;

  --shadow-sm: 0 1px 2px rgba(60,64,67,.3),0 1px 3px rgba(60,64,67,.15);
  --shadow-md: 0 1px 3px rgba(60,64,67,.3),0 4px 8px rgba(60,64,67,.15);
  --shadow-lg: 0 1px 3px rgba(60,64,67,.3),0 8px 16px rgba(60,64,67,.15);
  --shadow-xl: 0 4px 8px rgba(60,64,67,.3),0 16px 32px rgba(60,64,67,.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --font: 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--gray-50);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; display: block; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-custom {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: .75rem 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-brand-custom {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary) !important;
  letter-spacing: -.5px;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.navbar-brand-custom i { font-size: 1.75rem; color: var(--primary); }

.navbar-brand-custom .brand-text {
  background: linear-gradient(135deg,var(--primary),#4285f4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link-custom {
  font-weight: 500;
  color: var(--gray-700) !important;
  padding: .5rem 1rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--primary) !important;
  background: var(--primary-light);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg,#1a73e8 0%,#0d47a1 50%,#002171 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content:'';
  position:absolute;inset:0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 1.25rem;
}

.hero-title span { color: #ffd700; }

.hero-subtitle {
  font-size: 1.15rem;
  opacity: .88;
  margin-bottom: 2.5rem;
  font-weight: 400;
  max-width: 520px;
  margin-inline: auto;
}

/* ============================================================
   SEARCH BOX
   ============================================================ */
.search-box-hero {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 10;
}

.search-input-group { position: relative; }

.search-input-group .form-control {
  height: 56px;
  border-radius: var(--radius-md);
  border: 2px solid var(--gray-200);
  padding-left: 3rem;
  font-size: 1rem;
  transition: var(--transition);
}

.search-input-group .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26,115,232,.1);
  outline: none;
}

.search-input-group .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-size: 1.15rem;
  z-index: 5;
  pointer-events: none;
}

.form-select-lg-custom {
  height: 56px;
  border-radius: var(--radius-md);
  border: 2px solid var(--gray-200);
  font-size: .975rem;
  transition: var(--transition);
}

.form-select-lg-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26,115,232,.1);
}

.btn-search {
  height: 56px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  padding: 0 2rem;
  background: var(--primary);
  border: none;
  color: #fff;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-search:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

/* ============================================================
   STAT CARDS
   ============================================================ */
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 1.1rem;
  transition: var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  flex-shrink: 0;
}

.stat-icon.blue   { background:var(--primary-light); color:var(--primary); }
.stat-icon.green  { background:var(--success-light);  color:var(--success); }
.stat-icon.orange { background:var(--warning-light);  color:var(--warning); }
.stat-icon.red    { background:var(--danger-light);   color:var(--danger);  }
.stat-icon.purple { background:#f3e8ff; color:#7c3aed; }

.stat-value {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: .2rem;
}

.stat-label {
  font-size: .83rem;
  color: var(--gray-600);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .3px;
}

/* ============================================================
   LAND CARDS
   ============================================================ */
.land-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.land-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.land-card-image {
  position: relative;
  height: 225px;
  overflow: hidden;
  background: var(--gray-100);
  flex-shrink: 0;
}

.land-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.land-card:hover .land-card-image img { transform: scale(1.07); }

.land-card-badges {
  position: absolute;
  top: .75rem;
  left: .75rem;
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.badge-status {
  padding: .3rem .7rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.badge-available { background:var(--success); color:#fff; }
.badge-sold      { background:var(--danger);  color:#fff; }
.badge-reserved  { background:var(--warning); color:#212121; }
.badge-pending   { background:var(--info);    color:#fff; }
.badge-featured  { background:var(--primary); color:#fff; }

.land-card-fav-btn {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray-500);
  transition: var(--transition);
  backdrop-filter: blur(4px);
  line-height: 1;
}

.land-card-fav-btn:hover,
.land-card-fav-btn.active { color: var(--danger); background: #fff; box-shadow: var(--shadow-sm); }

.land-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.land-card-plan {
  font-size: .75rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.land-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.land-card-location {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: var(--gray-600);
  font-size: .875rem;
}

.land-card-location i { color: var(--danger); }

.land-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  padding: .65rem 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  margin: .25rem 0;
}

.land-card-feature {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .83rem;
  color: var(--gray-700);
}

.land-card-feature i { color: var(--primary); font-size: .9rem; }

.land-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: .6rem;
}

.land-card-price { line-height: 1.3; }
.land-card-price-main { font-size: 1.2rem; font-weight: 800; color: var(--primary); }
.land-card-price-sub  { font-size: .75rem; color: var(--gray-500); }

.btn-view-card {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .45rem .9rem;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: .83rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-view-card:hover { background: var(--primary); color: #fff; }

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.5px;
}

.section-subtitle { font-size: .975rem; color: var(--gray-600); }

.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right,var(--primary-light),transparent);
  border-radius: 2px;
}

/* ============================================================
   FILTER PANEL
   ============================================================ */
.filter-panel {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.filter-panel .filter-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.filter-panel .form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .4rem;
}

.filter-panel .form-control,
.filter-panel .form-select {
  font-size: .875rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.filter-panel .form-control:focus,
.filter-panel .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,115,232,.1);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .7rem;
  border-radius: 50px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: .8rem;
  font-weight: 500;
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* ============================================================
   TABLE STYLES
   ============================================================ */
.table-custom {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.table-custom thead th {
  background: var(--gray-50);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gray-600);
  border-bottom: 2px solid var(--gray-200);
  padding: .9rem 1rem;
  white-space: nowrap;
}

.table-custom tbody td {
  padding: .8rem 1rem;
  vertical-align: middle;
  font-size: .875rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
}

.table-custom tbody tr:last-child td { border-bottom: none; }
.table-custom tbody tr:hover { background: var(--gray-50); }

/* ============================================================
   INFO CARDS (Details Page)
   ============================================================ */
.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-bottom: 1.5rem;
}

.info-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.1rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.info-card-title i { color: var(--primary); font-size: 1.1rem; }

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: .55rem 0;
  border-bottom: 1px solid var(--gray-100);
  gap: 1rem;
}

.info-row:last-child { border-bottom: none; }

.info-label {
  font-size: .875rem;
  color: var(--gray-600);
  font-weight: 500;
  flex-shrink: 0;
  min-width: 145px;
}

.info-value {
  font-size: .875rem;
  color: var(--gray-900);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

/* ============================================================
   PRICE HIGHLIGHT BOX
   ============================================================ */
.price-card {
  background: linear-gradient(135deg,var(--primary),#4285f4);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.price-card .price-amount {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -.5px;
  margin-bottom: .25rem;
}

.price-card .price-meta {
  font-size: .9rem;
  opacity: .88;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--gray-100);
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: opacity .2s;
}

.gallery-thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .6rem;
  overflow-x: auto;
  padding-bottom: .4rem;
  scrollbar-width: thin;
}

.gallery-thumb {
  width: 82px;
  height: 62px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2.5px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.gallery-thumb:hover,
.gallery-thumb.active { border-color: var(--primary); opacity: .9; }

.gallery-no-image {
  width: 100%;
  height: 460px;
  background: linear-gradient(135deg,var(--gray-100),var(--gray-200));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  border-radius: var(--radius-md);
}

.gallery-no-image i { font-size: 4rem; margin-bottom: .75rem; }

/* ============================================================
   WHATSAPP BUTTON
   ============================================================ */
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .75rem 1.25rem;
  font-weight: 700;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn-whatsapp:hover { background:#1da851; color:#fff; transform:translateY(-1px); box-shadow:var(--shadow-md); }

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover { background:#1da851; color:#fff; transform:scale(1.1) rotate(-5deg); }

/* ============================================================
   ADMIN LAYOUT
   ============================================================ */
.admin-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 260px;
  height: 100vh;
  background: #1a1f2e;
  z-index: 1040;
  overflow-y: auto;
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}

.admin-sidebar-brand {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: .75rem;
}

.admin-sidebar-brand a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.admin-sidebar-brand a i { color: var(--primary); font-size: 1.5rem; }

.admin-nav-section {
  padding: 0 .75rem;
  margin-bottom: .5rem;
}

.admin-nav-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: rgba(255,255,255,.35);
  padding: .6rem .5rem .3rem;
}

.admin-sidebar .nav-link {
  color: rgba(255,255,255,.65);
  padding: .65rem .85rem;
  font-weight: 500;
  font-size: .9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .15rem;
  border-left: 3px solid transparent;
}

.admin-sidebar .nav-link i { font-size: 1.1rem; width: 22px; text-align: center; flex-shrink: 0; }

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  color: #fff;
  background: rgba(26,115,232,.2);
  border-left-color: var(--primary);
}

.admin-sidebar .nav-link.text-danger { color: rgba(220,53,69,.8) !important; }
.admin-sidebar .nav-link.text-danger:hover { color: #dc3545 !important; background: rgba(220,53,69,.1); border-left-color: #dc3545; }

.admin-main {
  margin-left: 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--gray-50);
}

.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: .85rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: var(--shadow-sm);
  min-height: 64px;
}

.admin-content {
  padding: 1.75rem;
  flex: 1;
}

/* ============================================================
   FORM STYLES
   ============================================================ */
.form-label-custom {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .4rem;
  font-size: .875rem;
  display: block;
}

.form-control-custom,
.form-select-custom {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: .6rem .9rem;
  font-size: .9rem;
  transition: var(--transition);
  width: 100%;
  color: var(--gray-900);
  background: #fff;
}

.form-control-custom:focus,
.form-select-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26,115,232,.1);
  outline: none;
}

.form-control-custom.is-invalid { border-color: var(--danger); }

/* ============================================================
   UPLOAD AREA
   ============================================================ */
.upload-area {
  border: 2.5px dashed var(--gray-300);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  background: var(--gray-50);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.upload-area:hover,
.upload-area.dragover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.upload-area i { font-size: 2.75rem; color: var(--gray-400); display: block; margin-bottom: .6rem; }

.upload-area.dragover i { color: var(--primary); }

.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .9rem;
}

.upload-preview-item {
  position: relative;
  width: 96px;
  height: 76px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--gray-200);
  flex-shrink: 0;
}

.upload-preview-item img { width: 100%; height: 100%; object-fit: cover; }

.upload-preview-item .remove-img {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  border: none;
  font-size: .7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================================
   VIEW TOGGLE
   ============================================================ */
.view-toggle {
  display: flex;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: .2rem;
  gap: .15rem;
}

.view-toggle .btn {
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--gray-600);
  padding: .4rem .8rem;
  font-size: .9rem;
  transition: var(--transition);
  line-height: 1;
}

.view-toggle .btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-custom .page-link {
  border: 1.5px solid var(--gray-200);
  color: var(--gray-700);
  padding: .45rem .8rem;
  font-weight: 600;
  font-size: .875rem;
  border-radius: var(--radius-sm) !important;
  margin: 0 .15rem;
  transition: var(--transition);
}

.pagination-custom .page-link:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.pagination-custom .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pagination-custom .page-item.disabled .page-link { opacity: .45; }

/* ============================================================
   NO RESULTS
   ============================================================ */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-500);
}

.no-results i { font-size: 4rem; margin-bottom: 1rem; color: var(--gray-300); display: block; }
.no-results h4 { color: var(--gray-700); margin-bottom: .5rem; }

/* ============================================================
   MAP CONTAINER
   ============================================================ */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.map-container iframe,
.map-container #map,
.map-container [id$="Map"] {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#1a1f2e 0%,#16213e 50%,#0f3460 100%);
  padding: 2rem;
  position: relative;
}

.login-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0L80 12v2L54 40h-2zm4 0L80 16v2L58 40h-2zm4 0L80 20v2L62 40h-2zm4 0L80 24v2L66 40h-2zm4 0L80 28v2L70 40h-2zm4 0L80 32v2L74 40h-2zm4 0L80 36v2L78 40h-2zm4 0L80 40v0h-2l2-2v2z'/%3E%3C/g%3E%3C/svg%3E");
}

.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}

.login-logo {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 2rem;
  color: var(--primary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1a1f2e;
  color: rgba(255,255,255,.65);
  padding: 3.5rem 0 1.5rem;
  margin-top: 5rem;
}

.site-footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.1rem;
  font-size: 1rem;
}

.site-footer a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
  display: block;
  padding: .2rem 0;
}

.site-footer a:hover { color: #fff; padding-left: 4px; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7) !important;
  font-size: 1.1rem;
  transition: var(--transition);
  padding: 0;
}

.footer-social a:hover { background: var(--primary); color: #fff !important; padding-left: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: .83rem;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-area {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: .85rem 0;
}

.breadcrumb { margin: 0; }
.breadcrumb-item a { color: var(--primary); font-weight: 500; font-size: .875rem; }
.breadcrumb-item.active { font-size: .875rem; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--gray-400); }

/* ============================================================
   ALERTS / TOASTS
   ============================================================ */
.alert-custom {
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 500;
  font-size: .9rem;
}

/* ============================================================
   BADGES / TAGS
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .65rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg,var(--primary) 0%,#4285f4 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content:'';
  position:absolute;inset:0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M20 20.5V18H0v5h5v5H0v5h20v-4.5h5v4.5H25v5h-5v-5H0v-5h5v-5H5V18h15v2.5z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.show { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-topbar { margin-left: 0; }

  .hero-title { font-size: 2.25rem; }
  .gallery-main img { height: 320px; }
  .gallery-no-image { height: 320px; }
}

@media (max-width: 767.98px) {
  .hero-section { padding: 3.5rem 0 3rem; }
  .hero-title { font-size: 1.8rem; letter-spacing: -.5px; }
  .hero-subtitle { font-size: 1rem; }
  .search-box-hero { padding: 1.25rem; }
  .land-card-image { height: 190px; }
  .gallery-main img { height: 240px; }
  .gallery-no-image { height: 240px; }
  .stat-value { font-size: 1.6rem; }
  .price-card .price-amount { font-size: 1.6rem; }
  .section-title { font-size: 1.45rem; }
  .admin-content { padding: 1rem; }
  .info-row { flex-direction: column; gap: .2rem; }
  .info-value { text-align: left; }
  .info-label { min-width: unset; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 1.5rem; }
  .land-card-features { gap: .5rem; }
  .login-card { padding: 1.75rem; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.cursor-pointer { cursor: pointer; }
.text-primary-custom { color: var(--primary) !important; }
.fw-900 { font-weight: 900 !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.transition { transition: var(--transition); }

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .navbar-custom, .site-footer, .whatsapp-float,
  .no-print, .filter-panel, .view-toggle,
  .btn-whatsapp, .admin-sidebar, .admin-topbar { display: none !important; }

  .land-card, .info-card { box-shadow: none !important; border: 1px solid #ddd !important; }
  .admin-main { margin-left: 0 !important; }
  body { background: #fff; }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-500); }