/* ════════════════════════════════════════════════════════════════
   FyndIt — new_main.css
   New Design System — matches approved homepage layout
   Brand: Logo Green #015a61 · Logo Blue #0e2055 · Gold #e08226
   Fonts: Oswald (headings) · Inter (content)
   Replaces main.css across all pages as they are restyled
════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── DESIGN TOKENS ── */
:root {
  /* Brand */
  --teal:         #015a61;
  --teal-dark:    #014a50;
  --teal-light:   #e0f2f3;
  --navy:         #0e2055;
  --navy-mid:     #162f6e;

  /* Tier colours */
  --bronze:       #8c3302;
  --bronze-bg:    #fdf0e8;
  --bronze-border:#c45a2a;
  --silver:       #6c6b6a;
  --silver-bg:    #f3f4f6;
  --silver-border:#9ca3af;
  --gold:         #e08226;
  --gold-bg:      #fef8ee;
  --gold-border:  #e08226;

  /* UI */
  --green:        #2d9c6e;
  --green-light:  #e6f7f1;
  --red:          #dc2626;
  --amber:        #f59e0b;

  /* Neutrals */
  --ink:          #0e2055;
  --body:         #374151;
  --muted:        #6b7280;
  --border:       #e2e8f0;
  --border-dark:  #cbd5e1;
  --surface:      #f8fafc;
  --surface2:     #f0f4f8;
  --white:        #ffffff;

  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-sans:    'Inter', 'Cabinet Grotesk', sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;

  /* Spacing */
  --page-px:      5rem;
  --section-py:   4rem;

  /* Radius */
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:    0 10px 30px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.05);
  --shadow-card:  0 2px 8px rgba(13,31,60,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-sans); }

/* ── ACCESSIBILITY ── */
.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--teal); color: white;
  padding: 12px 20px; font-weight: 700; font-size: 14px;
  z-index: 99999; text-decoration: none;
  border-radius: 0 0 8px 0; transition: top 0.2s;
}
.skip-link:focus { top: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: flex-start; gap: 0.75rem;
  padding: 0 1.5rem; height: 68px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Logo */
.navbar .logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans); font-weight: 800;
  font-size: 1.4rem; color: var(--teal); text-decoration: none;
  flex-shrink: 0;
}
.navbar .logo img { height: 43px; width: auto; }

/* Center nav links */
.navbar .nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none; position: static; transform: none; margin-left: 4rem; flex-shrink: 0;
}
.navbar .nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
  text-decoration: none; transition: color 0.18s; position: relative;
  padding-bottom: 2px;
}
.navbar .nav-links a:hover { color: var(--teal); }
.navbar .nav-links a.active {
  color: var(--teal); font-weight: 600;
}
.navbar .nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--teal); border-radius: 2px;
}
.navbar .nav-links .has-dropdown { position: relative; }
.navbar .nav-links .has-dropdown > a::after { content: none; }
.navbar .nav-links .dropdown-arrow {
  font-size: 0.7rem; margin-left: 3px; opacity: 0.6;
}

/* Right side nav actions */
.navbar .nav-actions {
  display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; margin-left: auto;
}
.navbar .nav-actions a { font-size: 0.88rem; font-weight: 500; color: var(--ink); transition: color 0.18s; }
.navbar .nav-actions a:hover { color: var(--teal); }

/* Login button */
.btn-login {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1.1rem; border: 1.5px solid var(--border-dark);
  border-radius: 8px; font-size: 0.88rem; font-weight: 600;
  color: var(--ink); background: transparent;
  transition: border-color 0.18s, color 0.18s;
}
.btn-login:hover { border-color: var(--teal); color: var(--teal); }

/* Primary CTA button */
.btn-primary { color: white !important; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.25rem; background: var(--teal);
  color: white; border: none; border-radius: 8px;
  font-size: 0.88rem; font-weight: 700;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(26,107,107,0.3);
}
.btn-primary:hover {
  background: var(--teal-dark); transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26,107,107,0.35);
}
.btn-primary:active { transform: translateY(0); }

/* Secondary button */
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.25rem; background: transparent;
  color: var(--ink); border: 1.5px solid var(--border-dark);
  border-radius: 8px; font-size: 0.88rem; font-weight: 600;
  transition: border-color 0.18s, background 0.18s;
}
.btn-secondary:hover { border-color: var(--teal); background: var(--teal-light); color: var(--teal); }

