/* ============================================================
   GREECEVEST — Main Stylesheet
   Converted from React/Tailwind to plain CSS for Laravel Blade
   ============================================================ */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* === CSS Variables (Design Tokens) === */
:root {
  --radius: 0.5rem;
  --background: #ffffff;
  --foreground: #131d30;
  --card: #ffffff;
  --card-foreground: #131d30;
  --popover: #ffffff;
  --popover-foreground: #1a2333;
  --primary: #1e3254;
  --primary-foreground: #f7f9fc;
  --secondary: #dde8f0;
  --secondary-foreground: #1e3254;
  --muted: #dde8f0;
  --muted-foreground: #5c7899;
  --accent: #6eb4d4;
  --accent-foreground: #131d30;
  --destructive: #e53e3e;
  --destructive-foreground: #f9f9f9;
  --border: #c4d4e6;
  --input: #c4d4e6;
  --ring: #6eb4d4;
  --surface: #f3f8fc;
  --shadow-card: 0 1px 2px rgba(15,23,42,0.04), 0 4px 12px -6px rgba(15,23,42,0.08);
  --shadow-card-hover: 0 4px 8px rgba(15,23,42,0.05), 0 18px 40px -16px rgba(15,23,42,0.18);
  --shadow-elegant: 0 10px 30px -12px rgba(30,50,84,0.22);
  --transition-smooth: 220ms cubic-bezier(0.22, 1, 0.36, 1);
  --gradient-hero: linear-gradient(135deg, #1e3254, rgba(30,50,84,0.7));
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

::selection {
  background-color: rgba(110,180,212,0.4);
  color: var(--accent-foreground);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(30,50,84,0.2); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(30,50,84,0.4); }

/* === Container === */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; } }

.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background-color: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 300ms ease;
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 4px rgba(15,23,42,0.06);
}
.navbar-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  transition: height 300ms ease;
}
@media (min-width: 640px) { .navbar-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .navbar-inner { padding: 0 2rem; } }
.navbar.scrolled .navbar-inner { height: 4rem; }

.navbar-logo img {
  height: 3rem;
  width: auto;
  transition: height 300ms ease;
}
.navbar.scrolled .navbar-logo img { height: 2.5rem; }
@media (min-width: 640px) {
  .navbar-logo img { height: 3.5rem; }
  .navbar.scrolled .navbar-logo img { height: 2.75rem; }
}

/* Desktop Nav Links */
.navbar-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
@media (min-width: 1024px) { .navbar-links { display: flex; } }

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  padding: 0.5rem 0;
  transition: color 150ms;
}
.nav-link:hover { color: var(--foreground); }
.nav-link.active {
  color: var(--foreground);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 9999px;
}

/* Navbar Actions */
.navbar-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 1024px) { .navbar-actions { display: flex; } }

.lang-toggle {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.25rem 0.625rem;
  transition: color 150ms, border-color 150ms;
}
.lang-toggle:hover {
  color: var(--foreground);
  border-color: rgba(110,180,212,0.5);
}

.nav-divider {
  width: 1px;
  height: 1.25rem;
  background: var(--border);
  margin: 0 0.25rem;
}

/* Mobile Toggle */
.navbar-mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  min-width: 2.75rem;
  border-radius: var(--radius);
  color: var(--foreground);
  transition: background 150ms;
}
.navbar-mobile-btn:hover { background: rgba(221,232,240,0.6); }
@media (min-width: 1024px) { .navbar-mobile-btn { display: none; } }

/* Mobile Menu */
.mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  transition: max-height 300ms ease-out;
}
@media (max-width: 1023px) { .mobile-menu { display: block; } }
.mobile-menu.open { max-height: 80vh; }

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
}
.mobile-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(196,212,230,0.4);
  transition: color 150ms;
}
.mobile-nav-link:last-of-type { border-bottom: none; }
.mobile-nav-link:hover { color: var(--foreground); }
.mobile-lang-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  padding: 0.75rem 0;
}
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms, box-shadow 150ms;
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

.btn-sm { font-size: 0.8125rem; padding: 0.375rem 0.75rem; }
.btn-lg { font-size: 1rem; padding: 0.75rem 2rem; }

/* Primary button */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.btn-primary:hover { background: rgba(30,50,84,0.88); }

/* Accent button */
.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
  border-color: var(--accent);
}
.btn-accent:hover { background: rgba(110,180,212,0.85); }
.btn-accent.rounded-full { border-radius: 9999px; }

/* Ghost button */
.btn-ghost {
  background: transparent;
  color: var(--foreground);
  border-color: transparent;
}
.btn-ghost:hover { background: rgba(221,232,240,0.6); }

/* Outline button */
.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid rgba(30,50,84,0.15);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.btn-outline.rounded-full { border-radius: 9999px; }

/* Hero outline button */
.btn-hero-outline {
  background: rgba(247,249,252,0.1);
  color: var(--primary-foreground);
  border: 1px solid rgba(247,249,252,0.3);
  border-radius: 9999px;
  backdrop-filter: blur(4px);
}
.btn-hero-outline:hover { background: rgba(247,249,252,0.2); }

.btn-w-full { width: 100%; }
.btn svg { flex-shrink: 0; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: -5rem; /* counteract main padding-top so image extends behind navbar */
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--primary), rgba(30,50,84,0.85), rgba(30,50,84,0.4));
}
.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.10);
}
.hero-content {
  position: relative;
  max-width: 80rem;
  width: 100%;
  margin: 0 auto;
  padding: 7.5rem 1rem 3rem; /* 5rem navbar + 2.5rem breathing room */
}
@media (min-width: 640px) {
  .hero-content { padding: 10rem 1.5rem 5rem; }
}
@media (min-width: 1024px) {
  .hero-content { padding: 11rem 2rem 6rem; }
}
.hero-inner { max-width: 56rem; }

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-foreground);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; line-height: 1.1; } }

.hero-title-gradient {
  background: linear-gradient(to right, var(--accent), var(--primary-foreground));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: rgba(247,249,252,0.8);
  max-width: 42rem;
  line-height: 1.6;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }

/* Search Bar */
.search-bar {
  margin-top: 2.5rem;
  padding: 0.5rem;
  background: var(--card);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .search-bar { flex-direction: row; align-items: stretch; }
}
.search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .search-field { border-bottom: none; border-right: 1px solid var(--border); }
}
.search-field:last-of-type { border: none; }
.search-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}
.search-field-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.search-input {
  border: none;
  background: transparent;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  width: 100%;
  outline: none;
}
.search-input::placeholder { color: rgba(92,120,153,0.7); }
.search-select {
  border: none;
  background: transparent;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  width: 100%;
  outline: none;
  cursor: pointer;
}
.search-select option { color: var(--foreground); background: var(--card); }
.search-btn-wrap {
  flex-shrink: 0;
}
@media (max-width: 767px) { .search-btn-wrap { width: 100%; } }
.search-btn {
  height: 3rem;
  width: 100%;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 150ms;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.search-btn:hover { background: rgba(30,50,84,0.88); }
@media (min-width: 768px) {
  .search-btn { height: 100%; min-width: 9rem; padding: 0 2.5rem; border-radius: 0.75rem; }
}

/* CTA Buttons row */
.hero-ctas {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Trust Bar */
.trust-bar {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247,249,252,0.1);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
  }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(247,249,252,0.8);
}
.trust-icon {
  padding: 0.5rem;
  background: rgba(247,249,252,0.05);
  border-radius: 0.5rem;
  flex-shrink: 0;
}
.trust-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   SECTIONS — BUILT FOR EVERYONE
   ============================================================ */
.section { padding: 5rem 1rem; }
@media (min-width: 640px) { .section { padding: 6rem 1.5rem; } }
@media (min-width: 1024px) { .section { padding: 8rem 2rem; } }

.section-bg-white { background: var(--background); }
.section-bg-surface { background: var(--surface); }
.section-bg-primary { background: var(--primary); }
.section-bg-accent { background: rgba(110,180,212,0.1); }

