/* ============================================================
   PLOTAGO - Premium Real Estate Platform Design System
   Brand: Navy Blue (#1e3270) + Gold (#f0a500) + Dark (#111111)
   Font: DM Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

:root {
  --brand-primary: #1e3270;
  --brand-primary-light: #2a4a9e;
  --brand-primary-dark: #142352;
  --brand-gold: #f0a500;
  --brand-gold-light: #ffc233;
  --brand-gold-dark: #d49400;
  --brand-dark: #111111;
  --brand-white: #ffffff;
  --brand-gray: #9ca3af;
  --brand-light-bg: #f5f6fa;
  --brand-border: #e2e6f0;
  --cream: #f5f6fa;
  --gray-50: #f8f9fc;
  --gray-100: #f0f2f7;
  --gray-200: #e2e6f0;
  --gray-300: #c5ccd8;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #2d333f;
  --gray-800: #1a1f2b;
  --shadow-xs: 0 1px 2px rgba(30, 50, 112, .04);
  --shadow-sm: 0 2px 8px rgba(30, 50, 112, .06);
  --shadow-md: 0 8px 24px rgba(30, 50, 112, .08);
  --shadow-lg: 0 16px 48px rgba(30, 50, 112, .1);
  --shadow-xl: 0 24px 64px rgba(30, 50, 112, .14);
  --shadow-glow: 0 0 0 1px rgba(240, 165, 0, .15), 0 8px 32px rgba(240, 165, 0, .1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --transition: all .35s cubic-bezier(.22, 1, .36, 1);
  --transition-slow: all .5s cubic-bezier(.22, 1, .36, 1);
  --font-display: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--gray-600);
  background: var(--brand-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--brand-primary);
  letter-spacing: -0.02em;
}

a {
  color: var(--brand-primary);
  transition: var(--transition);
}

a:hover {
  color: var(--brand-gold);
  text-decoration: none;
}

::selection {
  background: var(--brand-gold);
  color: var(--brand-white);
}

/* Section headers */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 165, 0, .12);
  color: var(--brand-gold);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gold);
}

.section-tag.blue {
  background: rgba(30, 50, 112, .1);
  color: var(--brand-primary);
}

.section-tag.blue::before {
  background: var(--brand-primary);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.2;
}

.section-title.gold {
  color: var(--brand-gold);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 580px;
  margin: 0 auto;
}

/* ========== GLASS + SHADOWS ========== */
.glass {
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .3);
}

.glass-dark {
  background: rgba(15, 26, 20, .85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .08);
}

/* ========== BUTTONS ========== */
.btn-accent {
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-light) 100%);
  color: var(--brand-white);
  border: none;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-accent:hover {
  background: #031834;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(240, 165, 0, .35);
  color: var(--brand-white);
}

.btn-primary-brand {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
  color: var(--brand-white);
  border: none;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-primary-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 50, 112, .35);
  color: var(--brand-white);
}

.btn-accent:active {
  transform: translateY(0);
}

.btn-dark {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
  color: var(--brand-white);
  border: none;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 50, 112, .35);
  color: var(--brand-white);
}

.btn-outline-accent {
  background: transparent;
  color: var(--brand-gold);
  border: 2px solid var(--brand-gold);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-outline-accent:hover {
  background: var(--brand-gold);
  color: var(--brand-white);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--brand-primary);
  color: var(--brand-white);
  transform: translateY(-2px);
}

.btn-white-outline {
  background: transparent;
  color: var(--brand-white);
  border: 2px solid rgba(255, 255, 255, .3);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-white-outline:hover {
  background: var(--brand-white);
  color: var(--brand-primary);
  transform: translateY(-2px);
}

/* ========== NAVBAR ========== */
.navbar-premium {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar-premium.scrolled {
  box-shadow: 0 4px 40px rgba(30, 50, 112, .08);
  border-bottom-color: rgba(240, 165, 0, .15);
}

.navbar-premium .navbar-brand img {
  height: 42px;
  transition: var(--transition);
}

.navbar-premium .nav-link {
  color: var(--gray-700) !important;
  font-weight: 500;
  font-size: .88rem;
  padding: 12px 10px !important;
  position: relative;
  transition: var(--transition);
  letter-spacing: 0.2px;
}

.navbar-premium .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 18px;
  right: 18px;
  height: 2.5px;
  background: var(--brand-gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .3s ease;
}

.navbar-premium .nav-link:hover::after,
.navbar-premium .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-premium .nav-link:hover {
  color: var(--brand-gold) !important;
}

.navbar-premium .nav-link.active {
  color: var(--brand-gold) !important;
}

.btn-website-nav {
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-dark));
  border: none;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 18px;
  border-radius: 50px;
  transition: all .25s ease;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.btn-website-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(240, 165, 0, .35);
  color: var(--brand-primary);
}

.btn-website-nav:active {
  transform: translateY(0);
}

/* ========== HERO ========== */
.hero-premium {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #1e3270 0%, #2a4a9e 40%, #1e3270 100%);
}

.hero-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(240, 165, 0, .08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(255, 255, 255, .03) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 80%, rgba(240, 165, 0, .05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-premium::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--brand-white));
  pointer-events: none;
  z-index: 2;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-premium .hero-content {
  position: relative;
  z-index: 3;
}

.hero-premium h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand-white);
}