/* Ghost/outline teal */
.btn-outline-teal {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.25rem; background: transparent;
  color: var(--teal); border: 1.5px solid var(--teal);
  border-radius: 8px; font-size: 0.88rem; font-weight: 700;
  transition: background 0.18s;
}
.btn-outline-teal:hover { background: var(--teal-light); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none;
  padding: 8px; border-radius: 8px; z-index: 2001;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════
   MOBILE MENU
════════════════════════════════════════ */
.mobile-menu {
  display: flex; position: fixed; top: 0; right: 0;
  width: min(320px, 100vw); height: 100vh;
  background: var(--white); z-index: 2000;
  flex-direction: column; padding: 5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.77,0,0.175,1);
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  border-left: 1px solid var(--border);
  overflow-y: auto; visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-close-btn {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 38px; height: 38px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--ink); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s;
}
.mobile-close-btn:hover { background: var(--teal-light); color: var(--teal); }
.mobile-nav-links { list-style: none; margin-bottom: 1.5rem; }
.mobile-link {
  display: block; font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; color: var(--ink);
  text-decoration: none; padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.18s;
}
.mobile-profile-section { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 12px; }
.mobile-profile-section .mp-label { font-family: var(--font-sans); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); padding: 0 0 8px; }
.mobile-profile-section a { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--ink); text-decoration: none; font-family: var(--font-sans); font-size: 0.9rem; }
.mobile-link:hover { color: var(--teal); }
.mobile-menu-footer { margin-top: auto; padding-top: 1.5rem; font-size: 0.75rem; color: var(--muted); }
.menu-backdrop {
  display: block; position: fixed; inset: 0;
  background: rgba(0,0,0,0.35); z-index: 1999;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.menu-backdrop.open { opacity: 1; visibility: visible; }

/* ════════════════════════════════════════
   PROFILE DROPDOWN (logged in)
════════════════════════════════════════ */
.profile-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 100px; padding: 5px 12px 5px 6px;
  cursor: pointer; color: var(--ink);
  font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600;
  transition: border-color 0.18s, background 0.18s;
}
.profile-btn:hover { border-color: var(--teal); background: var(--teal-light); }
.profile-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0; color: white;
}
.profile-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  min-width: 220px; overflow: hidden;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s; z-index: 9999;
}
.profile-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.profile-dropdown-header { padding: 14px 16px 10px; border-bottom: 1px solid var(--border); }
.pd-name { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.pd-header-business { font-size: 0.76rem; font-weight: 600; color: var(--teal); margin-top: 1px; }
.pd-email { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.profile-dropdown-section { padding: 6px 0; border-bottom: 1px solid var(--border); }
.profile-dropdown-section:last-child { border-bottom: none; }
.pd-business-label {
  padding: 8px 16px 4px; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.profile-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px; color: var(--body);
  font-size: 0.85rem; transition: background 0.15s, color 0.15s;
}
.profile-dropdown a:hover { background: var(--surface); color: var(--teal); }
.pd-icon {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}

/* ════════════════════════════════════════
   NAVBAR SEARCH
════════════════════════════════════════ */
.navbar-search {
  display: flex; align-items: center;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 100px; padding: 5px 5px 5px 14px; gap: 6px;
  flex: 1; max-width: 340px; margin: 0 1.5rem;
  transition: border-color 0.18s, box-shadow 0.18s; position: relative;
}
.navbar-search:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,107,107,0.1);
}
.navbar-search input {
  flex: 1; background: none; border: none; outline: none;
  font-family: var(--font-sans); font-size: 0.85rem; color: var(--ink); min-width: 0;
}
.navbar-search input::placeholder { color: var(--muted); }
.navbar-search-btn {
  background: var(--teal); color: white; border: none;
  border-radius: 100px; padding: 6px 14px;
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: background 0.18s;
}
.navbar-search-btn:hover { background: var(--teal-dark); }
.navbar-search-results {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  z-index: 99999; max-height: 420px; overflow-y: auto;
  display: none; padding: 8px;
}
.navbar-search-results.show { display: block; }
.nsr-section-label {
  font-size: 0.65rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em; padding: 8px 10px 4px;
}
.nsr-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-md);
  cursor: pointer; transition: background 0.15s; text-decoration: none;
}
.nsr-item:hover { background: var(--surface); }
.nsr-icon {
  width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.nsr-info { flex: 1; min-width: 0; }
.nsr-name { font-size: 0.88rem; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nsr-sub  { font-size: 0.72rem; color: var(--muted); margin-top: 1px; }
.nsr-tag  { font-size: 0.68rem; font-weight: 700; color: var(--muted); background: var(--surface); border-radius: 4px; padding: 2px 6px; flex-shrink: 0; }
.nsr-empty  { padding: 1.5rem; text-align: center; color: var(--muted); font-size: 0.85rem; }
.nsr-loading{ padding: 1rem; text-align: center; color: var(--muted); font-size: 0.82rem; }

/* ════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════ */
.hero {
  padding-top: 68px; /* navbar height */
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Left content */
.hero-left {
  padding: 4rem var(--page-px) 4rem 6rem;
  position: relative; z-index: 1;
}

/* Right graphic area */
.hero-right {
  position: relative; height: 100%;
  background: linear-gradient(160deg, #e8f4f4 0%, #f0f7ff 60%, #e8edf5 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-right .wave-bg {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 60%; opacity: 0.6;
}

/* Live eyebrow */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; color: var(--green);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(45,156,110,0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(45,156,110,0); }
}

/* Main headline */
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 700; line-height: 1.08; letter-spacing: 0.01em;
  color: var(--navy); margin-bottom: 1rem;
  text-transform: uppercase;
}
.hero-headline .accent { color: var(--teal); }

/* Sub text */
.hero-sub {
  font-size: 1rem; color: var(--navy); font-weight: 600; line-height: 1.65;
  max-width: 420px; margin-bottom: 2rem;
}
.hero-sub strong { color: var(--teal); font-weight: 700; }

.new-hero-sub{
  font-size: 1rem; color: var(--navy); font-weight: 600; line-height: 1.65;
  max-width: 480px; margin-bottom: 2rem;
  display: none;
}

.new-hero-sub.is-visible {
  display: block; /* or whatever display type it should be */
}

/* ── SEARCH BAR ── */
.h-search {
  display: flex; align-items: center; background: var(--white);
  border: 1.5px solid var(--border-dark); border-radius: var(--radius-md);
  padding: 5px 5px 5px 4px; width: 100%; max-width: 540px;
  box-shadow: var(--shadow-md);
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 0.75rem; position: relative; z-index: 100;
}
.h-search:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,107,107,0.1), var(--shadow-md);
}
.h-service-select {
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  font-family: var(--font-sans); font-size: 0.9rem; color: var(--ink);
  padding: 9px 8px 9px 10px; cursor: pointer; appearance: none;
}
/* Custom service dropdown (used in the hero search bar) */
.h-svc-drop { position: relative; flex: 0 1 140px; min-width: 0; }
.h-svc-btn {
  display: flex; align-items: center; gap: 0.4rem; width: 100%;
  background: none; border: none; outline: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 700;
  color: var(--navy); padding: 9px 8px 9px 10px; white-space: nowrap;
}
.h-svc-icon { display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; flex-shrink: 0; font-size: 13px; }
.h-svc-icon img { width: 16px; height: 16px; object-fit: contain; }
.h-svc-chevron { flex-shrink: 0; transition: transform 0.2s; }
.h-svc-drop.open .h-svc-chevron { transform: rotate(180deg); }
.h-svc-list {
  display: none; position: absolute; top: calc(100% + 6px); left: -10px;
  min-width: 200px; background: #fff; border: 1.5px solid var(--border);
  border-radius: 14px; box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  z-index: 3000; padding: 6px; list-style: none; margin: 0;
}
.h-svc-drop.open .h-svc-list { display: block; }
.h-svc-opt { display: flex; align-items: center; gap: 0.5rem; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 0.84rem; color: var(--navy); font-weight: 500; transition: background 0.15s; }
.h-svc-opt:hover { background: var(--teal-light); color: var(--teal); }
.h-svc-opt[aria-selected="true"] { background: var(--teal-light); color: var(--teal); font-weight: 700; }
.h-svc-opt-icon { display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; font-size: 13px; flex-shrink: 0; }
.h-svc-opt img { width: 16px; height: 16px; flex-shrink: 0; object-fit: contain; }
.h-search-divider { width: 1px; height: 22px; background: var(--border); margin: 0 4px; flex-shrink: 0; }
.h-location-wrap { flex: 1.2; min-width: 0; display: flex; align-items: center; position: relative; }
.h-location-input {
  flex: 1; background: none; border: none; outline: none;
  font-family: var(--font-sans); font-size: 0.88rem;
  color: var(--ink); padding: 9px 8px;
}
.h-location-input::placeholder { color: var(--muted); }
.h-gps-btn {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--teal-light); border: 1px solid rgba(26,107,107,0.25);
  color: var(--teal); cursor: pointer; margin-right: 4px;
  flex-shrink: 0; transition: background 0.18s, color 0.18s;
}
.h-gps-btn:hover { background: var(--teal); color: white; }
.h-gps-btn.locating { animation: gpsSpin 1s linear infinite; pointer-events: none; opacity: 0.6; }
@keyframes gpsSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.h-search-btn {
  background: var(--teal); color: white; border: none;
  border-radius: var(--radius-md); padding: 10px 22px;
  font-family: var(--font-sans); font-size: 0.88rem; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(26,107,107,0.3);
}
.h-search-btn:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(26,107,107,0.35); }