.section-wave {
  position: absolute;
  top: -1px; left: 0; right: 0;
  pointer-events: none;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
@media (min-width: 640px) { .section-title { font-size: 2rem; } }
@media (min-width: 768px) { .section-title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }

.section-desc {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}
.section-center { text-align: center; }

/* Who It's For — header grid */
.audience-header {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 4rem;
}
@media (min-width: 1024px) {
  .audience-header {
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    margin-bottom: 5rem;
  }
}
.audience-header-right { }
@media (min-width: 1024px) { .audience-header-right { padding-top: 3rem; } }

/* Audience cards */
.audience-list {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.audience-item {
  display: grid;
  gap: 1.5rem;
  padding: 2.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 150ms;
  border-radius: 0.25rem;
}
.audience-item:last-child { border-bottom: none; }
.audience-item:hover { background: rgba(243,248,252,0.6); }
@media (min-width: 1024px) {
  .audience-item {
    grid-template-columns: 120px 1fr auto;
    gap: 2.5rem;
    padding: 3.5rem 1.25rem;
    align-items: start;
  }
}
.audience-num {
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .audience-num { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}
.audience-num-text {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(110,180,212,0.3);
  line-height: 1;
}
@media (min-width: 1024px) { .audience-num-text { font-size: 3.75rem; } }
.audience-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: rgba(110,180,212,0.1);
  color: var(--accent);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.audience-body { max-width: 42rem; }
.audience-body .audience-body-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.25;
}
@media (min-width: 1024px) { .audience-body .audience-body-title { font-size: 1.875rem; } }
.audience-body-desc {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}
.audience-points {
  margin-top: 1rem;
  display: grid;
  gap: 0.625rem;
}
@media (min-width: 640px) {
  .audience-points { grid-template-columns: 1fr 1fr; gap: 0.75rem 1.5rem; }
}
.audience-point {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(19,29,48,0.75);
}
.audience-cta { display: flex; align-items: center; }

/* ============================================================
   PAIN POINT / SOLUTION
   ============================================================ */
.problem-solution {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 768px) {
  .problem-solution { grid-template-columns: 1fr 1fr; }
}
.problem-title {
  margin-top: 0.75rem;
  font-size: 1.6875rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.2;
}
@media (min-width: 640px) { .problem-title { font-size: 1.875rem; } }
@media (min-width: 768px) { .problem-title { font-size: 2.25rem; } }
.problem-text {
  margin-top: 1rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}
.problem-points { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.problem-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.dot-red {
  margin-top: 0.3rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--destructive);
  flex-shrink: 0;
}
.solution-card {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.solution-points { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.solution-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--foreground);
}

/* ============================================================
   WHAT YOU CAN DO — Feature Cards
   ============================================================ */
.feature-cards {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) { .feature-cards { grid-template-columns: 1fr 1fr; } }

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  text-align: left;
  transition: transform 300ms, box-shadow 300ms, border-color 300ms;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(110,180,212,0.4);
}
.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(110,180,212,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background 300ms;
}
.feature-card:hover .feature-icon { background: rgba(110,180,212,0.2); }
.feature-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}
.feature-card-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================================
   PROFESSIONAL CATEGORIES
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) { .categories-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .categories-grid { grid-template-columns: repeat(8, 1fr); } }

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem;
  min-height: 6.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  transition: border-color 150ms, color 150ms, box-shadow 150ms;
  text-align: center;
}
.category-card:hover {
  border-color: rgba(110,180,212,0.6);
  color: var(--foreground);
  box-shadow: var(--shadow-card);
}
.category-card:hover svg { color: var(--accent); }
.category-card span {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ============================================================
   PROPERTY CARDS
   ============================================================ */
.properties-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .properties-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .properties-grid { grid-template-columns: repeat(3, 1fr); } }

.property-card {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: box-shadow 300ms, border-color 300ms, transform 300ms;
}
.property-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(110,180,212,0.4);
  transform: translateY(-2px);
}
.property-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface);
}
.property-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease-out;
}
.property-card:hover .property-img-wrap img { transform: scale(1.05); }
.property-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent, transparent);
}
.property-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  color: var(--foreground);
  border: 1px solid rgba(196,212,230,0.5);
  border-radius: var(--radius);
  padding: 0.2rem 0.6rem;
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.property-save-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(196,212,230,0.5);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  color: var(--foreground);
  transition: color 150ms, border-color 150ms;
}
.property-save-btn:hover { color: var(--accent); border-color: rgba(110,180,212,0.5); }
.property-price {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.property-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.property-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.property-card:hover .property-title { color: var(--primary); }
.property-location {
  margin-top: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.property-location svg { flex-shrink: 0; }
.property-location .property-location-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.property-specs {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  list-style: none;
  padding:0px;
}
.property-spec {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.property-spec svg { color: var(--accent); flex-shrink: 0; }
.property-spec .val { font-weight: 500; color: var(--foreground); }
.property-footer {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.property-agency {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(196,212,230,0.6);
  transition: color 150ms;
}
a.property-agency:hover .property-listed-by,
a.property-agency:hover .agency-name { color: var(--accent); }
.property-listed-by {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}
.property-agency .agency-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.property-view-btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   PROFESSIONALS GRID
   ============================================================ */
.professionals-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .professionals-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .professionals-grid { grid-template-columns: repeat(3, 1fr); } }

.pro-card {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 300ms, border-color 300ms, transform 300ms;
}
.pro-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(110,180,212,0.4);
  transform: translateY(-2px);
}
.pro-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.pro-header { display: flex; align-items: flex-start; gap: 1rem; }
.pro-avatar-wrap { position: relative; flex-shrink: 0; }
.pro-avatar {
  width: 4rem; height: 4rem;
  border-radius: 9999px;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--surface);
}
.pro-verified {
  position: absolute;
  bottom: -4px; right: -4px;
  background: var(--card);
  border-radius: 9999px;
  padding: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.pro-info { flex: 1; min-width: 0; }
.pro-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pro-card:hover .pro-name { color: var(--primary); }
.pro-profession {
  margin-top: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.pro-location {
  margin-top: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.pro-bio {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.55;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.pro-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(196,212,230,0.6);
  background: rgba(243,248,252,0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.pro-rating {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.pro-rating .rating-val { font-size: 0.875rem; font-weight: 600; color: var(--foreground); }
.pro-rating .review-count { font-size: 0.75rem; color: var(--muted-foreground); }
.pro-btns { display: flex; gap: 0.5rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 4rem 1rem;
  text-align: center;
}
@media (min-width: 640px) { .cta-banner { padding: 5rem 1.5rem; } }
.cta-banner.navy { background: var(--primary); color: var(--primary-foreground); }
.cta-banner.teal { background: var(--accent); color: var(--accent-foreground); }
.cta-banner-inner { max-width: 80rem; margin: 0 auto; }
.cta-banner h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: inherit;
}
@media (min-width: 640px) { .cta-banner h2 { font-size: 1.875rem; } }
@media (min-width: 768px) { .cta-banner h2 { font-size: 2.25rem; } }
.cta-banner p {
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(247,249,252,0.8);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
@media (min-width: 640px) { .cta-banner p { font-size: 1.125rem; } }
.cta-banner .btn { margin-top: 2rem; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { width: 100%; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--foreground);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  gap: 1rem;
  transition: color 150ms;
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  transition: transform 300ms;
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 300ms ease-out;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary);
  color: var(--primary-foreground);
}
.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}
@media (min-width: 640px) { .footer-inner { padding: 3rem 1.5rem; } }
@media (min-width: 1024px) { .footer-inner { padding: 3rem 2rem; } }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-logo {
  height: 3rem;
  width: auto;
  filter: brightness(0) invert(1);
}
@media (min-width: 640px) { .footer-logo { height: 3.5rem; } }
.footer-tagline {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(247,249,252,0.6);
}
.footer-col-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary-foreground);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-link {
  font-size: 0.875rem;
  color: rgba(247,249,252,0.6);
  transition: color 150ms;
}
.footer-link:hover { color: var(--primary-foreground); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(247,249,252,0.1);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(247,249,252,0.5);
}

/* ============================================================
   PAGE HEADER (About, Contact)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 40vh;
  height: 40vh;
  display: flex;
  align-items: center;
  margin-top: -5rem;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30,50,84,0.9), rgba(30,50,84,0.7), rgba(30,50,84,0.4));
}
.page-hero-content {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .page-hero-content { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .page-hero-content { padding: 0 2rem; } }
.page-hero-inner { max-width: 42rem; }
.page-hero-title {
  margin-top: 0.75rem;
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--primary-foreground);
  line-height: 1.25;
}
@media (min-width: 640px) { .page-hero-title { font-size: 1.875rem; } }
@media (min-width: 768px) { .page-hero-title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .page-hero-title { font-size: 3rem; } }
.page-hero-title .accent { color: var(--accent); }
.page-hero-text {
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(247,249,252,0.85);
  line-height: 1.6;
}
@media (min-width: 640px) { .page-hero-text { font-size: 1.125rem; } }

/* Contact Page Header (no image) */
.contact-header {
  padding: 3rem 1rem 3rem;
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
}
@media (min-width: 640px) { .contact-header { padding: 4rem 1.5rem; } }
@media (min-width: 1024px) { .contact-header { padding: 5rem 2rem; } }
.contact-header h1 {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.25;
}
@media (min-width: 768px) { .contact-header h1 { font-size: 2.5rem; } }
@media (min-width: 1024px) { .contact-header h1 { font-size: 3rem; } }
.contact-header h1 .accent { color: var(--accent); }
.contact-header p {
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(247,249,252,0.8);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) { .contact-header p { font-size: 1.125rem; } }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) { .about-story-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.story-img-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-elegant);
}
@media (min-width: 768px) { .story-img-wrap { aspect-ratio: 1; } }
.story-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,50,84,0.7), rgba(30,50,84,0.1), transparent);
}
.story-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
}
.story-badge .year {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--accent);
}
.story-badge .founded {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-left: 0.75rem;
}
.story-badge-row { display: flex; align-items: baseline; gap: 0; }
.story-badge p {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.story-title {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
}
@media (min-width: 768px) { .story-title { font-size: 2.25rem; } }
.story-text { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; color: var(--muted-foreground); line-height: 1.6; }

/* Mission/Vision */
.mission-vision {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}
.mission-title {
  margin-top: 0.75rem;
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.2;
}
@media (min-width: 640px) { .mission-title { font-size: 1.875rem; } }
@media (min-width: 768px) { .mission-title { font-size: 2.25rem; } }
.vision-card {
  margin-top: 2.5rem;
  border-radius: 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-elegant);
}
@media (min-width: 768px) { .vision-card { padding: 3rem; } }
.vision-card p {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  color: rgba(247,249,252,0.9);
  line-height: 1.65;
}
@media (min-width: 768px) { .vision-card p { font-size: 1.25rem; } }