.hero-premium h1 .accent-text {
  background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold), var(--brand-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-premium .hero-sub {
  color: rgba(255, 255, 255, .65);
  font-size: 1.1rem;
  max-width: 520px;
  line-height: 1.7;
}

/* ========== HERO COSMIC (REDESIGNED) ========== */
.hero-cosmic {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* overflow: hidden; */
  background: linear-gradient(170deg, #1e3270 0%, #111111 50%, #1e3270 100%);
  padding: 120px 0 60px;
}

.hero-cosmic-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(30 50 112 / 2%), rgba(17, 17, 17, .92)), url(https://images.unsplash.com/photo-1564013799919-ab600027ffc6?w=1920&q=85) center / cover no-repeat;
  pointer-events: none;
}

.hero-cosmic::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(transparent, var(--brand-white));
  pointer-events: none;
  z-index: 1;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 17, 17, .9);
  border: 1px solid var(--brand-gold);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand-gold);
  margin: 0 auto 32px;
  width: fit-content;
  box-shadow: 0 0 20px rgba(240, 165, 0, .1);
}

.hero-trust-badge i {
  font-size: .9rem;
}

.hero-cosmic-headline {
  text-align: center;
  margin-bottom: 20px;
}

.hero-cosmic-headline h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--brand-white);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-cosmic-headline h1 .mint {
  color: var(--brand-gold);
}

.hero-cosmic-sub {
  text-align: center;
  color: #aaaaaa;
  font-size: clamp(.95rem, 1.3vw, 1.1rem);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 36px;
}

/* Search card */
.hero-search-card {
  max-width: 920px;
  margin: 0 auto;
  background: rgba(15, 26, 20, .95);
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-xl);
  padding: 28px 32px 32px;
}

.search-category-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cat-tab {
  padding: 8px 18px;
  border: none;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
}

.cat-tab:hover {
  color: var(--brand-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cat-tab.active {
  background: var(--brand-gold);
  color: var(--brand-white);
}

.search-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.search-field label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.field-with-icon {
  position: relative;
}

.field-with-icon i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-gold);
  font-size: 1rem;
  z-index: 1;
  pointer-events: none;
}

.field-with-icon .form-control,
.field-with-icon select {
  width: 100%;
  padding: 12px 12px 12px 40px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-sm);
  color: var(--brand-white);
  font-size: 1rem;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.field-with-icon .form-control:focus,
.field-with-icon select:focus {
  outline: none;
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(240, 165, 0, .1);
}

.field-with-icon .form-control::placeholder {
  color: #ffffff;
}

.field-with-icon select option {
  background: var(--brand-dark) !important;
  color: var(--brand-white);
}

.budget-range-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.budget-range {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .1);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.budget-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-gold);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(240, 165, 0, .3);
}

.budget-value {
  font-weight: 700;
  font-size: .95rem;
  color: var(--brand-gold);
  white-space: nowrap;
  min-width: 70px;
  text-align: right;
}

.btn-search-listings {
  background: var(--brand-gold);
  color: var(--brand-white);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .88rem;
  display: flex;
  align-items: center;
  transition: var(--transition);
  white-space: nowrap;
  height: 47px;
}

.btn-search-listings:hover {
  background: var(--brand-gold-light);
  color: var(--brand-white);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(240, 165, 0, .35);
}

/* Stats row */
.hero-stats-cosmic {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats-cosmic .stat-item {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}

.hero-stats-cosmic .stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--brand-gold);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stats-cosmic .stat-label {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hero-stats-cosmic .stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, .08);
}

/* Responsive */
@media (max-width: 991px) {
  .search-input-row {
    grid-template-columns: 1fr 1fr;
  }

  .search-input-row .search-field:last-of-type {
    grid-column: span 2;
  }

  .btn-search-listings {
    grid-column: span 2;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .hero-cosmic {
    min-height: auto;
    padding: 100px 0 50px;
  }

  .hero-cosmic-headline h1 {
    font-size: 2.2rem;
  }

  .hero-search-card {
    padding: 20px 16px;
  }

  .search-input-row {
    grid-template-columns: 1fr;
  }

  .search-input-row .search-field:last-of-type {
    grid-column: span 1;
  }

  .btn-search-listings {
    grid-column: span 1;
    justify-content: center;
  }

  .hero-stats-cosmic {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-stats-cosmic .stat-item {
    flex: 1 1 45%;
  }

  .hero-stats-cosmic .stat-divider {
    display: none;
  }
}

/* Hero search bar */
.hero-search-wrapper {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.hero-search {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hero-search .search-group {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  min-width: 140px;
}

.hero-search .search-group .icon {
  position: absolute;
  left: 14px;
  color: var(--gray-400);
  font-size: 1rem;
  pointer-events: none;
  z-index: 1;
}

.hero-search .search-group select,
.hero-search .search-group input {
  width: 100%;
  padding: 12px 12px 12px 38px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--gray-700);
  background: var(--gray-50);
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.hero-search .search-group select:focus,
.hero-search .search-group input:focus {
  outline: none;
  border-color: var(--brand-gold);
  background: var(--brand-white);
  box-shadow: 0 0 0 4px rgba(240, 165, 0, .1);
}

.hero-search .search-divider {
  width: 1px;
  height: 28px;
  background: var(--gray-200);
  flex-shrink: 0;
}

.hero-search .btn-search {
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-light) 100%);
  color: var(--brand-white);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.hero-search .btn-search:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(240, 165, 0, .4);
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 48px;
  position: relative;
  z-index: 3;
}

.hero-stat h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-gold);
  margin: 0;
  line-height: 1;
}

.hero-stat p {
  color: rgba(255, 255, 255, .55);
  font-size: .8rem;
  margin: 4px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, .1);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .3);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: bounce-y 2s infinite;
}

select option {
  color: black;
}

@keyframes bounce-y {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ========== FEATURED PROPERTIES ========== */
/* ============================================
   PROPERTY CARD - DESKTOP (≥481px)
   ============================================ */
.property-card-premium {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  transition: transform .4s ease, box-shadow .4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.property-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
}

/* Desktop layout wrapper */
.pc-desktop {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Image */
.pc-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  flex-shrink: 0;
}

.pc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.property-card-premium:hover .pc-image img {
  transform: scale(1.06);
}

.pc-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(30, 50, 112, .5));
  pointer-events: none;
  z-index: 1;
}