/* Location suggestions */
.location-suggestions {
  position: absolute; top: calc(100% + 6px); left: -10px; right: -36px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  z-index: 9999; max-height: 220px; overflow-y: auto; display: none;
}
.location-suggestions.show { display: block; }
.location-suggestion {
  padding: 0.6rem 1rem; font-size: 0.85rem; color: var(--body);
  cursor: pointer; display: flex; align-items: center; gap: 0.5rem;
  transition: background 0.15s;
}
.location-suggestion:hover { background: var(--surface); }
.location-suggestion span { opacity: 0.45; font-size: 0.75rem; }

/* Distance filters */
.h-filters {
  display: flex; align-items: center; gap: 0.45rem;
  flex-wrap: wrap; margin-bottom: 0.85rem;
}
.h-filter-label {
  font-size: 0.72rem; color: var(--muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.h-dist-btn {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
  color: var(--body); background: var(--surface2);
  border: 1.5px solid var(--border); border-radius: 7px;
  padding: 0.28rem 0.75rem; cursor: pointer; transition: all 0.15s;
}
.h-dist-btn:hover, .h-dist-btn.active, .h-dist-btn[aria-pressed="true"] {
  color: var(--teal); background: var(--teal-light);
  border-color: rgba(26,107,107,0.35);
}

/* Popular searches */
.h-popular {
  display: flex; align-items: center; gap: 0.5rem;
  flex-wrap: wrap; margin-bottom: 1rem;
}
.h-popular-label {
  font-size: 0.78rem; color: var(--muted); font-weight: 500;
}
.h-popular-tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.75rem; background: var(--white);
  border: 1.5px solid var(--border); border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; color: var(--body);
  cursor: pointer; transition: all 0.15s;
}
.h-popular-tag:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }
.h-popular-tag img, .h-popular-tag svg { width: 14px; height: 14px; }