/* Audience + Values Cards */
.cards-grid-3 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) { .cards-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.cards-grid-4 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) { .cards-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.icon-card {
  background: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: border-color 150ms, box-shadow 300ms, transform 300ms;
}
.icon-card:hover {
  border-color: rgba(110,180,212,0.4);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.icon-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(110,180,212,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.icon-card h3 {
  font-weight: 600;
  color: var(--foreground);
}
.icon-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.55;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 1fr; gap: 2.5rem; } }
.contact-title { font-size: 1.5rem; font-weight: 700; color: var(--foreground); }
@media (min-width: 768px) { .contact-title { font-size: 1.875rem; } }
.contact-desc { margin-top: 0.5rem; color: var(--muted-foreground); }
.contact-form { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-size: 0.875rem; font-weight: 500; color: var(--foreground); }
.form-label .optional { color: var(--muted-foreground); font-weight: 400; }
.form-input, .form-select, .form-textarea {
  height: 2.75rem;
  width: 100%;
  padding: 0 0.75rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(110,180,212,0.5);
  box-shadow: 0 0 0 3px rgba(110,180,212,0.15);
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(92,120,153,0.7); }
.form-textarea { height: auto; padding: 0.75rem; resize: vertical; }
.form-select { cursor: pointer; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c7899' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2rem; }

/* Contact Aside */
.contact-aside {
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 1rem;
  padding: 1.5rem;
  height: fit-content;
}
@media (min-width: 640px) { .contact-aside { padding: 2rem; } }
.contact-aside h3 { font-size: 1.25rem; font-weight: 700; }
.contact-info-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-info-item .ci-label { font-size: 0.875rem; font-weight: 600; }
.contact-info-item .ci-val { font-size: 0.875rem; color: rgba(247,249,252,0.8); margin-top: 0.125rem; }
.contact-info-item a:hover { color: var(--accent); }
.contact-social { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(247,249,252,0.15); }
.contact-social p { font-size: 0.875rem; font-weight: 600; color: rgba(247,249,252,0.8); }
.social-links { margin-top: 0.75rem; display: flex; gap: 0.75rem; }
.social-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  background: rgba(247,249,252,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  transition: background 150ms, color 150ms;
}
.social-btn:hover { background: var(--accent); color: var(--primary); }

/* ============================================================
   LOGIN / SIGNUP
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  padding: 5rem 1rem 2rem;
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  width: 100%;
  max-width: 26rem;
  box-shadow: var(--shadow-card);
}
.auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-logo img { height: 2.75rem; margin: 0 auto; }
.auth-title { font-size: 1.5rem; font-weight: 700; color: var(--foreground); text-align: center; }
.auth-subtitle { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); text-align: center; }
.auth-form { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.auth-divider { margin-top: 0.5rem; text-align: center; font-size: 0.875rem; color: var(--muted-foreground); }
.auth-divider a { color: var(--accent); font-weight: 600; }
.auth-divider a:hover { text-decoration: underline; }

/* ============================================================
   PROPERTIES / PROFESSIONALS LISTING PAGES
   ============================================================ */
.listing-hero {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 7rem 1rem 3rem;
}
@media (min-width: 640px) { .listing-hero { padding: 7rem 1.5rem 3rem; } }
@media (min-width: 1024px) { .listing-hero { padding: 8rem 2rem 3rem; } }
.listing-hero h1 {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
}
@media (min-width: 768px) { .listing-hero h1 { font-size: 2.5rem; } }
.listing-hero p {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: rgba(247,249,252,0.8);
  max-width: 40rem;
}

.filters-bar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
@media (min-width: 640px) { .filters-bar { padding: 1rem 1.5rem; } }
@media (min-width: 1024px) { .filters-bar { padding: 1rem 2rem; } }
.filter-select {
  height: 2.25rem;
  padding: 0 2rem 0 0.75rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c7899' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
}
.filter-input {
  height: 2.25rem;
  padding: 0 0.75rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  flex: 1;
  min-width: 10rem;
}
.filter-input:focus { border-color: rgba(110,180,212,0.5); }

/* Utility classes */
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }
.text-center { text-align: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.max-w-2xl-centered { max-width: 42rem; margin: 0 auto; }
.max-w-3xl-centered { max-width: 48rem; margin: 0 auto; }
.hidden-sm { display: none; }
@media (min-width: 640px) { .hidden-sm { display: flex; } }

/* ============================================================
   PROPERTY / PROFESSIONAL LISTING HEROES (image version)
   ============================================================ */
.listing-hero-img {
  position: relative;
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  margin-top: -5rem;
  overflow: hidden;
}
.listing-hero-img .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-hero-img .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30,50,84,0.72);
}
.listing-hero-img .hero-content-inner {
  position: relative;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 7rem 1rem 2rem;
  text-align: center;
}
@media (min-width: 640px) {
  .listing-hero-img .hero-content-inner { padding: 8rem 1.5rem 3rem; }
}
.listing-hero-img h1 {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--primary-foreground);
  line-height: 1.2;
}
@media (min-width: 640px) { .listing-hero-img h1 { font-size: 2.5rem; } }
@media (min-width: 1024px) { .listing-hero-img h1 { font-size: 3rem; } }
.listing-hero-img p {
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(247,249,252,0.82);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
@media (min-width: 640px) { .listing-hero-img p { font-size: 1.125rem; } }

/* ============================================================
   STICKY FILTER BAR (enhanced version with chips)
   ============================================================ */
.filter-bar-sticky {
  position: sticky;
  top: 4rem;
  z-index: 20;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}
.filter-bar-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.875rem 1rem;
}
@media (min-width: 640px) { .filter-bar-inner { padding: 0.875rem 1.5rem; } }
@media (min-width: 1024px) { .filter-bar-inner { padding: 0.875rem 2rem; } }
.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.filter-search-wrap {
  position: relative;
  flex: 1;
  min-width: 12rem;
  max-width: 18rem;
}
.filter-search-wrap svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
  pointer-events: none;
}
.filter-search-wrap .filter-input {
  padding-left: 2.25rem;
  height: 2.5rem;
}
.filter-select-h10 {
  height: 2.5rem;
  padding: 0 2rem 0 0.75rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c7899' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
}
.filter-select-h10:focus { border-color: rgba(110,180,212,0.5); }