/* Badge on image */
.pc-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand-gold);
  color: #fff;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  z-index: 3;
}

/* Favorite button */
.pc-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: .9rem;
  cursor: pointer;
  transition: all .3s ease;
  z-index: 3;
}

.pc-fav:hover,
.pc-fav.active {
  background: var(--brand-gold);
  color: #fff;
  transform: scale(1.1);
}

/* Tags on image (New Launch, Verified) */
.pc-tags {
  position: absolute;
  bottom: 10px;
  left: 12px;
  display: flex;
  gap: 5px;
  z-index: 3;
}

.pc-tag {
  font-size: .6rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.pc-tag-new {
  background: #ede9fe;
  color: #5b21b6;
}

.pc-tag-verified {
  background: #d1fae5;
  color: #065f46;
}

/* Body */
.pc-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pc-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.pc-title {
  font-size: .92rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pc-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--gray-500);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-location i {
  color: var(--brand-gold);
  font-size: .8rem;
  flex-shrink: 0;
}

/* Specs row */
.pc-specs {
  display: flex;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.pc-spec {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  color: var(--gray-500);
}

.pc-spec i {
  color: var(--brand-primary);
  font-size: .8rem;
}

/* Footer with link + inquiry */
.pc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.pc-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
  transition: color .3s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pc-link:hover {
  color: var(--brand-gold);
}

.pc-inquiry {
  padding: 7px 16px;
  border-radius: 8px;
  border: none;
  background: var(--brand-primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background .3s;
  text-decoration: none;
}

.pc-inquiry:hover {
  background: var(--brand-primary-light);
}

/* ============================================
   PROPERTY CARD - MOBILE BASE STYLES
   (shared across all breakpoints for mobile
    elements inside .pc-mobile)
   ============================================ */
.property-card-premium .card-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: .9rem;
  cursor: pointer;
  transition: all .3s ease;
  z-index: 2;
}

.property-card-premium .card-fav:hover,
.property-card-premium .card-fav.active {
  background: var(--brand-gold);
  color: #fff;
  transform: scale(1.1);
}

.property-card-premium .card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand-gold);
  color: #fff;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  z-index: 2;
}

.property-card-premium .card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.property-card-premium .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.property-card-premium .card-image .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(30, 50, 112, .6));
  pointer-events: none;
}

.property-card-premium .card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-card-premium .card-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 4px;
}

.property-card-premium .card-title {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.property-card-premium .card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.property-card-premium .card-location i {
  color: var(--brand-gold);
  font-size: .8rem;
}

/* ===== MOBILE PROPERTY CARD - VERTICAL FULL-WIDTH (≤768px) ===== */
@media (max-width: 768px) {
  .property-card-premium {
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .08);
    border: none;
    height: auto;
    display: flex;
    flex-direction: column;
    transform: none !important;
    margin-bottom: 16px;
    overflow: hidden;
  }

  .property-card-premium:hover {
    transform: none !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .08) !important;
  }

  .property-card-premium:hover .card-image img {
    transform: none !important;
  }

  .property-card-premium .card-tags {
    display: none;
  }

  .property-card-premium .card-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* ─── Image Section ─── */
  .property-card-premium .card-image {
    width: 100%;
    min-width: unset;
    height: 270px;
    border-radius: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
  }

  .property-card-premium .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
  }

  /* Category badge top-left */
  .property-card-premium .card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: .6rem;
    padding: 3px 10px;
    border-radius: 6px;
    background: var(--brand-gold);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 3;
    line-height: 1.4;
    letter-spacing: .3px;
  }

  /* Favorite heart - dark transparent bg */
  .property-card-premium .card-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .85rem;
    cursor: pointer;
    transition: all .25s ease;
    z-index: 3;
    -webkit-tap-highlight-color: transparent;
  }

  .property-card-premium .card-fav:hover,
  .property-card-premium .card-fav.active {
    background: #ef4444;
    color: #fff;
    transform: scale(1.08);
  }

  .property-card-premium .card-fav.active i {
    font-weight: 900;
  }

  /* Share button below heart */
  .card-share-btn {
    position: absolute;
    top: 52px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .8rem;
    cursor: pointer;
    transition: all .25s ease;
    z-index: 3;
    -webkit-tap-highlight-color: transparent;
  }

  .card-share-btn:active {
    transform: scale(.92);
  }

  /* Image count badge bottom-right */
  .card-img-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: .65rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 3;
    line-height: 1.3;
  }

  .card-img-count i {
    font-size: .6rem;
  }

  /* Dark gradient overlay at bottom of image for readability */
  .property-card-premium .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .25));
    pointer-events: none;
    z-index: 1;
  }

  /* ─── Content Section ─── */
  .property-card-premium .card-body {
    padding: 14px 14px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
  }

  .property-card-premium .card-title {
    font-size: .9rem;
    color: #222;
    font-weight: 700;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    word-break: break-word;
  }

  /* Type + Location row */
  .card-type-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .72rem;
    color: #888;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-type-location i {
    font-size: .7rem;
    color: var(--brand-gold);
    flex-shrink: 0;
  }

  .card-type-location .sep {
    color: #ddd;
    margin: 0 2px;
  }

  /* Price row */
  .card-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 6px;
  }

  .property-card-premium .card-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1.3;
    margin-bottom: 0;
  }

  .card-price-sqft {
    font-size: .65rem;
    color: #999;
    font-weight: 500;
    margin-left: 6px;
  }

  .card-size-label {
    font-size: .8rem;
    font-weight: 700;
    color: #444;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .card-size-label .divider {
    width: 1px;
    height: 14px;
    background: #ddd;
    margin-right: 6px;
  }

  /* Status row */
  .card-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .65rem;
    font-weight: 600;
    color: #065f46;
    background: #d1fae5;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 0;
    width: fit-content;
  }

  .card-status i {
    font-size: .6rem;
  }

  /* ─── Bottom Section ─── */
  .property-card-premium .card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f0f0f0;
    padding: 10px 14px;
    gap: 6px;
    background: #fff;
  }

  .card-owner-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
  }

  .card-owner-name {
    font-size: .72rem;
    font-weight: 600;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-posted-time {
    font-size: .6rem;
    color: #aaa;
  }

  .card-action-btns {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }

  .card-action-btns .action-btn {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: .65rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: opacity .2s;
    min-height: 34px;
    text-decoration: none;
    line-height: 1.2;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
  }

  .card-action-btns .action-btn:active {
    opacity: .7;
    transform: scale(.96);
  }

  .card-action-btns .btn-view-number {
    background: transparent;
    color: var(--brand-primary);
    border: 1.5px solid var(--brand-primary);
  }

  .card-action-btns .btn-whatsapp {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 1rem;
  }

  .card-action-btns .btn-call {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    background: #3b82f6;
    color: #fff;
    font-size: 1rem;
  }

  .property-card-premium .card-chips {
    display: none;
  }

  .property-card-premium .card-posted {
    display: none;
  }

  .property-card-premium .card-location {
    display: none;
  }
}