/* Results pill */
.h-results-pill {
  display: none; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; color: var(--body);
}
.h-results-pill.show { display: flex; }
.h-results-pill .pill-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
}
.h-results-pill strong { color: var(--teal); font-weight: 700; }

/* Map pins (right side graphic — replaced by Sandy's assets) */
.hero-map-pins {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.map-pin-placeholder {
  width: 60px; height: 80px; background: var(--teal);
  clip-path: polygon(50% 100%, 0 35%, 14% 0, 86% 0, 100% 35%);
  position: absolute;
}

/* ════════════════════════════════════════
   MAP SECTION (interactive Leaflet)
════════════════════════════════════════ */
.map-section {
  width: 100%; background: var(--white);
  padding: 0 var(--page-px) 2.5rem;
  box-sizing: border-box;
}
.map-section-inner {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); height: 420px;
  border: 1.5px solid var(--border);
}
#leafletMap { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-live-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 1000;
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 100px;
  padding: 0.4rem 0.9rem;
  font-size: 0.72rem; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm); pointer-events: none;
}
.map-float-cards {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  z-index: 1000; display: flex; gap: 0.5rem;
  width: max-content; max-width: calc(100% - 2rem);
}
.map-mini-card {
  background: rgba(255,255,255,0.96); backdrop-filter: blur(14px);
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  padding: 0.6rem 0.9rem; display: flex; align-items: center; gap: 0.5rem;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
  text-decoration: none; box-shadow: var(--shadow-sm);
}
.map-mini-card:hover, .map-mini-card.active {
  border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.mmc-icon { font-size: 1rem; }
.mmc-name { font-size: 0.72rem; font-weight: 700; color: var(--ink); }
.mmc-sub  { font-size: 0.62rem; color: var(--muted); margin-top: 1px; }
.leaflet-control-attribution { display: none !important; }

/* Leaflet popup */
.fynd-popup .leaflet-popup-content-wrapper {
  background: var(--navy); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); box-shadow: 0 8px 32px rgba(0,0,0,0.4); padding: 0;
}
.fynd-popup .leaflet-popup-content { margin: 12px 14px; }
.fynd-popup .leaflet-popup-tip-container { display: none; }

/* ════════════════════════════════════════
   T&C MODAL
════════════════════════════════════════ */
.tc-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px); z-index: 99998;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.tc-overlay.show { opacity: 1; pointer-events: all; }
.tc-modal {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 2rem 2.2rem; max-width: 480px; width: calc(100% - 2rem);
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  transform: translateY(20px); transition: transform 0.25s;
}
.tc-overlay.show .tc-modal { transform: translateY(0); }
.tc-modal h2 { font-family: var(--font-sans); font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; }
.tc-modal p { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.1rem; line-height: 1.6; }
.tc-modal-body {
  background: var(--surface); border-radius: var(--radius-md); padding: 1rem;
  max-height: 160px; overflow-y: auto; font-size: 0.8rem; color: var(--body);
  line-height: 1.7; margin-bottom: 1.1rem;
}
.tc-actions { display: flex; gap: 0.75rem; }
.tc-accept-btn {
  flex: 1; background: var(--teal); color: white; border: none;
  border-radius: var(--radius-md); padding: 0.85rem;
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 700;
  cursor: pointer; transition: background 0.18s;
  box-shadow: 0 4px 12px rgba(26,107,107,0.3);
}
.tc-accept-btn:hover { background: var(--teal-dark); }
.tc-decline-btn {
  padding: 0.85rem 1.1rem; background: var(--surface);
  color: var(--muted); border: none; border-radius: var(--radius-md);
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: background 0.18s;
}
.tc-decline-btn:hover { background: var(--border); }

/* ════════════════════════════════════════
   CONTACT US MODAL
════════════════════════════════════════ */
.fc-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px); z-index: 99998;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.fc-overlay.show { opacity: 1; pointer-events: all; }
.fc-modal {
  position: relative;
  background: var(--white); border-radius: var(--radius-xl);
  padding: 2rem 2.2rem; max-width: 440px; width: calc(100% - 2rem);
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  transform: translateY(20px); transition: transform 0.25s;
}
.fc-overlay.show .fc-modal { transform: translateY(0); }
.fc-modal h2 { font-family: var(--font-sans); font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 0.4rem; }
.fc-modal p { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.3rem; line-height: 1.6; }
.fc-close {
  position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px;
  border: none; background: var(--surface); border-radius: 50%;
  font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s;
}
.fc-close:hover { background: var(--border); }
.fc-field { margin-bottom: 1rem; }
.fc-field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.fc-field input, .fc-field textarea {
  width: 100%; padding: 0.7rem 0.85rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-md); font-family: var(--font-sans); font-size: 0.87rem;
  color: var(--navy); background: white; outline: none; box-sizing: border-box;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.fc-field textarea { resize: vertical; min-height: 90px; }