/* Active filter chips */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.625rem;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.375rem 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(110,180,212,0.12);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(110,180,212,0.3);
}
.filter-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--accent);
  padding: 0;
  transition: background 150ms;
}
.filter-chip-remove:hover { background: rgba(110,180,212,0.2); }
.filter-chip-remove svg { width: 0.75rem; height: 0.75rem; }
.filter-clear-all {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
}

/* ============================================================
   VIEW TOGGLE (Grid / Map)
   ============================================================ */
.view-toggle {
  display: inline-flex;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.125rem;
}
.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  height: 2rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--muted-foreground);
  transition: background 150ms, color 150ms;
  font-family: inherit;
}
.view-toggle-btn svg { width: 0.875rem; height: 0.875rem; }
.view-toggle-btn.active {
  background: var(--accent);
  color: var(--accent-foreground);
}
.view-toggle-btn:hover:not(.active) { color: var(--foreground); }

/* ============================================================
   SORT + RESULTS BAR
   ============================================================ */
.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.results-count {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.results-count strong { color: var(--foreground); }
.results-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================
   MAP EMBED
   ============================================================ */
.map-container {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/7;
  background: var(--surface);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.draw-area-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.draw-area-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(110,180,212,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.draw-area-icon svg { width: 1rem; height: 1rem; color: var(--accent); }
.draw-area-text { flex: 1; min-width: 0; }
.draw-area-text p { font-size: 0.875rem; font-weight: 600; color: var(--foreground); }
.draw-area-text span { font-size: 0.75rem; color: var(--muted-foreground); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 2.5rem;
}
.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 150ms, background 150ms, color 150ms;
  font-family: inherit;
}
.pagination-btn:hover:not(:disabled) {
  border-color: rgba(110,180,212,0.5);
  color: var(--accent);
}
.pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.pagination-btn svg { width: 1rem; height: 1rem; }
.pagination-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  min-width: 2.25rem;
  padding: 0 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 150ms, background 150ms, color 150ms;
  font-family: inherit;
}
.pagination-page:hover { border-color: rgba(110,180,212,0.5); color: var(--accent); }
.pagination-page.active { background: var(--accent); color: var(--accent-foreground); border-color: var(--accent); }
.pagination-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  min-width: 2.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 5rem 1rem;
  max-width: 28rem;
  margin: 0 auto;
}
.empty-state-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: rgba(110,180,212,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.empty-state-icon svg { width: 1.75rem; height: 1.75rem; color: var(--accent); }
.empty-state h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}
.empty-state p {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}
.empty-state-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

/* ============================================================
   MODAL OVERLAY & DIALOG
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(19,29,48,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }

.modal-dialog {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.25);
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-dialog.modal-sm { max-width: 28rem; }
.modal-dialog.modal-md { max-width: 32rem; }
.modal-dialog.modal-lg { max-width: 42rem; }
.modal-dialog.modal-xl { max-width: 56rem; padding: 0; }

.modal-close-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255,255,255,0.9);
  color: var(--foreground);
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: background 150ms;
}
.modal-close-btn:hover { background: var(--surface); }
.modal-close-btn svg { width: 1rem; height: 1rem; }

.modal-header {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1.5rem;
  border-radius: var(--radius) var(--radius) 0 0;
}
.modal-header h2 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}
.modal-header .modal-subtitle {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.modal-header .modal-ref {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.7;
  margin-top: 0.5rem;
}

.modal-body { padding: 1.5rem; }
.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

/* Modal form elements */
.modal-agent-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.75rem;
}
.modal-agent-avatar {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.modal-input {
  width: 100%;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--primary);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 150ms;
}
.modal-input:focus { border-color: var(--accent); }
.modal-input::placeholder { color: rgba(92,120,153,0.7); }
.modal-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--primary);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 150ms;
  resize: vertical;
  min-height: 6rem;
}
.modal-textarea:focus { border-color: var(--accent); }
.modal-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  padding-top: 0.25rem;
}
.modal-checkbox-row input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  accent-color: var(--primary);
  flex-shrink: 0;
  cursor: pointer;
}
.modal-checkbox-row span {
  font-size: 0.75rem;
  color: var(--foreground);
  line-height: 1.45;
}
.modal-submit-btn {
  width: 100%;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 0.875rem 1rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  cursor: pointer;
  font-family: inherit;
  transition: background 150ms;
  border-radius: var(--radius);
}
.modal-submit-btn:hover { background: rgba(30,50,84,0.88); }
.modal-lock-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.625rem;
  color: var(--muted-foreground);
  padding-top: 0.25rem;
}
.modal-lock-note svg { width: 0.75rem; height: 0.75rem; }
.modal-form-stack { display: flex; flex-direction: column; gap: 0.75rem; }