@media (min-width: 769px) {
  .pc-mobile {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .pc-desktop {
    display: none !important;
  }
}

.emi-estimate {
  font-size: .78rem;
  color: var(--gray-400);
  margin-top: 4px;
}

/* ========== FILTER SIDEBAR ========== */
.filter-sidebar {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.filter-sidebar h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-sidebar h5 i {
  color: var(--brand-gold);
}

.filter-sidebar .form-label {
  font-weight: 600;
  font-size: .78rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.filter-sidebar .form-control,
.filter-sidebar .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  padding: 9px 12px;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--gray-50);
}

.filter-sidebar .form-control:focus,
.filter-sidebar .form-select:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(240, 165, 0, .12);
  background: var(--brand-white);
}

/* Property type tabs */
.prop-type-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.prop-type-tab {
  flex: 1;
  padding: 8px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--brand-white);
  color: var(--gray-600);
  font-weight: 600;
  font-size: .8rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.prop-type-tab:hover,
.prop-type-tab.active {
  border-color: var(--brand-gold);
  background: rgba(240, 165, 0, .08);
  color: var(--brand-gold);
}

/* Price/Area range sliders */
.range-output {
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.form-range::-webkit-slider-thumb {
  background: var(--brand-gold);
}

.form-range::-moz-range-thumb {
  background: var(--brand-gold);
}

/* Amenities checklist */
.amenity-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--gray-600);
  cursor: pointer;
}

/* ========== LOAN CARDS ========== */
.loan-card {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.loan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-gold);
}

.loan-card .loan-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  background: rgba(240, 165, 0, .12);
  color: var(--brand-gold);
}

.loan-card h5 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.loan-card p {
  font-size: .88rem;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
}

.loan-card .loan-meta {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--gray-100);
  margin-top: 12px;
}

.loan-card .loan-meta-item small {
  display: block;
  font-size: .7rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .3px;
}

.loan-card .loan-meta-item span {
  font-weight: 700;
  color: var(--brand-primary);
  font-size: .9rem;
}

/* ========== LEGAL BANNER ========== */
.legal-banner {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.legal-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(240, 165, 0, .1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(240, 165, 0, .05) 0%, transparent 50%);
}

.legal-banner .shield-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(240, 165, 0, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--brand-gold);
  margin-bottom: 16px;
}

/* ========== DARK SECTIONS ========== */
.section-dark {
  background: var(--brand-dark);
  position: relative;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--brand-white);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, .5);
}

/* ========== MORTGAGE CALCULATOR ========== */
.calc-dark {
  background: var(--brand-dark);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.calc-dark .calc-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, .06);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 32px;
}

.calc-dark .calc-tab {
  flex: 1;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, .5);
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition);
}

.calc-dark .calc-tab.active {
  background: var(--brand-gold);
  color: var(--brand-white);
}

.calc-dark label {
  color: rgba(255, 255, 255, .7);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.calc-dark .form-range {
  width: 100%;
}

.calc-dark .calc-value {
  color: var(--brand-gold);
  font-weight: 700;
  font-size: .9rem;
}

.calc-dark .calc-result-box {
  background: rgba(240, 165, 0, .08);
  border: 1px solid rgba(240, 165, 0, .15);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.calc-dark .calc-result-box .big-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-gold);
}

.calc-dark .calc-result-box .label {
  color: rgba(255, 255, 255, .5);
  font-size: .85rem;
}

/* ========== SANCTION PORTAL ========== */
.sanction-portal {
  background: var(--brand-dark);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.sanction-portal .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sanction-portal .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.sanction-portal .feature-list li:last-child {
  border-bottom: none;
}

.sanction-portal .feature-list .feat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(240, 165, 0, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--brand-gold);
  flex-shrink: 0;
}

.sanction-portal .feature-list h6 {
  color: var(--brand-white);
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 4px;
}

.sanction-portal .feature-list p {
  color: rgba(255, 255, 255, .5);
  font-size: .85rem;
  margin: 0;
}

.sanction-portal .form-control {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--brand-white);
  font-size: .9rem;
}

.sanction-portal .form-control:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(240, 165, 0, .1);
  background: rgba(255, 255, 255, .08);
}

.sanction-portal .form-control::placeholder {
  color: rgba(255, 255, 255, .3);
}

/* ========== FAQ ========== */
.faq-accordion .accordion-item {
  border: none;
  margin-bottom: 8px;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  background: var(--brand-white);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-100);
}

.faq-accordion .accordion-button {
  padding: 18px 24px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--brand-primary);
  background: var(--brand-white);
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(240, 165, 0, .04);
  color: var(--brand-gold);
}