.fc-field input:focus, .fc-field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(1,90,97,0.1); }
.fc-alert { display: none; padding: 0.65rem 0.85rem; border-radius: var(--radius-md); font-size: 0.82rem; margin-bottom: 1rem; line-height: 1.4; }
.fc-alert.show { display: block; }
.fc-alert-success { background: rgba(1,90,97,0.07); border: 1px solid rgba(1,90,97,0.25); color: var(--teal-dark); }
.fc-alert-error { background: rgba(198,40,40,0.07); border: 1px solid rgba(198,40,40,0.22); color: #c62828; }
.fc-submit-btn {
  width: 100%; background: var(--teal); color: white; border: none;
  border-radius: var(--radius-md); padding: 0.85rem;
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 700;
  cursor: pointer; transition: background 0.18s;
  box-shadow: 0 4px 12px rgba(26,107,107,0.3);
}
.fc-submit-btn:hover { background: var(--teal-dark); }
.fc-submit-btn:disabled { opacity: 0.65; pointer-events: none; }

/* ════════════════════════════════════════
   SECTION UTILITIES
════════════════════════════════════════ */
.section { padding: var(--section-py) var(--page-px); }
.section-white  { background: var(--white); }
.section-surface{ background: var(--surface2); }
.section-navy   { background: var(--navy); color: white; }

.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; }
.section-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--teal); margin-bottom: 0.35rem;
}
.section-header h2 {
  font-family: var(--font-sans); font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800; color: var(--navy); letter-spacing: -0.02em;
}
.see-all {
  font-size: 0.85rem; font-weight: 700; color: var(--teal);
  text-decoration: none; display: flex; align-items: center; gap: 0.3rem;
  transition: gap 0.18s;
}
.see-all:hover { gap: 0.55rem; }

/* ════════════════════════════════════════
   VENDOR CARDS (Featured Providers)
════════════════════════════════════════ */
.vendor-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  flex: 0 0 calc(33.333% - 1rem); min-width: calc(33.333% - 1rem);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer; position: relative;
}
.vendor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg); border-color: var(--border-dark);
}
.vendor-img-placeholder {
  width: 100%; height: 200px;
  position: relative; overflow: hidden;
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.vendor-img-placeholder img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

/* Tier badge on card image */
.tier-badge {
  position: absolute; top: 10px; left: 10px; z-index: 10;
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.65rem; border-radius: 100px;
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em;
}
.tier-badge.bronze { background: var(--bronze); color: white; }
.tier-badge.silver { background: var(--silver); color: white; }
.tier-badge.gold   { background: var(--gold);   color: white; }

/* Favourite/heart button */
.vendor-star-btn {
  position: absolute; top: 10px; right: 10px; z-index: 10;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; transition: all 0.2s;
}
.vendor-star-btn:hover { background: white; border-color: var(--amber); transform: scale(1.1); }
.vendor-star-btn.starred { background: #fff8e1; border-color: var(--amber); }

.vendor-body { padding: 1.1rem 1.25rem 1.35rem; }
.vendor-category { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.3rem; }
.vendor-name { font-weight: 800; font-size: 1.05rem; color: var(--navy); margin-bottom: 0.45rem; letter-spacing: -0.01em; }
.vendor-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: var(--body); margin-bottom: 0.9rem;
  gap: 0.5rem; flex-wrap: wrap;
}
.vendor-rating { display: flex; align-items: center; gap: 0.3rem; }
.rating-star { color: var(--amber); }
.vendor-location { display: flex; align-items: center; gap: 0.25rem; }
.vendor-price { font-weight: 700; color: var(--body); }

/* View Profile button — color matches tier */
.btn-view-profile {
  display: block; width: 100%; text-align: center;
  padding: 0.72rem; border-radius: var(--radius-md);
  font-size: 0.88rem; font-weight: 700; border: none;
  cursor: pointer; text-decoration: none;
  transition: opacity 0.18s, transform 0.12s;
}
.btn-view-profile:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-view-profile.bronze { background: var(--bronze); color: white; }
.btn-view-profile.silver { background: var(--silver-bg); color: var(--silver); border: 1.5px solid var(--silver-border); }
.btn-view-profile.gold   { background: var(--gold);   color: white; }
.btn-view-profile.default { background: var(--teal); color: white; }

/* ════════════════════════════════════════
   CAROUSEL (Featured Providers)
════════════════════════════════════════ */
.carousel-wrapper { position: relative; }
.carousel-track-outer { overflow: hidden; }
.carousel-track { display: flex; gap: 1.25rem; transition: transform 0.45s cubic-bezier(0.4,0,0.2,1); }
.carousel-controls { display: flex; justify-content: flex-end; align-items: center; margin-top: 1.5rem; gap: 1rem; }
.carousel-dots { display: flex; gap: 0.5rem; align-items: center; }
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border-dark); cursor: pointer; border: none; padding: 0;
  transition: all 0.22s;
}
.carousel-dot.active { background: var(--teal); width: 20px; border-radius: 4px; }
.carousel-arrows { display: flex; gap: 0.5rem; }
.carousel-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border-dark); background: var(--white);
  color: var(--ink); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.18s;
}
.carousel-arrow:hover { background: var(--teal); color: white; border-color: var(--teal); }