/* Lightbox dialog */
.lightbox-dialog {
  background: var(--foreground);
  border-color: var(--foreground);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--primary-foreground);
}
.lightbox-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255,255,255,0.9);
  color: var(--foreground);
  border: none;
  cursor: pointer;
  transition: background 150ms;
}
.lightbox-nav-btn:hover { background: #fff; }
.lightbox-nav-btn.prev { left: 0.75rem; }
.lightbox-nav-btn.next { right: 0.75rem; }
.lightbox-nav-btn svg { width: 1.25rem; height: 1.25rem; }
.lightbox-counter {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(255,255,255,0.9);
  color: var(--foreground);
  padding: 0.375rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.lightbox-thumbnails {
  background: var(--card);
  padding: 1rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}
.lightbox-thumb {
  flex-shrink: 0;
  width: 6rem;
  height: 4rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 150ms;
}
.lightbox-thumb.active { border-color: var(--accent); }
.lightbox-thumb:not(.active) { opacity: 0.7; }
.lightbox-thumb:not(.active):hover { opacity: 1; }
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   PROPERTY DETAIL PAGE
   ============================================================ */
.detail-breadcrumb {
  border-bottom: 1px solid rgba(196,212,230,0.6);
  background: var(--card);
}
.detail-breadcrumb-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px) { .detail-breadcrumb-inner { padding: 0.75rem 1.5rem; } }
@media (min-width: 1024px) { .detail-breadcrumb-inner { padding: 0.75rem 2rem; } }
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  min-width: 0;
}
.breadcrumb-nav a:hover { color: var(--foreground); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-current { color: var(--foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumb-back {
  display: none;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  flex-shrink: 0;
  transition: color 150ms;
}
@media (min-width: 640px) { .breadcrumb-back { display: inline-flex; } }
.breadcrumb-back:hover { color: var(--foreground); }
.breadcrumb-back svg { width: 0.875rem; height: 0.875rem; }

/* Architectural Header */
.detail-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .detail-header-grid { grid-template-columns: 8fr 4fr; }
}
.detail-title-block {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .detail-title-block {
    padding: 3rem;
    border-bottom: none;
    border-right: 1px solid var(--border);
  }
}
.detail-region-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.detail-region-nav .line { height: 1px; width: 2rem; background: var(--accent); }
.detail-region-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
}
.detail-region-breadcrumb .sep { color: var(--border); }
.detail-region-breadcrumb .location { color: var(--primary); }
.detail-main-title {
  font-size: 1.625rem;
  font-weight: 300;
  color: var(--primary);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
@media (min-width: 640px) { .detail-main-title { font-size: 2.25rem; } }
@media (min-width: 768px) { .detail-main-title { font-size: 2.5rem; } }
.detail-subtitle {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  letter-spacing: 0.05em;
}
.detail-action-btns {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.detail-action-btn {
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 150ms, background 150ms;
}
.detail-action-btn:hover { border-color: var(--primary); background: var(--surface); }
.detail-action-btn.saved { border-color: var(--accent); background: rgba(110,180,212,0.1); color: var(--primary); }
.detail-action-btn svg { width: 0.875rem; height: 0.875rem; }
.detail-action-btn.saved .heart { fill: var(--accent); color: var(--accent); }

.detail-price-block {
  padding: 1.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (min-width: 768px) { .detail-price-block { padding: 3rem; } }
.detail-price-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4rem; height: 0.25rem;
  background: var(--accent);
}
.detail-price-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.detail-price-main {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.detail-price-value {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
@media (min-width: 640px) { .detail-price-value { font-size: 2.25rem; } }
.detail-price-sqm {
  font-size: 0.75rem;
  color: rgba(110,180,212,0.9);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.detail-ref {
  font-size: 0.625rem;
  font-weight: 500;
  opacity: 0.6;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}
.detail-enquire-btn {
  margin-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--primary);
  border: none;
  padding: 0.875rem 1.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  cursor: pointer;
  font-family: inherit;
  transition: background 150ms;
  width: 100%;
}
.detail-enquire-btn:hover { background: rgba(110,180,212,0.88); }
.detail-enquire-btn svg { width: 0.875rem; height: 0.875rem; }

/* Gallery */
.detail-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--surface);
}
@media (min-width: 768px) {
  .detail-gallery-grid { grid-template-columns: 8fr 4fr; }
}
.detail-gallery-main {
  position: relative;
  overflow: hidden;
  background: var(--muted);
  aspect-ratio: 16/9;
  cursor: zoom-in;
}
.detail-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease-out;
}
.detail-gallery-main:hover img { transform: scale(1.03); }
.gallery-nav-bar {
  position: absolute;
  inset-x: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(19,29,48,0.8), rgba(19,29,48,0.3), transparent);
  color: #fff;
  pointer-events: none;
}
.gallery-nav-btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: auto;
}
.gallery-nav-btn {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255,255,255,0.95);
  color: var(--foreground);
  border: none;
  cursor: pointer;
  transition: background 150ms, color 150ms;
}
.gallery-nav-btn:hover { background: var(--accent); color: var(--primary); }
.gallery-nav-btn svg { width: 1rem; height: 1rem; }
.gallery-counter {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0 0.25rem;
  color: #fff;
}
.gallery-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  padding: 0.375rem 0.75rem;
  border: none;
  cursor: pointer;
  pointer-events: auto;
  transition: color 150ms;
  font-family: inherit;
}
.gallery-view-all:hover { color: var(--accent); }
.gallery-view-all svg { width: 0.875rem; height: 0.875rem; }
.detail-gallery-thumbs {
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
  aspect-ratio: auto;
}
@media (min-width: 768px) {
  .detail-gallery-thumbs { flex-direction: column; }
}
.gallery-thumb-btn {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--muted);
  border: none;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
}
@media (min-width: 768px) { .gallery-thumb-btn { aspect-ratio: auto; } }
.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms;
}
.gallery-thumb-btn:hover img { transform: scale(1.05); }
.gallery-thumb-more {
  position: absolute;
  inset: 0;
  background: rgba(30,50,84,0.75);
  color: var(--primary-foreground);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}
.gallery-thumb-more .count {
  font-size: 1.875rem;
  font-weight: 300;
  margin-bottom: 0.25rem;
  line-height: 1;
}

/* Detail Content */
.detail-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: none;
}
@media (min-width: 768px) {
  .detail-content-grid { grid-template-columns: 8fr 4fr; }
}
.detail-primary {
  padding: 1.5rem;
  border-right: none;
}
@media (min-width: 640px) { .detail-primary { padding: 2rem; } }
@media (min-width: 768px) {
  .detail-primary {
    padding: 3rem;
    border-right: 1px solid var(--border);
  }
}
.detail-section + .detail-section { margin-top: 2.5rem; }
@media (min-width: 768px) { .detail-section + .detail-section { margin-top: 3rem; } }

.detail-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.detail-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.detail-description {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--muted-foreground);
  font-weight: 300;
  white-space: pre-line;
}
.detail-description::first-letter {
  font-size: 3rem;
  font-weight: 300;
  color: var(--primary);
  float: left;
  line-height: 1;
  margin-right: 0.5rem;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2rem;
}
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }
.spec-cell {}
.spec-cell-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.spec-cell-value {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.25;
}
.spec-cell-bar {
  display: block;
  height: 1px;
  width: 1.5rem;
  background: var(--border);
  margin-top: 0.75rem;
  transition: width 300ms, background 300ms;
}
.spec-cell:hover .spec-cell-bar { width: 3rem; background: var(--accent); }

.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 640px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  background: rgba(243,248,252,0.6);
  transition: background 150ms;
}
.feature-item:hover { background: var(--surface); }
.feature-check {
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(110,180,212,0.15);
  flex-shrink: 0;
}
.feature-check svg { width: 0.75rem; height: 0.75rem; color: var(--primary); }
.feature-item span { font-size: 0.875rem; color: var(--foreground); }

/* Location map section */
.detail-map-wrap {
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  aspect-ratio: 16/9;
}
.detail-map-wrap iframe {
  width: 100%; height: 100%; border: none; display: block;
}
.detail-map-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Sidebar */
.detail-sidebar {
  padding: 1.25rem;
  background: rgba(243,248,252,0.5);
  border-top: 1px solid var(--border);
}
@media (min-width: 640px) { .detail-sidebar { padding: 1.5rem; } }
@media (min-width: 768px) {
  .detail-sidebar {
    padding: 2rem;
    border-top: none;
  }
}
.detail-sidebar-sticky {
  position: static;
}
@media (min-width: 768px) {
  .detail-sidebar-sticky { position: sticky; top: 5rem; }
}
.agent-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: 0 4px 24px -12px rgba(25,57,89,0.15);
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}
.agent-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3rem; height: 2px;
  background: var(--accent);
}
.agent-avatar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.agent-avatar-initials {
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.agent-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}
.agent-role {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.5625rem;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-top: 0.25rem;
}
.agent-role svg { width: 0.625rem; height: 0.625rem; }
.agent-enquire-btn {
  width: 100%;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 0.875rem 1rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 150ms;
}
.agent-enquire-btn:hover { background: rgba(30,50,84,0.88); }
.agent-enquire-btn svg { width: 0.875rem; height: 0.875rem; }
.agent-reply-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.625rem;
  color: var(--muted-foreground);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: 0.75rem;
}
.agent-reply-note svg { width: 0.75rem; height: 0.75rem; }