.faq-accordion .accordion-button::after {
  background-size: 16px;
}

.faq-accordion .accordion-body {
  padding: 0 24px 20px;
  color: var(--gray-500);
  font-size: .9rem;
  line-height: 1.7;
}

/* ========== FOOTER ========== */
.footer-premium {
  background: var(--brand-primary);
  position: relative;
  overflow: hidden;
}

.footer-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-gold-light), var(--brand-gold), var(--brand-gold-light));
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.footer-premium h5 {
  font-family: var(--font-body);
  color: var(--brand-white);
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.footer-premium a {
  color: rgba(255, 255, 255, .55);
  font-size: .9rem;
  transition: var(--transition);
}

.footer-premium a:hover {
  color: var(--brand-gold);
  padding-left: 4px;
}

.footer-premium .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .7);
  transition: var(--transition);
  font-size: 1.1rem;
}

.footer-premium .social-link:hover {
  background: var(--brand-gold);
  color: var(--brand-white);
  transform: translateY(-3px);
  padding-left: 0;
}

.footer-premium .newsletter-input {
  display: flex;
  gap: 0;
}

.footer-premium .newsletter-input input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: .88rem;
  background: rgba(255, 255, 255, .08);
  color: var(--brand-white);
}

.footer-premium .newsletter-input input::placeholder {
  color: rgba(255, 255, 255, .3);
}

.footer-premium .newsletter-input button {
  padding: 12px 20px;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--brand-gold);
  color: var(--brand-white);
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: var(--transition);
}

.footer-premium .newsletter-input button:hover {
  background: var(--brand-gold-light);
}

/* ========== FLOATING CONTACT ========== */
.floating-contact {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

.floating-contact a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-white);
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
  transition: var(--transition);
}

.floating-contact a:hover {
  transform: scale(1.1);
  padding-left: 0;
}

.floating-contact .whatsapp-btn {
  background: #25d366;
}

.floating-contact .call-btn {
  background: var(--brand-primary);
}

/* ========== PAGINATION ========== */
.pagination-premium {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
  padding: 6px;
  list-style: none;
  margin: 0;
}

.pagination-premium .page-item {
  flex-shrink: 0;
}

.pagination-premium .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: none;
  border-radius: 11px;
  color: var(--gray-600);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  background: var(--brand-white);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--gray-200);
}

.pagination-premium .page-link:hover {
  background: var(--brand-primary);
  color: var(--brand-white);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pagination-premium .page-item.active .page-link {
  background: var(--brand-primary);
  color: var(--brand-white);
  border-color: var(--brand-primary);
  box-shadow: 0 4px 16px rgba(30, 50, 112, .3);
  transform: translateY(-1px);
}

.pagination-premium .page-item.disabled .page-link {
  background: var(--gray-50);
  color: var(--gray-300);
  border-color: var(--gray-100);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.pagination-premium .page-link i {
  font-size: 13px;
  line-height: 1;
}

@media (max-width: 575.98px) {
  .pagination-premium {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 4px 0;
    max-width: 100%;
  }

  .pagination-premium .page-link {
    min-width: 36px;
    height: 36px;
    padding: 0 9px;
    font-size: 13px;
    border-radius: 10px;
  }
}

@media (max-width: 360px) {
  .pagination-premium {
    gap: 3px;
  }

  .pagination-premium .page-link {
    min-width: 32px;
    height: 34px;
    padding: 0 7px;
    font-size: 12px;
  }
}

/* ========== TESTIMONIALS ========== */
.testimonial-premium {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-premium .quote-icon {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2rem;
  color: rgba(240, 165, 0, .12);
  line-height: 1;
}

.testimonial-premium .testimonial-stars {
  font-size: .85rem;
  letter-spacing: 2px;
  color: var(--brand-gold) !important;
}

.testimonial-premium p {
  font-size: .88rem;
  color: var(--gray-500);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-premium .author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.testimonial-premium .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-dark));
  color: var(--brand-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}

.testimonial-premium .author-info h6 {
  font-size: .85rem;
  font-weight: 700;
  margin: 0;
  color: var(--brand-primary);
}

.testimonial-premium .author-info small {
  font-size: .75rem;
  color: var(--gray-400);
}

/* ========== BLOG CARDS ========== */
.blog-card {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card .blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-card .blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.06);
}

.blog-card .blog-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gray-300);
}

.blog-card .blog-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card .blog-date {
  font-size: .75rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.blog-card .blog-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 8px;
  line-height: 1.4;
  transition: var(--transition);
}

.blog-card:hover .blog-title {
  color: var(--brand-gold);
}

.blog-card .blog-excerpt {
  font-size: .82rem;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.blog-card .blog-author {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-600);
}

.blog-card .blog-author .author-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-gold);
  color: var(--brand-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .7rem;
  flex-shrink: 0;
}

/* ========== PRICING CARDS ========== */
.pricing-card {
  background: var(--brand-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.pricing-popular {
  border: 2px solid var(--brand-gold);
  box-shadow: var(--shadow-glow);
}

.pricing-card.pricing-popular:hover {
  box-shadow: 0 24px 64px rgba(240, 165, 0, .18);
}

.pricing-badge {
  background: var(--brand-gold);
  color: var(--brand-white);
  text-align: center;
  padding: 8px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-header {
  padding: 28px 24px 20px;
  text-align: center;
}

.pricing-price {
  margin: 12px 0 4px;
}

.pricing-price .price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-primary);
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--gray-400);
  font-weight: 500;
}

.pricing-features {
  padding: 0 24px 20px;
  flex: 1;
}

.pricing-features .feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 1rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-50);
}

.pricing-features .feature-item:last-child {
  border-bottom: none;
}

.pricing-features .feature-item i {
  font-size: .9rem;
  flex-shrink: 0;
}