/* Skeleton loading */
.vendor-skeleton {
  flex: 0 0 calc(33.333% - 1rem); min-width: calc(33.333% - 1rem);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1.5px solid var(--border); background: var(--white);
}
.skeleton-pulse {
  background: linear-gradient(90deg, var(--surface2) 25%, var(--border) 50%, var(--surface2) 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.4s ease-in-out infinite;
}
@keyframes skeletonPulse { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════ */
.hiw-section {
  padding: var(--section-py) var(--page-px);
  background: var(--white);
}
.hiw-section h2 {
  font-family: var(--font-sans); font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800; color: var(--navy); text-align: center;
  margin-bottom: 2.5rem; letter-spacing: -0.02em;
}
.hiw-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2.5rem;
}
.hiw-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem; border-radius: var(--radius-lg);
  background: var(--white); border: 1.5px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: default;
}
.hiw-item:hover { border-color: var(--teal); box-shadow: var(--shadow-md); }
.hiw-icon-wrap {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}
.hiw-icon-wrap.bronze { background: var(--bronze); }
.hiw-icon-wrap.silver { background: var(--silver); }
.hiw-icon-wrap.gold   { background: var(--gold); }
.hiw-content { flex: 1; }
.hiw-step { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.3rem; }
.hiw-step.bronze { color: var(--bronze); }
.hiw-step.silver { color: var(--silver); }
.hiw-step.gold   { color: var(--gold); }
.hiw-title { font-weight: 800; font-size: 0.98rem; color: var(--navy); margin-bottom: 0.4rem; line-height: 1.3; }
.hiw-body { font-size: 0.8rem; color: var(--body); line-height: 1.6; margin-bottom: 0.6rem; }
.hiw-tag {
  display: inline-flex; align-items: center;
  font-size: 0.62rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.07em; padding: 0.18rem 0.6rem; border-radius: 100px;
}
.hiw-tag.free   { background: var(--teal-light); color: var(--teal); }
.hiw-tag.bronze { background: var(--bronze-bg); color: var(--bronze); }
.hiw-tag.silver { background: var(--silver-bg); color: var(--silver); }
.hiw-tag.gold   { background: var(--gold-bg); color: var(--gold); }
.hiw-arrow {
  color: var(--border-dark); font-size: 1.1rem;
  align-self: center; flex-shrink: 0;
}

/* ════════════════════════════════════════
   STATS ROW
════════════════════════════════════════ */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--white);
}
.stat-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.75rem var(--page-px);
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-icon-wrap {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal-light); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; color: var(--teal); font-size: 1.1rem;
}
.stat-info strong { display: block; font-weight: 800; font-size: 0.92rem; color: var(--navy); }
.stat-info span   { font-size: 0.78rem; color: var(--muted); }