.agency-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}
.agency-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3rem; height: 2px;
  background: var(--accent);
}
.agency-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.agency-avatar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.agency-initials {
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.agency-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.agency-location {
  font-size: 0.625rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.125rem;
}
.agency-tagline {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 1rem;
}
.agency-profile-link {
  display: block;
  width: 100%;
  text-align: center;
  border: 1px solid var(--border);
  padding: 0.625rem 1rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary);
  transition: border-color 150ms, background 150ms;
}
.agency-profile-link:hover { border-color: var(--primary); background: var(--surface); }

.detail-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}
.detail-stat-value { display: block; color: var(--primary); margin-top: 0.25rem; font-size: 0.75rem; }

/* Similar Properties */
.similar-section {
  background: var(--background);
  border-top: 1px solid rgba(196,212,230,0.6);
}
.similar-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}
@media (min-width: 640px) { .similar-inner { padding: 4rem 1.5rem; } }
@media (min-width: 1024px) { .similar-inner { padding: 4rem 2rem; } }
.similar-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.similar-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.similar-view-all {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  transition: color 150ms;
}
.similar-view-all:hover { color: var(--accent); }

/* Mobile sticky enquiry CTA */
.mobile-enquiry-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 -8px 24px -12px rgba(0,0,0,0.15);
}
@media (min-width: 768px) { .mobile-enquiry-bar { display: none; } }
.mobile-enquiry-price-label {
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  font-weight: 700;
}
.mobile-enquiry-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mobile-enquiry-btn {
  height: 2.75rem;
  padding: 0 1.25rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  font-family: inherit;
  transition: background 150ms;
  border-radius: var(--radius);
}
.mobile-enquiry-btn:hover { background: rgba(30,50,84,0.88); }
.mobile-enquiry-btn svg { width: 0.875rem; height: 0.875rem; }

/* ============================================================
   PROFESSIONALS LISTING PAGE — TAXONOMY
   ============================================================ */
.taxonomy-container {}
.taxonomy-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.taxonomy-heading {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}
.taxonomy-clear-btn {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-family: inherit;
}
.taxonomy-clear-btn:hover { color: var(--foreground); }

.taxonomy-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) { .taxonomy-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .taxonomy-tiles { grid-template-columns: repeat(8, 1fr); } }

.taxonomy-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem;
  min-height: 6.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  cursor: pointer;
  transition: border-color 150ms, color 150ms, box-shadow 150ms, background 150ms;
  text-align: center;
  font-family: inherit;
}
.taxonomy-tile svg { width: 1.25rem; height: 1.25rem; transition: color 150ms; }
.taxonomy-tile span {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}
.taxonomy-tile:hover {
  border-color: rgba(110,180,212,0.6);
  color: var(--foreground);
  box-shadow: var(--shadow-card);
}
.taxonomy-tile:hover svg { color: var(--accent); }
.taxonomy-tile.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}
.taxonomy-tile.active svg { color: var(--primary-foreground); }

.taxonomy-pills-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-top: 0.75rem;
  display: none;
}
.taxonomy-pills-container.open { display: block; }
.taxonomy-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.taxonomy-pill {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 150ms;
  font-family: inherit;
}
.taxonomy-pill:hover { border-color: rgba(110,180,212,0.6); color: var(--foreground); }
.taxonomy-pill.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.taxonomy-selected-detail {
  background: rgba(110,180,212,0.05);
  border: 1px solid rgba(110,180,212,0.3);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-top: 0.75rem;
  display: none;
}
.taxonomy-selected-detail.open { display: block; }
.taxonomy-selected-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.taxonomy-selected-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}
.taxonomy-spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
}
.taxonomy-selected-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
  line-height: 1.55;
}
.spec-tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.spec-tag {
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius);
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 0.875rem;
  font-weight: 400;
}

/* Professionals Trust Section */
.pro-trust-section {
  padding: 4rem 1rem;
}
@media (min-width: 640px) { .pro-trust-section { padding: 5rem 1.5rem; } }
@media (min-width: 1024px) { .pro-trust-section { padding: 6rem 2rem; } }
.pro-trust-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) { .pro-trust-grid { grid-template-columns: repeat(3, 1fr); } }
.pro-trust-item { text-align: center; }
.pro-trust-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: rgba(110,180,212,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.pro-trust-icon svg { width: 1.5rem; height: 1.5rem; color: var(--accent); }
.pro-trust-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}
.pro-trust-item p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.55;
}

/* Professional Sign-Up CTA */
.pro-signup-cta {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 1rem;
  text-align: center;
}
@media (min-width: 640px) { .pro-signup-cta { padding: 5rem 1.5rem; } }
@media (min-width: 1024px) { .pro-signup-cta { padding: 6rem 2rem; } }
.pro-signup-inner { max-width: 42rem; margin: 0 auto; }
.pro-signup-cta h2 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.25;
}
@media (min-width: 768px) { .pro-signup-cta h2 { font-size: 2.5rem; } }
.pro-signup-cta p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: rgba(247,249,252,0.8);
  line-height: 1.6;
}
.pro-signup-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  display: inline-flex;
}
.pro-signup-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(247,249,252,0.8);
}
.pro-signup-list svg { width: 1rem; height: 1rem; color: var(--accent); flex-shrink: 0; }

/* Mobile filter toggle button */
.mobile-filter-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.5rem;
  padding: 0 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 150ms;
  flex-shrink: 0;
}
.mobile-filter-btn:hover { border-color: rgba(110,180,212,0.5); }
.mobile-filter-btn svg { width: 1rem; height: 1rem; }
.filter-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.25rem;
  min-width: 1.25rem;
  padding: 0 0.375rem;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 0.6875rem;
  font-weight: 600;
}
@media (min-width: 640px) { .mobile-filter-btn { display: none; } }

/* Mobile sheet */
.mobile-sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(19,29,48,0.5);
}
.mobile-sheet-overlay.open { display: block; }
.mobile-sheet {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  z-index: 101;
  width: min(100%, 26rem);
  background: var(--card);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,0.15);
  transition: right 300ms ease;
}
.mobile-sheet.open { right: 0; }
.mobile-sheet-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
}
.mobile-sheet-header svg { width: 1rem; height: 1rem; }
.mobile-sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-sheet-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--card);
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.sheet-filter-field { display: flex; flex-direction: column; gap: 0.5rem; }
.sheet-filter-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

/* Features toggle pills */
.features-toggle-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.feature-toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms;
  font-family: inherit;
}
.feature-toggle-pill svg { width: 0.875rem; height: 0.875rem; }
.feature-toggle-pill:hover { border-color: rgba(110,180,212,0.5); color: var(--accent); }
.feature-toggle-pill.active { background: var(--accent); color: var(--accent-foreground); border-color: var(--accent); }

/* Match toggle */
.match-toggle {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.125rem;
}
.match-toggle-btn {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: none;
  background: none;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--muted-foreground);
  transition: background 150ms, color 150ms;
  font-family: inherit;
}
.match-toggle-btn:hover { color: var(--foreground); }
.match-toggle-btn.active { background: var(--accent); color: var(--accent-foreground); }

/* Save alert dialog */
.alert-filter-summary {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}
.alert-filter-summary strong { color: var(--foreground); }
.modal-email-input {
  width: 100%;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 150ms;
}
.modal-email-input:focus { border-color: rgba(110,180,212,0.5); }
.modal-email-input::placeholder { color: rgba(92,120,153,0.7); }