.pricing-footer {
  padding: 0 24px 28px;
}

.pricing-footer .btn {
  border-radius: var(--radius-sm);
  padding: 12px;
  font-weight: 700;
  font-size: .9rem;
}

/* ========== DETAIL HERO ========== */
.detail-hero {
  position: relative;
  height: 460px;
  overflow: hidden;
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%, rgba(30, 50, 112, .85));
}

.detail-breadcrumb {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 0 1.5rem;
  color: rgba(255, 255, 255, .5);
  font-size: .8rem;
}

.detail-breadcrumb a {
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
}

.detail-breadcrumb a:hover {
  color: var(--brand-gold);
}

/* ========== AGENT CARD ========== */
.agent-card {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.agent-card .agent-header {
  padding: 24px;
  text-align: center;
}

.agent-card .agent-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(240, 165, 0, .15);
  border: 2px solid var(--brand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-white);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 12px;
}

.agent-card .agent-body {
  padding: 0 24px 24px;
}

/* ========== MORTGAGE CALC (SIDEBAR) ========== */
.mortgage-calc {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--brand-white);
}

.mortgage-calc h5 {
  color: var(--brand-white);
}

.mortgage-calc label {
  font-size: .8rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 4px;
}

.mortgage-calc .form-control,
.mortgage-calc .input-group-text,
.mortgage-calc .form-select {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--brand-white);
  border-radius: var(--radius-sm);
}

.mortgage-calc .form-control:focus,
.mortgage-calc .form-select:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(240, 165, 0, .1);
}

.mortgage-calc .input-group-text {
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.mortgage-calc .range-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .1);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.mortgage-calc .range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-gold);
  cursor: pointer;
}

.mortgage-calc .calc-result {
  background: rgba(240, 165, 0, .1);
  border: 1px solid rgba(240, 165, 0, .15);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.mortgage-calc .calc-result .amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-gold);
}

/* ========== LIST VIEW ========== */
.property-list-item {
  display: flex;
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.property-list-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.property-list-item .list-image {
  width: 260px;
  min-height: 200px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.property-list-item .list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-list-item .list-body {
  padding: 20px;
  flex: 1;
}

/* ========== VIEW TOGGLE ========== */
.view-toggle {
  display: flex;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.view-toggle .btn {
  border: none;
  padding: 6px 12px;
  color: var(--gray-500);
  font-size: .9rem;
  border-radius: 0;
}

.view-toggle .btn.active {
  background: var(--brand-gold);
  color: var(--brand-white);
}

/* ========== LOADING SKELETON ========== */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skeleton-card {
  height: 340px;
  border-radius: var(--radius-lg);
}

.skeleton-text {
  height: 14px;
  margin-bottom: 8px;
  width: 80%;
}

.skeleton-text.short {
  width: 50%;
}

.skeleton-image {
  height: 200px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.skeleton-price {
  height: 24px;
  width: 120px;
  margin-bottom: 8px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1199px) {
  .hero-search {
    padding: 12px;
  }

  .hero-search .search-group {
    flex: 1 1 calc(50% - 6px);
  }

  .hero-search .search-divider {
    display: none;
  }

  .hero-search .btn-search {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1199.98px) {
  .navbar-premium .navbar-collapse {
    background: var(--brand-white);
    padding: 16px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    /* margin-top: 8px; */
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid var(--brand-border);
    position: absolute;
    top: 100%;
    width: 95%;
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar-premium .navbar-nav {
    gap: 0;
  }

  .navbar-premium .nav-link {
    padding: 10px 16px !important;
    border-radius: var(--radius-sm);
  }

  .navbar-premium .nav-link::after {
    display: none;
  }

  .navbar-premium .nav-link:hover,
  .navbar-premium .nav-link.active {
    background: rgba(240, 165, 0, .08);
  }

  .hero-premium {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero-premium {
    padding: 80px 0 50px;
  }

  .hero-stat {
    flex: 1;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-search .search-group {
    flex: 1 1 100%;
  }

  .floating-contact {
    left: 86%;
    bottom: 90px;
  }

  .floating-contact a {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .legal-banner {
    padding: 32px 24px;
  }

  .calc-dark {
    padding: 24px;
  }

  .sanction-portal {
    padding: 24px;
  }
}

@media (max-width: 575px) {
  .navbar-premium .navbar-brand img {
    height: 34px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-premium h1 {
    font-size: 1.8rem;
  }

  .hero-search {
    border-radius: var(--radius-md);
  }

  .filter-sidebar {
    padding: 20px;
  }
}

/* ========== LOAN CALCULATOR ENHANCEMENTS ========== */

/* Animated floating elements */
@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.15;
  }

  90% {
    opacity: 0.15;
  }

  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

.loan-float-icon {
  position: absolute;
  font-size: 1.4rem;
  color: rgba(240, 165, 0, .15);
  animation: floatUp 20s linear infinite;
  pointer-events: none;
}

/* ============================================
   LOAN CALCULATOR SECTION
   ============================================ */
.lc-section {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0;
  background: url('../landing-assets/loanimg.png') center / cover no-repeat;
}

.lc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 17, 33, .94), rgba(22, 32, 68, .92), rgba(15, 26, 58, .96));
  pointer-events: none;
}

.lc-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .2;
}

.lc-glow::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 165, 0, .2), transparent 70%);
}

.lc-tag {
  display: inline-block;
  background: rgba(240, 165, 0, .15);
  color: #f0a500;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.lc-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.lc-subtitle {
  font-size: .9rem;
  color: rgba(255, 255, 255, .5);
  max-width: 480px;
  margin: 0 auto;
}

.lc-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 1rem;
  padding: 1rem;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s cubic-bezier(.22, 1, .36, 1);
}

@media (min-width: 1200px) {
  .lc-card {
    padding: 1.5rem;
  }
}

.lc-card:hover {
  transform: translateY(-6px);
}

.lc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(240, 165, 0, .12);
  color: #f0a500;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
}