/* ════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════ */
.cta-banner {
  margin: 2.5rem var(--page-px);
  background: var(--surface2); border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.cta-banner-left { display: flex; align-items: center; gap: 1.5rem; }
.cta-icon-wrap {
  width: 70px; height: 70px; border-radius: var(--radius-lg);
  background: var(--teal-light); display: flex; align-items: center;
  justify-content: center; font-size: 2rem; flex-shrink: 0;
}
.cta-text h3 { font-weight: 800; font-size: 1.25rem; color: var(--navy); margin-bottom: 0.35rem; letter-spacing: -0.01em; }
.cta-text p  { font-size: 0.88rem; color: var(--body); line-height: 1.55; }
.cta-banner .btn-primary { white-space: nowrap; padding: 0.75rem 1.75rem; font-size: 0.92rem; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer.site-footer {
  background: var(--navy); color: rgba(255,255,255,0.75);
  padding: 3.5rem var(--page-px) 2rem;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.35rem; font-weight: 800; color: white; margin-bottom: 0.75rem;
}
.footer-brand p { font-size: 0.82rem; line-height: 1.65; color: rgba(255,255,255,0.5); max-width: 220px; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.9rem;
  transition: background 0.18s, color 0.18s;
}
.footer-social a:hover { background: var(--teal); color: white; border-color: var(--teal); }
.footer-col h4 { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: white; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a { font-size: 0.84rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.18s; }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.18s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ── footer-new (shared across all pages) ── */
.footer-new { background: #0e2055; color: rgba(255,255,255,0.7); padding: 2.25rem 6rem 1.5rem; position: relative; margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 0.25rem !important; padding-bottom: 1.5rem !important; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-bottom-bar { padding-top: 0 !important;}
.footer-brand-logo { font-size: 1.5rem; font-weight: 900; color: white; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.footer-brand-desc { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.65; max-width: 210px; margin-bottom: 1.1rem; }
.footer-social-row { display: flex; gap: 0.55rem; }
.footer-social-btn { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.55); text-decoration: none; transition: background 0.18s, color 0.18s; }
.footer-social-btn:hover { background: #015a61; color: white; border-color: #015a61; }
.footer-col-title { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: white; margin-bottom: 1rem; }
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col-links a { font-size: 0.83rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.18s; }
.footer-col-links a:hover { color: white; }
.footer-bottom-bar { display: flex; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.35); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } .footer-new { padding-left: 1.25rem; padding-right: 1.25rem; } }
@media (max-width: 480px) { .footer-new { padding: 2rem 1rem 1.5rem !important; } }

/* WhatsApp float */
.whatsapp-fab {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(37,211,102,0.5); }

/* ════════════════════════════════════════
   CARDS (profile pages, vendor page etc)
════════════════════════════════════════ */
.card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm); margin-bottom: 1.25rem;
}
.card:last-child { margin-bottom: 0; }
.card-title {
  font-weight: 800; font-size: 1rem; color: var(--navy);
  padding-bottom: 0.75rem; margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.45rem;
}

/* ════════════════════════════════════════
   FORM ELEMENTS
════════════════════════════════════════ */
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-size: 0.78rem; font-weight: 700;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.07em; margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.72rem 0.95rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  font-family: var(--font-sans); font-size: 0.9rem; color: var(--ink);
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,107,107,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ════════════════════════════════════════
   BADGES
════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.22rem 0.65rem; border-radius: 100px;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-teal    { background: var(--teal-light); color: var(--teal); border: 1px solid rgba(26,107,107,0.2); }
.badge-bronze  { background: var(--bronze-bg);  color: var(--bronze); border: 1px solid var(--bronze-border); }
.badge-silver  { background: var(--silver-bg);  color: var(--silver); border: 1px solid var(--silver-border); }
.badge-gold    { background: var(--gold-bg);    color: var(--gold);   border: 1px solid var(--gold-border); }
.badge-green   { background: var(--green-light);color: var(--green);  border: 1px solid rgba(45,156,110,0.25); }
.badge-navy    { background: rgba(13,31,60,0.06); color: var(--navy); border: 1px solid rgba(13,31,60,0.12); }

/* ════════════════════════════════════════
   TOASTS
════════════════════════════════════════ */
.success-toast {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.9rem; background: var(--green-light);
  border: 1px solid rgba(45,156,110,0.25); border-radius: 100px;
  font-size: 0.79rem; font-weight: 600; color: var(--green);
  margin-top: 0.85rem; opacity: 0; transition: opacity 0.35s;
}
.success-toast.show { opacity: 1; }
.error-toast {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.9rem; background: #fff0f0;
  border: 1px solid rgba(220,38,38,0.2); border-radius: 100px;
  font-size: 0.79rem; font-weight: 600; color: var(--red);
  margin-top: 0.85rem; opacity: 0; transition: opacity 0.35s;
}
.error-toast.show { opacity: 1; }

/* ════════════════════════════════════════
   FADE IN (scroll)
════════════════════════════════════════ */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════
   VENDOR PAGE LAYOUT
════════════════════════════════════════ */
.page-layout {
  max-width: 1100px; margin: 0 auto;
  padding: 1.75rem 1.75rem 4rem;
  display: grid; grid-template-columns: 1fr 290px;
  gap: 1.5rem; align-items: start;
}
.sidebar { position: sticky; top: 84px; }
.sidebar-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm); margin-bottom: 1.1rem;
}
.sidebar-card:last-child { margin-bottom: 0; }
.sidebar-price { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 0.25rem; }
.sidebar-price strong { font-size: 2rem; font-weight: 800; color: var(--navy); }
.sidebar-price span { font-size: 0.85rem; color: var(--muted); }
.sidebar-price-note { font-size: 0.78rem; color: var(--muted); margin-bottom: 1.1rem; line-height: 1.5; }

.request-btn {
  width: 100%; background: var(--teal); color: white; border: none;
  border-radius: var(--radius-md); padding: 0.85rem 1.25rem;
  font-family: var(--font-sans); font-size: 0.92rem; font-weight: 700;
  cursor: pointer; margin-bottom: 0.6rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  box-shadow: 0 4px 12px rgba(26,107,107,0.3);
}
.request-btn:hover { background: var(--teal-dark); transform: translateY(-1px); }

.message-btn {
  width: 100%; background: transparent; color: var(--ink);
  border: 1.5px solid var(--border-dark); padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans); font-size: 0.92rem; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: border-color 0.18s, background 0.18s;
}
.message-btn:hover { border-color: var(--teal); background: var(--teal-light); }

.sidebar-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.sidebar-stat { display: flex; flex-direction: column; gap: 0.1rem; }
.sidebar-stat strong { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.sidebar-stat span   { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; }

/* Contact list */
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.contact-list li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.85rem; color: var(--body); }
.contact-icon {
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--teal-light); border: 1px solid rgba(26,107,107,0.15);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0;
}
.contact-link { color: var(--navy); font-weight: 500; transition: color 0.18s; }
.contact-link:hover { color: var(--teal); text-decoration: underline; }