/* Alerts list */
.alert-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  transition: border-color 150ms;
  cursor: pointer;
}
.alert-item:hover { border-color: rgba(110,180,212,0.5); }
.alert-item-text { flex: 1; min-width: 0; }
.alert-item-email { font-size: 0.875rem; font-weight: 500; color: var(--foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alert-item-summary { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.125rem; }
.alert-delete-btn {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-foreground);
  transition: color 150ms, background 150ms;
  flex-shrink: 0;
  font-family: inherit;
}
.alert-delete-btn:hover { color: var(--destructive); background: rgba(229,62,62,0.08); }
.alert-delete-btn svg { width: 1rem; height: 1rem; }

/* Verified toggle switch */
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.625rem 0.875rem;
}
.switch-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  cursor: pointer;
}
.switch {
  position: relative;
  width: 2.5rem;
  height: 1.375rem;
  flex-shrink: 0;
}
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch-track {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--muted);
  cursor: pointer;
  transition: background 200ms;
}
.switch input:checked ~ .switch-track { background: var(--accent); }
.switch-thumb {
  position: absolute;
  height: 1rem;
  width: 1rem;
  left: 0.1875rem;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 9999px;
  background: white;
  transition: left 200ms;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.switch input:checked ~ .switch-track ~ .switch-thumb { left: calc(100% - 1.1875rem); }

/* Save/Load Popovers */
.popover-container { position: relative; }
.popover-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 50;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px -8px rgba(0,0,0,0.15);
  min-width: 18rem;
}
.popover-panel.open { display: block; }
.popover-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.popover-header p { font-size: 0.875rem; font-weight: 600; }
.popover-header span { font-size: 0.75rem; color: var(--muted-foreground); }
.popover-body { padding: 0.75rem; }
.popover-empty { padding: 1.5rem 1rem; text-align: center; font-size: 0.875rem; color: var(--muted-foreground); }
.popover-list { max-height: 18rem; overflow-y: auto; }
.popover-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: var(--radius);
  transition: background 150ms;
}
.popover-item:hover { background: var(--surface); }
.popover-item-btn {
  flex: 1;
  text-align: left;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  min-width: 0;
}
.popover-item-name { font-size: 0.875rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--foreground); }
.popover-item-desc { font-size: 0.75rem; color: var(--muted-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.popover-item-del {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-foreground);
  border-radius: var(--radius);
  transition: color 150ms, background 150ms;
  flex-shrink: 0;
  font-family: inherit;
  padding: 0;
}
.popover-item-del:hover { color: var(--destructive); background: rgba(229,62,62,0.08); }
.popover-item-del svg { width: 0.875rem; height: 0.875rem; }
.popover-save-form { display: flex; flex-direction: column; gap: 0.5rem; }

/* ============================================================
   PROFESSIONAL DETAIL PAGE
   ============================================================ */
.pro-detail-breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid rgba(196,212,230,0.6);
  padding: 1rem;
}
@media (min-width: 640px) { .pro-detail-breadcrumb { padding: 1rem 1.5rem; } }
@media (min-width: 1024px) { .pro-detail-breadcrumb { padding: 1rem 2rem; } }
.pro-detail-breadcrumb-inner { max-width: 80rem; margin: 0 auto; }
.pro-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 150ms;
}
.pro-back-link:hover { color: var(--foreground); }
.pro-back-link svg { width: 1rem; height: 1rem; }