.lc-label {
  color: rgba(255, 255, 255, .75);
  font-size: .8rem;
  font-weight: 500;
  margin: 0;
}

.lc-icon {
  color: #f0a500;
}

.lc-value {
  color: #f0a500;
  font-weight: 700;
  font-size: 1rem;
  background: rgba(240, 165, 0, .12);
  padding: 3px 12px;
  border-radius: 5px;
  transition: all .4s cubic-bezier(.22, 1, .36, 1);
}

/* Range Slider */
.lc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  outline: none;
  transition: background .2s;
}

.lc-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .12);
}

.lc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0a500, #d49400);
  cursor: pointer;
  margin-top: -7px;
  box-shadow: 0 2px 8px rgba(240, 165, 0, .4);
  transition: transform .2s, box-shadow .2s;
}

.lc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(240, 165, 0, .5);
}

.lc-range::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .12);
  border: none;
}

.lc-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0a500, #d49400);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(240, 165, 0, .4);
}

/* Preset Chips */
.lc-preset {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .06);
  cursor: pointer;
  transition: all .3s cubic-bezier(.22, 1, .36, 1);
}

.lc-preset:hover,
.lc-preset.active {
  background: rgba(240, 165, 0, .15);
  color: #f0a500;
  border-color: rgba(240, 165, 0, .3);
}

/* Donut Chart */
.lc-donut {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .lc-donut {
    width: 80px;
    height: 80px;
  }
}

.lc-donut-inner {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: rgba(11, 17, 33, .95);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lc-donut-label {
  font-size: .6rem;
  color: rgba(255, 255, 255, .4);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.lc-donut-value {
  color: #f0a500;
  font-weight: 700;
  font-size: .8rem;
}

.lc-meta {
  font-size: .65rem;
  color: rgba(255, 255, 255, .4);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.lc-result {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: #f0a500;
  line-height: 1.2;
  transition: all .4s cubic-bezier(.22, 1, .36, 1);
}

/* Progress Bar */
.lc-progress {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
}

.lc-progress-bar {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #f0a500, #ffc233);
  transition: width .5s cubic-bezier(.22, 1, .36, 1);
}

.lc-principal {
  color: #fff;
  font-weight: 600;
  font-size: .8rem;
}

.lc-interest {
  color: rgba(255, 255, 255, .5);
  font-weight: 600;
  font-size: .8rem;
}

.lc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .25rem 1rem;
  border-radius: .5rem;
  margin-bottom: .5rem;
  background: rgba(240, 165, 0, .06);
  border: 1px solid rgba(240, 165, 0, .1);
}

.lc-total {
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}

.lc-btn {
  width: 100%;
  padding: 8px 16px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #f0a500, #d49400);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(240, 165, 0, .25);
  cursor: pointer;
  transition: opacity .3s;
}

.lc-btn:hover {
  opacity: .9;
  color: #fff;
}

/* ============================================
   BOOTSTRAP COMPATIBILITY HELPERS
   ============================================ */
.bg-gray-50 {
  background-color: var(--gray-50) !important;
}

.text-gold {
  color: var(--brand-gold) !important;
}

/* ============================================
   LEGAL BANNER
   ============================================ */
.legal-banner-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.legal-banner-text {
  color: rgba(255, 255, 255, .5);
  max-width: 500px;
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.legal-check-icon {
  color: var(--brand-gold);
  font-size: 1.2rem;
}

.legal-assist-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  max-width: 320px;
  margin: 0 auto;
}

.legal-assist-icon {
  font-size: 2.5rem;
  color: var(--brand-gold);
  display: block;
  margin-bottom: 12px;
}

/* ============================================
   POPULAR LOCATIONS
   ============================================ */
.loc-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  height: 180px;
  cursor: pointer;
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s ease;
}

.loc-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -8px rgba(0, 0, 0, .25);
}

.loc-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('plot.avif') center/cover no-repeat;
  transition: transform .5s ease;
}

.loc-card:hover .loc-bg {
  transform: scale(1.08);
}

.loc-bg-icon {
  font-size: 3rem;
  color: rgba(34, 197, 94, .2);
}

.loc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0, 0, 0, .7));
  pointer-events: none;
}

.loc-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: #fff;
}

.loc-name {
  font-weight: 700;
  color: #fff;
  margin-bottom: .15rem;
  font-size: 1.15rem;
}

.loc-count {
  color: rgba(255, 255, 255, .65);
  font-size: .82rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 2px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .15);
}

/* ============================================
   PACKAGES
   ============================================ */
.pricing-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 1.3rem;
}

.feature-icon {
  color: var(--brand-gold) !important;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-card {
  padding: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary));
}

.cta-badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  background: rgba(34, 197, 94, .15);
  color: var(--brand-gold);
  font-size: .8rem;
  font-weight: 600;
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 1rem;
}