/* ════════════════════════════════════════
   VENDOR PAGE HERO CARD
════════════════════════════════════════ */
.hero-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); margin-bottom: 1.25rem; position: relative;
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--teal); z-index: 2;
}
.hero-carousel {
  position: relative; width: 100%; aspect-ratio: 21/9;
  background: var(--navy); overflow: hidden;
}
.hero-carousel .carousel-track {
  display: flex; height: 100%;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.carousel-slide { min-width: 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide.placeholder { background: linear-gradient(135deg, var(--navy), var(--teal-dark)); color: rgba(255,255,255,0.5); flex-direction: column; gap: 0.5rem; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2); color: white;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; font-size: 1.1rem; transition: background 0.18s;
}
.carousel-btn:hover { background: rgba(26,107,107,0.7); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.hero-carousel .carousel-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 10; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; transition: all 0.2s; border: none; padding: 0; }
.dot.active { background: var(--teal); transform: scale(1.3); }
.hero-info { padding: 1.2rem 1.75rem 1.5rem; border-top: 1px solid var(--border); }
.hero-name-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.vendor-avatar {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem; box-shadow: 0 3px 10px rgba(26,107,107,0.3);
}
.hero-name-row h1 { font-size: 1.5rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }
.hero-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem 0; }
.meta-item { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.83rem; color: var(--muted); }
.meta-item strong { color: var(--ink); }
.rating-stars { color: var(--amber); }
.meta-divider { width: 1px; height: 13px; background: var(--border-dark); margin: 0 0.75rem; }

/* Vendor page service list */
.service-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.service-list li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.87rem; color: var(--body);
  padding: 0.55rem 0.8rem; border-radius: var(--radius-md);
  background: var(--surface); border: 1.5px solid var(--border);
  transition: border-color 0.18s;
}
.service-list li:hover { border-color: rgba(26,107,107,0.3); }
.service-dot { width: 6px; height: 6px; flex-shrink: 0; background: var(--teal); border-radius: 50%; }
.about-text { font-size: 0.92rem; line-height: 1.75; color: var(--body); }

/* Reviews */
.reviews-list { display: flex; flex-direction: column; gap: 0.85rem; }
.review { padding: 1rem 1.1rem; border-radius: var(--radius-md); background: var(--surface); border: 1.5px solid var(--border); }
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.55rem; }
.review-author-wrap { display: flex; align-items: center; gap: 0.6rem; }
.review-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: white;
}
.review-name { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.review-date { font-size: 0.73rem; color: var(--muted); margin-top: 0.05rem; }
.review-stars { color: var(--amber); font-size: 0.88rem; }
.review-text { font-size: 0.86rem; color: var(--body); line-height: 1.62; }

/* ════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════ */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes lPulse { 0%,100% { transform:scale(1); opacity:0.25; } 50% { transform:scale(1.6); opacity:0.1; } }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1360px) {
  .navbar { padding: 0 1.25rem; }
  .navbar .nav-links { display: none; }
  .navbar .nav-actions .btn-login,
  .navbar .nav-actions .btn-primary { display: none; }
  .navbar ul.desktop-nav { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .navbar-search { display: none !important; }
}

@media (max-width: 1024px) {
  :root { --page-px: 2.5rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 3rem 2.5rem 2rem; }
  .hero-right { display: none; }
  .hiw-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --page-px: 1.25rem; --section-py: 2.5rem; }
  .hero-left { padding: 2rem 1.25rem 1.5rem; }
  .hero-headline { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .h-search { flex-direction: column; gap: 8px; padding: 10px 12px; }
  .h-search-divider { width: 100%; height: 1px; margin: 2px 0; }
  .h-search-btn { width: 100%; padding: 12px; text-align: center; }
  .h-service-select, .h-location-input { padding: 10px 0; width: 100%; }
  .h-svc-drop { flex: none; width: 100%; min-width: 0; }
  .h-svc-btn { width: 100%; border: 1.5px solid var(--border); border-radius: 8px; background: var(--surface); padding: 10px 12px; }
  .h-svc-list { left: 0; right: 0; min-width: 0; }
  .h-location-wrap { width: 100%; flex: none; border: 1.5px solid var(--border); border-radius: 8px; background: var(--surface); padding: 2px 6px; }
  .map-section { padding: 0 1.25rem 1.5rem; }
  .map-section-inner { height: 320px; }
  .vendor-card { flex: 0 0 100%; min-width: 100%; }
  .vendor-skeleton { flex: 0 0 100%; min-width: 100%; }
  .hiw-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 1.25rem; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .cta-banner { flex-direction: column; align-items: flex-start; margin: 1.5rem 1.25rem; padding: 1.75rem; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .page-layout { grid-template-columns: 1fr; padding: 1rem 0.9rem 6rem; }
  .service-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .carousel-arrows { display: none; }
  .carousel-dots { display: flex; }
}

@media (max-width: 900px) {
  .vendor-card { flex: 0 0 calc(50% - 0.625rem); min-width: calc(50% - 0.625rem); }
  .vendor-skeleton { flex: 0 0 calc(50% - 0.625rem); min-width: calc(50% - 0.625rem); }
}