.pro-detail-hero {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.pro-detail-hero-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}
@media (min-width: 640px) { .pro-detail-hero-inner { padding: 2.5rem 1.5rem; } }
@media (min-width: 1024px) { .pro-detail-hero-inner { padding: 3.5rem 2rem; } }
.pro-detail-identity {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .pro-detail-identity { flex-direction: row; gap: 3rem; align-items: flex-start; }
}
.pro-detail-photo-wrap {
  position: relative;
  width: 8rem;
  height: 8rem;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .pro-detail-photo-wrap { width: 10rem; height: 10rem; }
}
.pro-detail-photo {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--surface), var(--shadow-card);
}
.pro-detail-verified-badge {
  position: absolute;
  bottom: -0.5rem;
  right: -0.5rem;
  background: var(--card);
  border-radius: 9999px;
  padding: 0.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.pro-detail-verified-badge svg { width: 1.75rem; height: 1.75rem; color: var(--accent); }

.pro-detail-info { flex: 1; min-width: 0; }
.pro-detail-profession {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.pro-detail-name {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
@media (min-width: 640px) { .pro-detail-name { font-size: 2.25rem; } }
.pro-detail-headline {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}
.pro-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.pro-detail-meta-item { display: inline-flex; align-items: center; gap: 0.375rem; }
.pro-detail-meta-item svg { width: 1rem; height: 1rem; }
.pro-detail-meta-item.accent-item { color: var(--accent); }
.pro-detail-meta-item .val { font-weight: 600; color: var(--foreground); }
.pro-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.pro-contact-btn-primary {
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 150ms;
}
.pro-contact-btn-primary:hover { background: rgba(30,50,84,0.88); }
.pro-contact-btn-primary svg { width: 1rem; height: 1rem; }
.pro-contact-btn-outline {
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 150ms, border-color 150ms;
}
.pro-contact-btn-outline:hover { background: var(--surface); border-color: rgba(110,180,212,0.5); }
.pro-contact-btn-outline svg { width: 1rem; height: 1rem; }
.pro-contact-btn-ghost {
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  background: transparent;
  color: var(--foreground);
  border: none;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 150ms;
}
.pro-contact-btn-ghost:hover { background: var(--surface); }
.pro-contact-btn-ghost svg { width: 1rem; height: 1rem; }

/* Professional detail main content */
.pro-detail-main {
  background: var(--surface);
  padding: 3rem 1rem;
}
@media (min-width: 640px) { .pro-detail-main { padding: 3rem 1.5rem; } }
@media (min-width: 1024px) { .pro-detail-main { padding: 4rem 2rem; } }
.pro-detail-content-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .pro-detail-content-inner { grid-template-columns: 2fr 1fr; gap: 3rem; }
}
.pro-detail-cards { display: flex; flex-direction: column; gap: 2.5rem; }

.pro-info-card {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
@media (min-width: 640px) { .pro-info-card { padding: 2rem; } }
.pro-info-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pro-info-card h2 svg { width: 1.25rem; height: 1.25rem; color: var(--accent); }
.pro-about-text {
  margin-top: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}
.specialty-tags { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.specialty-tag {
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius);
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 0.875rem;
}
.credential-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}
.credential-item svg { width: 1.25rem; height: 1.25rem; color: var(--accent); flex-shrink: 0; margin-top: 0.125rem; }
.credential-license {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(196,212,230,0.6);
  margin-top: 0.5rem;
}
.credential-license .license-label { font-weight: 600; color: var(--foreground); white-space: nowrap; }
.credential-license .license-num { font-family: monospace; }

.reviews-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.reviews-rating {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.reviews-rating .rating-big {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}
.reviews-rating .rating-count {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.reviews-rating .star-fill { width: 1.25rem; height: 1.25rem; color: var(--accent); fill: var(--accent); }
.review-list { display: flex; flex-direction: column; gap: 1.5rem; }
.review-item { padding-bottom: 1.5rem; border-bottom: 1px solid rgba(196,212,230,0.6); }
.review-item:last-child { border-bottom: none; padding-bottom: 0; }
.review-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.review-author { font-weight: 600; color: var(--foreground); font-size: 0.9375rem; }
.review-meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.review-stars { display: flex; }
.review-stars svg { width: 0.875rem; height: 0.875rem; }
.review-stars svg.filled { fill: var(--accent); color: var(--accent); }
.review-stars svg.empty { color: var(--border); }
.review-comment { color: var(--muted-foreground); line-height: 1.65; }

/* Professional sidebar */
.pro-sidebar { }
.pro-sidebar-sticky {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .pro-sidebar-sticky { position: sticky; top: 7rem; }
}
.pro-contact-card {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
.pro-contact-card h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}
.pro-contact-links { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.pro-contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--foreground);
  transition: color 150ms;
  overflow: hidden;
}
.pro-contact-link:hover { color: var(--accent); }
.pro-contact-link svg { width: 1rem; height: 1rem; color: var(--muted-foreground); flex-shrink: 0; }
.pro-contact-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pro-send-msg-btn {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  height: 2.75rem;
  background: var(--accent);
  color: var(--accent-foreground);
  border: none;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  line-height: 2.75rem;
  transition: background 150ms;
  text-decoration: none;
}
.pro-send-msg-btn:hover { background: rgba(110,180,212,0.88); }

.pro-details-card {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.pro-details-section {}
.pro-details-section h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.pro-details-section h3 svg { width: 1rem; height: 1rem; }
.pro-details-divider { border-top: 1px solid rgba(196,212,230,0.6); padding-top: 1.25rem; }
.lang-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lang-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--foreground);
}
.service-areas { display: flex; flex-direction: column; gap: 0.375rem; }
.service-area-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
}
.service-area-item svg { width: 0.875rem; height: 0.875rem; color: var(--muted-foreground); }

/* Related professionals section */
.related-pros-section {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 1rem;
}
@media (min-width: 640px) { .related-pros-section { padding: 4rem 1.5rem; } }
@media (min-width: 1024px) { .related-pros-section { padding: 4rem 2rem; } }
.related-pros-inner { max-width: 80rem; margin: 0 auto; }
.related-pros-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.related-pros-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}
.related-pros-view-all {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .navbar, .mobile-enquiry-bar, .detail-action-btns, .similar-section, footer { display: none !important; }
  .detail-price-block { background: #fff !important; color: #000 !important; border: 1px solid #ccc; }
  .detail-main-title { color: #000 !important; }
  .agent-card, .agency-card { box-shadow: none !important; border: 1px solid #ccc; }
  main { padding-top: 0 !important; }
  body { font-size: 12px; }
}

/* ============================================================
   GLOBAL CUSTOM DROPDOWN (cv-select)
   Progressive enhancement of native <select> elements.
   Mirrors the React/shadcn Select: trigger + popover + checkmark.
   ============================================================ */
.cv-select {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}
.cv-select-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  min-width: 0;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  text-align: left;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
  transition: border-color 150ms, box-shadow 150ms;
}
.cv-select-trigger:hover { border-color: rgba(110,180,212,0.5); }
.cv-select-trigger[aria-expanded="true"],
.cv-select-trigger:focus-visible {
  border-color: var(--ring);
  box-shadow: 0 0 0 1px var(--ring);
}
.cv-select-trigger .cv-select-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cv-select-trigger.cv-placeholder .cv-select-label { color: var(--muted-foreground); }
.cv-select-icon-left {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--muted-foreground);
}
.cv-select-icon-left svg { width: 1rem; height: 1rem; }
.cv-select-chevron {
  display: inline-flex;
  flex-shrink: 0;
  opacity: 0.5;
}
.cv-select-chevron svg { width: 1rem; height: 1rem; }
.cv-select-menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  z-index: 60;
  min-width: 100%;
  width: max-content;
  max-width: 22rem;
  max-height: 18rem;
  overflow-y: auto;
  padding: 0.25rem;
  background: var(--popover);
  color: var(--popover-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px -12px rgba(15,23,42,0.25);
  display: none;
  animation: cvSelectIn 130ms cubic-bezier(0.22, 1, 0.36, 1);
}
.cv-select-menu.open { display: block; }
.cv-select-menu.align-end { left: auto; right: 0; }
.cv-select-option {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.375rem 0.5rem 0.375rem 2rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
  background: none;
  border: none;
  border-radius: calc(var(--radius) - 0.25rem);
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition: background-color 120ms, color 120ms;
}
.cv-select-option:hover,
.cv-select-option.cv-active {
  background: var(--accent);
  color: var(--accent-foreground);
  outline: none;
}
.cv-select-option .cv-check {
  position: absolute;
  left: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}
.cv-select-option .cv-check svg { width: 0.9rem; height: 0.9rem; }
.cv-select-option[aria-selected="true"] .cv-check { opacity: 1; }
@keyframes cvSelectIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   PROFESSIONALS — STICKY FILTER BAR + BROWSE BY CATEGORY
   Mirrors professionals.index.tsx + ProfessionTaxonomy.tsx
   ============================================================ */
.pro-filter-bar {
  position: sticky;
  top: 4rem;
  z-index: 30;
  background: rgba(243,248,252,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,212,230,0.6);
}
.pro-filter-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 640px) { .pro-filter-inner { padding: 0.75rem 1.5rem; } }
@media (min-width: 1024px) { .pro-filter-inner { padding: 0.75rem 2rem; } }
.pro-filter-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 640px) { .pro-filter-row { gap: 0.75rem; } }
.pro-search-wrap {
  position: relative;
  flex: 1;
}
@media (min-width: 640px) { .pro-search-wrap { flex: 0 1 20rem; max-width: 20rem; } }
.pro-search-wrap svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
  pointer-events: none;
}
.pro-search-wrap .filter-input {
  width: 100%;
  height: 2.5rem;
  padding-left: 2.5rem;
}
.pro-verified-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.75rem;
  height: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  white-space: nowrap;
}
.pro-verified-toggle label {
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.pro-switch {
  position: relative;
  width: 2.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  border-radius: 9999px;
  border: none;
  background: var(--muted);
  cursor: pointer;
  transition: background-color 180ms;
  padding: 0;
}
.pro-switch::after {
  content: "";
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: transform 180ms;
}
.pro-switch.on { background: var(--accent); }
.pro-switch.on::after { transform: translateX(1rem); }
.pro-filter-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.pro-filter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.pro-filter-meta .clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  font-size: 0.75rem;
  font-family: inherit;
}
.pro-filter-meta .clear-btn:hover { color: var(--foreground); }
.pro-filter-meta .clear-btn svg { width: 0.875rem; height: 0.875rem; }
.pro-filter-meta .count strong { color: var(--foreground); font-weight: 600; }

/* Browse by category (taxonomy) */
.taxonomy { display: flex; flex-direction: column; gap: 1.5rem; }
.taxonomy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.taxonomy-head h2 {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}
.taxonomy-head .clear-link {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.taxonomy-head .clear-link:hover { color: var(--foreground); text-decoration: underline; }
.taxonomy-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) { .taxonomy-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .taxonomy-tiles { grid-template-columns: repeat(8, 1fr); } }
.taxonomy-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem;
  min-height: 104px;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  cursor: pointer;
  font-family: inherit;
  transition: all 200ms;
}
.taxonomy-tile svg { width: 1.25rem; height: 1.25rem; transition: color 150ms; }
.taxonomy-tile:hover {
  border-color: rgba(110,180,212,0.6);
  color: var(--foreground);
  box-shadow: var(--shadow-card);
}
.taxonomy-tile:hover svg { color: var(--accent); }
.taxonomy-tile .tile-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}
.taxonomy-tile.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}
.taxonomy-tile.active svg { color: var(--primary-foreground); }
.taxonomy-pills {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: none;
}
.taxonomy-pills.open { display: block; }
.taxonomy-pills-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.taxonomy-pill {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted-foreground);
  cursor: pointer;
  font-family: inherit;
  transition: all 150ms;
}
.taxonomy-pill:hover { border-color: rgba(110,180,212,0.6); color: var(--foreground); }
.taxonomy-pill.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.taxonomy-detail {
  background: rgba(110,180,212,0.05);
  border: 1px solid rgba(110,180,212,0.3);
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: none;
}
.taxonomy-detail.open { display: block; }
.taxonomy-detail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.taxonomy-detail-head h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}
.taxonomy-detail-head .spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
}
.taxonomy-detail p.desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}
.taxonomy-specs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.taxonomy-spec-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius);
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 0.75rem;
  font-weight: 400;
}

/* Why-choose feature columns */
.why-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-col { text-align: center; }
.why-col .why-icon {
  margin: 0 auto 1rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: rgba(110,180,212,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-col .why-icon svg { width: 1.5rem; height: 1.5rem; color: var(--accent); }
.why-col h3 { font-size: 1.125rem; font-weight: 600; color: var(--foreground); }
.why-col p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* Professional CTA with checklist */
.pro-cta-list {
  margin: 2rem auto 0;
  display: inline-flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}
.pro-cta-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(247,249,252,0.8);
}
.pro-cta-list li svg { width: 1rem; height: 1rem; color: var(--accent); flex-shrink: 0; }