.cta-text {
  color: rgba(255, 255, 255, .5);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

@media (max-width: 575px) {
  .cta-card {
    padding: 2rem 1.5rem;
  }
}

/* ========== NAVBAR RESPONSIVE ========== */
@media (min-width: 1200px) {
  .navbar-premium {
    flex-wrap: nowrap !important;
  }

  .navbar-premium .navbar-nav {
    flex-direction: row;
    min-width: 0;
  }

  .navbar-premium .navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
    min-width: 0;
  }

  .navbar-premium .navbar-toggler {
    display: none !important;
  }

  .navbar-premium .d-xl-none.d-xl-flex {
    display: flex !important;
  }

  .navbar-premium .nav-link,
  .navbar-premium .btn-outline-accent,
  .btn-website-nav {
    white-space: nowrap;
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .navbar-premium .navbar-nav {
    gap: 2px;
  }

  .navbar-premium .nav-link {
    padding: 12px 14px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1320px) {
  .navbar-premium .nav-link {
    font-size: .82rem !important;
    padding: 10px 12px !important;
  }

  .navbar-premium .navbar-brand img {
    height: 36px;
  }

  .navbar-premium .d-none.d-xl-flex.align-items-center {
    gap: 8px !important;
  }

  .navbar-premium .btn-outline-dark.rounded-pill.px-3 {
    padding: 6px 14px !important;
    font-size: .82rem !important;
  }

  .btn-website-nav {
    font-size: .8rem !important;
    padding: 6px 14px !important;
  }

  .navbar-premium .dropdown-toggle {
    width: 60px !important;
    height: 36px !important;
    font-size: 1rem !important;
  }
}



/* ========== BUILDER CARDS ========== */
.builder-card {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-100);
}

.builder-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-gold);
}

.builder-card .builder-image {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--gray-100);
}

.builder-card .builder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.builder-card:hover .builder-image img {
  transform: scale(1.08);
}

.builder-card .builder-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--brand-white);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
  letter-spacing: 2px;
}

.builder-card .builder-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.builder-card .builder-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0;
  line-height: 1.3;
  transition: var(--transition);
}

.builder-card:hover .builder-name {
  color: var(--brand-gold-dark);
}

.builder-card .builder-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--gray-500);
  line-height: 1.4;
}

.builder-card .builder-detail i {
  font-size: .95rem;
  color: var(--brand-gold);
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.builder-card .builder-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 4px 0;
}

.builder-card .builder-footer {
  padding: 0 20px 20px;
  margin-top: auto;
}

.builder-card .builder-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-dark));
  color: var(--brand-white);
  font-size: .82rem;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.builder-card .builder-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--brand-white);
}

.builder-card .builder-contact-btn i {
  font-size: 1rem;
}

@media (max-width: 576px) {
  .builder-card .builder-image {
    height: 160px;
  }

  .builder-card .builder-body {
    padding: 16px;
  }

  .builder-card .builder-footer {
    padding: 0 16px 16px;
  }

  .builder-card .builder-name {
    font-size: .95rem;
  }
}

/* ============================================================
   iOS Safari + Android Chrome Compatibility Fixes
   ============================================================ */

/* ---- 1. Horizontal overflow prevention ---- */
html {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ---- 2. Viewport height fallback (iPhone Safari dynamic UI) ---- */
.hero-premium,
.hero-cosmic {
  min-height: 100vh;
  min-height: 100dvh;
}

/* ---- 3. Safe-area: Navbar ---- */
.navbar-premium.fixed-top {
  padding-top: env(safe-area-inset-top, 0px);
}

/* ---- 4. Safe-area: Floating contact buttons ---- */
.floating-contact {
  bottom: calc(28px + env(safe-area-inset-bottom, 0px)) !important;
}

/* ---- 5. Safe-area: Mobile bottom nav ---- */
.mobile-bottom-nav {
  padding-bottom: max(6px, env(safe-area-inset-bottom));
}

/* ---- 6. Touch tap highlight removal ---- */
button,
a,
[role="button"],
.mobile-nav-item,
.nav-link,
.swal2-confirm,
.swal2-cancel,
.swal2-deny,
.swal2-styled {
  -webkit-tap-highlight-color: transparent;
}

/* ---- 7. Prevent iOS auto-zoom on form inputs (min 16px) ---- */
@supports (-webkit-touch-callout: none) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  input[type="search"],
  input[type="url"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

/* ---- 8. Form element reset for Safari ---- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="url"],
textarea,
select {
  -webkit-appearance: none;
  appearance: none;
}

/* ---- 9. Image/media responsiveness ---- */
img,
video {
  max-width: 100%;
  height: auto;
}

/* ---- 10. Flex overflow fix for iOS ---- */
@media (max-width: 768px) {
  .container,
  .row,
  .d-flex,
  .navbar-collapse {
    min-width: 0;
  }
}

/* ---- 11. SweetAlert2 iPhone z-index fix ---- */
.swal2-container {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 999999 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.swal2-popup {
  width: min(90vw, 500px) !important;
  max-width: calc(100vw - 32px) !important;
  border-radius: 16px !important;
}

.swal2-title {
  font-size: clamp(1.1rem, 4vw, 1.5rem) !important;
}

.swal2-html-container {
  font-size: clamp(.88rem, 3vw, 1rem) !important;
  margin: .5em 1em !important;
}

.swal2-actions {
  flex-wrap: wrap;
}

.swal2-styled {
  min-height: 44px !important;
  min-width: 44px !important;
  font-size: clamp(.85rem, 3vw, 1rem) !important;
  border-radius: 8px !important;
  padding: 10px 24px !important;
}

/* SweetAlert body scroll lock fix */
body.swal2-shown:not(.swal2-no-backdrop, .swal2-toast-shown) {
  overflow-y: auto !important;
  position: static !important;
}

body.swal2-height-hidden {
  overflow-y: auto !important;
  position: static !important;
}

/* ---- 12. Z-index hierarchy (landing page) ---- */
/* content: 1, sticky: 100, header: 1000, floating: 2000, mobile-nav: 5000, modal: 9000, swal: 999999 */

.navbar-premium.fixed-top {
  z-index: 1000;
}

.floating-contact {
  z-index: 2000 !important;
}

.mobile-bottom-nav {
  z-index: 5000 !important;
}

/* ---- 13. Desktop: hide mobile bottom nav ---- */
@media (min-width: 1200px) {
  .floating-contact {
    bottom: 28px !important;
  }
}

/* ---- 14. iOS safe-area: body bottom padding ---- */
@supports (padding: env(safe-area-inset-bottom)) {
  @media (max-width: 1199.98px) {
    body {
      padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }
  }
}