/* ================================================================
   PALIMARWAR.COM — Rajasthani Modernism Design System
   
   Palette: Terracotta + Sand + Bone + Deep Espresso
   Typography: Playfair Display (display) · Inter (UI) · Noto Devanagari
   Grid: Swiss discipline with warm Rajasthani warmth
   ================================================================ */

/* ── Design Tokens ──────────────────────────────────────────────── */
:root {
  /* Brand — Rajasthani Terracotta palette */
  --terra:        #C65200;   /* primary terracotta */
  --terra-dark:   #A34200;   /* deeper terracotta */
  --terra-light:  #FF8040;   /* lighter/hover state */
  --terra-dim:    rgba(198,82,0,.1);
  --terra-glow:   rgba(198,82,0,.25);
  --sand:         #F5EDD5;   /* warm sand background */
  --sand-2:       #EDE0C4;   /* darker sand */
  --sand-3:       #F9F4EB;   /* lightest sand */
  --bone:         #FDFAF4;   /* near-white bone */
  --espresso:     #1A0E00;   /* deep brown-black */
  --espresso-2:   #2C1A0A;   /* header bg */
  --espresso-3:   #3D2614;   /* slightly lighter */
  --gold:         #D4A043;   /* accent gold */
  --gold-dim:     rgba(212,160,67,.15);

  /* Neutrals */
  --ink:          #1A0E00;
  --ink-2:        #3D2614;
  --ink-3:        #7A5C3E;
  --ink-4:        #B09070;
  --border:       #DDD0B8;
  --border-2:     #EDE4D0;
  --surface:      #FFFFFF;
  --bg:           #FAF6EE;

  /* Semantic */
  --green:        #2A6B45;
  --green-bg:     #D6F0E3;
  --wa:           #25D366;
  --wa-bg:        #D4F7E0;
  --red:          #B71C1C;

  /* Shadows */
  --sh-xs:   0 1px 2px rgba(26,14,0,.06);
  --sh-sm:   0 2px 4px rgba(26,14,0,.08), 0 1px 2px rgba(26,14,0,.06);
  --sh:      0 4px 12px rgba(26,14,0,.08), 0 2px 4px rgba(26,14,0,.06);
  --sh-md:   0 8px 24px rgba(26,14,0,.10), 0 4px 8px rgba(26,14,0,.06);
  --sh-lg:   0 16px 40px rgba(26,14,0,.12), 0 8px 16px rgba(26,14,0,.08);
  --sh-terra: 0 4px 20px rgba(198,82,0,.25);

  /* Radii */
  --r-xs: 3px;
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 9999px;

  /* Typography */
  --f-display: 'Playfair Display', Georgia, serif;
  --f-ui:      'Inter', system-ui, -apple-system, sans-serif;
  --f-hindi:   'Noto Sans Devanagari', sans-serif;

  /* Layout */
  --hdr-h:  68px;
  --max-w:  1200px;
  --ease:   cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(0,0,.2,1);
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; min-height: 100%; }
body {
  font-family: var(--f-ui);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--hdr-h);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { display: block; max-width: 100%; height: auto; }
a   { color: var(--terra); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: inherit; }
ul  { list-style: none; }
input, select, textarea { font-family: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(198,82,0,.3);
  outline-offset: 3px;
}

/* ── Layout ──────────────────────────────────────────────────────── */
.container {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 20px;
}
@media (min-width: 640px)  { .container { padding: 0 28px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

main {
  display: block;
  flex: 1 0 auto;
  width: 100%;
}

/* ── Accessibility ───────────────────────────────────────────────── */
.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; }
/* ════════════════════════════════════════════════════════════════
   HEADER — Single row: Logo | Search | Nav | CTA + Hamburger
   ════════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 600;
  height: var(--hdr-h);
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}

.hdr-row {
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}
@media (min-width: 900px) {
  .hdr-row { gap: 20px; }
}

/* Logo */
.hdr-logo {
  flex-shrink: 0;
  display: flex; align-items: center;
  transition: opacity .2s;
}
.hdr-logo:hover { opacity: .85; }
.hdr-logo img { height: 44px; width: auto; }

/* Search (centre — expands to fill space) */
.hdr-search {
  flex: 1;
  min-width: 0;
  max-width: 480px;
  display: none;
}
@media (min-width: 640px) { .hdr-search { display: block; } }
@media (min-width: 900px) {
  .hdr-search {
    flex: 0 1 360px;
    max-width: 360px;
    margin-right: auto;
  }
}

.hdr-search-inner {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  transition: background .2s, border-color .2s, box-shadow .2s;
  overflow: hidden;
}
.hdr-search-inner:focus-within {
  background: #ffffff;
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(198,82,0,.18);
}
.hdr-search-ico {
  position: absolute; left: 14px;
  color: var(--ink-3); pointer-events: none; flex-shrink: 0;
}
.hdr-search-inner input {
  flex: 1; min-width: 0;
  border: none; outline: none; background: transparent;
  padding: 10px 44px 10px 42px;
  font-size: 14px; color: var(--ink);
  font-family: var(--f-ui);
}
.hdr-search-inner input::placeholder { color: var(--ink-4); }

.hdr-search-btn {
  position: absolute; right: 4px;
  width: 34px; height: 34px;
  background: var(--terra); color: #fff;
  border: none; border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.hdr-search-btn:hover { background: var(--terra-light); }

/* Desktop Nav (right side) */
.hdr-nav {
  display: none;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
@media (min-width: 900px) { .hdr-nav { display: flex; } }
@media (min-width: 900px) {
  .hdr-nav {
    margin-left: auto;
    justify-content: flex-end;
  }
}

.hdr-nav-link {
  padding: 7px 14px;
  color: var(--ink-2);
  font-size: 14px; font-weight: 500;
  border-radius: var(--r);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.hdr-nav-link:hover { color: var(--terra); background: var(--terra-dim); text-decoration: none; }
.hdr-nav-active  { color: var(--terra) !important; font-weight: 700; }

/* Header right actions */
.hdr-right {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0; margin-left: auto;
}
@media (min-width: 640px) { .hdr-right { margin-left: 0; } }
@media (min-width: 900px) { .hdr-right { margin-left: 12px; } }

.btn-add-biz {
  display: none;
  align-items: center; gap: 6px;
  padding: 8px 16px;
  background: var(--terra); color: #fff;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  white-space: nowrap; transition: background .2s, transform .15s;
}
.btn-add-biz:hover { background: var(--terra-light); transform: translateY(-1px); text-decoration: none; color: #fff; }
@media (min-width: 900px) { .btn-add-biz { display: flex; } }

.hdr-search-toggle, .hdr-hamburger {
  width: 40px; height: 40px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  transition: background .15s, color .15s;
}
.hdr-search-toggle:hover, .hdr-hamburger:hover {
  background: var(--terra-dim); color: var(--terra); border-color: var(--terra);
}
@media (min-width: 640px) { .hdr-search-toggle { display: none; } }
@media (min-width: 900px) { .hdr-hamburger     { display: none; } }

.hdr-hamburger { flex-direction: column; gap: 5px; }
.hdr-hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--ink-2); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.hdr-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hdr-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile search panel */
.mobile-search-panel {
  border-top: 1px solid var(--border);
  padding: 10px 0 12px;
}
.mobile-search-panel[hidden] { display: none; }
.mobile-search-panel .hdr-search-inner { border-radius: var(--r-pill); }

/* ── Mobile Drawer ───────────────────────────────────────────────── */
.drawer-overlay {
  display: none; position: fixed; inset: 0; z-index: 700;
  background: rgba(26,14,0,.6); backdrop-filter: blur(3px);
}
.drawer-overlay.is-open { display: block; }

.mobile-drawer {
  position: fixed; top: 0; right: -320px; bottom: 0; z-index: 800;
  width: 290px; max-width: 85vw;
  background: var(--espresso-2);
  border-left: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--sh-lg);
  transition: right .3s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.is-open { right: 0; }

.drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.drawer-logo-text {
  font-family: var(--f-display); font-size: 20px;
  color: #fff; letter-spacing: .02em;
}
.drawer-close-btn {
  width: 36px; height: 36px; border-radius: var(--r);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); transition: all .2s;
}
.drawer-close-btn:hover { background: var(--terra); color: #fff; border-color: var(--terra); }

.drawer-nav { flex: 1; padding: 12px 12px; }
.drawer-link {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px;
  color: rgba(255,255,255,.65); font-size: 15px; font-weight: 500;
  border-radius: var(--r); transition: all .15s;
}
.drawer-link:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.drawer-link--active { background: var(--terra-dim); color: var(--terra-light); }
.drawer-link--active:hover { background: rgba(198,82,0,.2); }

.drawer-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
}

/* ════════════════════════════════════════════════════════════════
   HERO — Desert dawn gradient, dot grid, warm glow
   ════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--espresso-2) 0%, #2C1200 50%, #1A0800 100%);
  padding: 72px 0 60px;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(212,160,67,.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-glow-1 {
  position: absolute; top: -80px; left: -60px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(198,82,0,.18) 0%, transparent 68%);
  filter: blur(40px);
}
.hero-glow-2 {
  position: absolute; bottom: -60px; right: -40px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,160,67,.12) 0%, transparent 70%);
  filter: blur(50px);
}
.hero-badge, .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 18px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--r-pill);
  color: #ffffff; font-size: 13px; font-weight: 600; letter-spacing: .06em;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(40px, 9vw, 84px);
  line-height: 1; color: #fff; letter-spacing: .01em;
  margin-bottom: 14px;
}
.hero-title .ht-terra { color: var(--terra-light); }
.hero-title .ht-gold  { color: var(--gold); }
.hero-sub {
  font-family: var(--f-ui);
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255,255,255,.5);
  margin-bottom: 40px; line-height: 1.6;
}
/* Hero search */
.hero-search-wrap {
  position: relative; max-width: 600px; margin: 0 auto 24px;
}
.hero-search-inner {
  position: relative;
  display: flex; align-items: center;
  background: var(--bone); border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(26,14,0,.35), 0 0 0 1px rgba(212,160,67,.2);
  transition: box-shadow .3s;
}
.hero-search-inner:focus-within {
  box-shadow: 0 12px 40px rgba(26,14,0,.35), 0 0 0 3px var(--terra);
}
.hero-search-ico {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  color: var(--ink-3); pointer-events: none;
}
.hero-search-input {
  flex: 1; min-width: 0; border: none; outline: none;
  padding: 18px 16px 18px 54px;
  font-size: 16px; color: var(--ink);
  background: transparent; font-family: var(--f-ui);
}
.hero-search-input::placeholder { color: var(--ink-4); }
.hero-search-btn {
  padding: 14px 26px;
  background: var(--terra); color: #fff; border: none;
  border-radius: 0 var(--r-xl) var(--r-xl) 0;
  font-size: 15px; font-weight: 700; letter-spacing: .04em;
  font-family: var(--f-ui); white-space: nowrap; transition: background .2s;
}
.hero-search-btn:hover { background: var(--terra-dark); }
/* Hero quick tags */
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; }
.hero-tag-lbl { font-size: 12px; color: rgba(255,255,255,.35); }
.hero-tag {
  padding: 5px 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-pill); color: rgba(255,255,255,.65); font-size: 13px;
  transition: all .2s;
}
.hero-tag:hover { background: rgba(198,82,0,.2); border-color: var(--terra); color: #fff; text-decoration: none; }

/* ── Ticker ──────────────────────────────────────────────────────── */
.ticker {
  background: var(--espresso-3);
  border-bottom: 2px solid rgba(212,160,67,.2);
  padding: 9px 0; overflow: hidden;
}
.ticker-track {
  display: flex; width: max-content;
  animation: tick 32s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; padding: 0 24px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.45); white-space: nowrap; letter-spacing: .03em; }
.ticker-dot  { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--terra); margin-left: 24px; }
@keyframes tick { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Sections ────────────────────────────────────────────────────── */
.section      { padding: 56px 0; }
.section-alt  { background: var(--bone); }
.section-dark { background: var(--espresso); }
.ad-row { padding: 12px 0; background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); margin-bottom: 6px; }
.sec-title { font-family: var(--f-display); font-size: clamp(26px,5vw,40px); color: var(--ink); line-height: 1.05; }
.sec-title span { color: var(--terra); }
.sec-title-light { color: rgba(255,255,255,.9); }
.sec-link { font-size: 13px; font-weight: 600; color: var(--terra); white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; }

/* ── Category Grid ───────────────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
@media (min-width:480px)  { .cat-grid { grid-template-columns: repeat(4,1fr); gap: 12px; } }
@media (min-width:640px)  { .cat-grid { grid-template-columns: repeat(5,1fr); gap: 14px; } }
@media (min-width:900px)  { .cat-grid { grid-template-columns: repeat(6,1fr); } }
@media (min-width:1100px) { .cat-grid { grid-template-columns: repeat(11,1fr); gap: 10px; } }

.cat-tile {
  background: var(--surface); border: 1.5px solid var(--border-2);
  border-radius: var(--r-lg); padding: 16px 8px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  transition: all .22s var(--ease); text-decoration: none; color: var(--ink);
  position: relative;
}
.cat-tile:hover { border-color: var(--terra); transform: translateY(-4px); box-shadow: var(--sh-md); text-decoration: none; color: var(--ink); }
.cat-tile:hover .cat-icon-wrap { background: var(--terra-dim); }
.cat-icon-wrap { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--sand-3); transition: background .2s; }
.cat-icon-wrap svg { width: 44px; height: 44px; display: block; }
.cat-name { font-size: 11px; font-weight: 600; color: var(--ink-2); line-height: 1.3; }
.cat-count { font-size: 10px; color: var(--ink-4); font-weight: 500; }

/* ── Business Cards ──────────────────────────────────────────────── */
.biz-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width:600px) { .biz-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width:900px) { .biz-grid { grid-template-columns: repeat(3,1fr); } }

.biz-card {
  background: var(--surface); border: 1.5px solid var(--border-2);
  border-radius: var(--r-lg); display: flex; flex-direction: column; overflow: hidden;
  transition: border-color .2s, box-shadow .25s var(--ease);
}
.biz-card:hover { border-color: var(--terra); box-shadow: var(--sh-md); }
.biz-card-head { padding: 14px 16px 0; display: flex; align-items: center; justify-content: space-between; }
.biz-card-body { padding: 10px 16px; flex: 1; }
.biz-card-foot { padding: 12px 16px; border-top: 1px solid var(--border-2); display: flex; gap: 8px; flex-wrap: wrap; background: var(--sand-3); }
.biz-name { font-size: 16px; font-weight: 700; color: var(--ink); margin: 8px 0 6px; line-height: 1.3; }
.biz-name a { color: inherit; }
.biz-name a:hover { color: var(--terra); text-decoration: none; }
.biz-addr, .biz-svc { font-size: 13px; color: var(--ink-3); margin-bottom: 4px; display: flex; align-items: flex-start; gap: 5px; line-height: 1.5; }
.biz-category { font-size: 11px; font-weight: 600; color: var(--terra); background: var(--terra-dim); padding: 2px 9px; border-radius: var(--r-pill); }
.feat-badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 9px; background: var(--gold-dim); color: #8B5A00; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn-terra, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; background: var(--terra); color: #fff;
  border: none; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  transition: background .2s, transform .15s; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn-terra:hover, .btn-primary:hover { background: var(--terra-dark); transform: translateY(-1px); color: #fff; text-decoration: none; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; background: transparent; color: var(--terra);
  border: 1.5px solid var(--terra); border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; transition: all .2s; text-decoration: none;
}
.btn-outline:hover { background: var(--terra); color: #fff; text-decoration: none; }

/* Call button */
.btn-call {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 12px; background: var(--green-bg); color: var(--green);
  border-radius: var(--r-pill); font-size: 13px; font-weight: 700;
  transition: all .2s; text-decoration: none; white-space: nowrap;
}
.btn-call:hover { background: var(--green); color: #fff; text-decoration: none; }
/* WhatsApp button */
.btn-wa {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 12px; background: var(--wa-bg); color: var(--wa);
  border-radius: var(--r-pill); font-size: 13px; font-weight: 700;
  transition: all .2s; text-decoration: none; white-space: nowrap;
}
.btn-wa:hover { background: var(--wa); color: #fff; text-decoration: none; }
/* Details button */
.btn-details {
  display: inline-flex; align-items: center;
  padding: 7px 14px; margin-left: auto;
  background: var(--bg); color: var(--ink-2);
  border: 1.5px solid var(--border); border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600; transition: all .2s; text-decoration: none;
}
.btn-details:hover { border-color: var(--terra); color: var(--terra); text-decoration: none; }
/* Misc small */
.btn-small {
  padding: 6px 14px; font-size: 12px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 4px;
  border: 1.5px solid var(--border); color: var(--ink-3); background: var(--bg);
  transition: all .2s; text-decoration: none;
}
.btn-small:hover { border-color: var(--terra); color: var(--terra); text-decoration: none; }
.w-full { width: 100%; justify-content: center !important; }

/* Full-width phone button (detail page) */
.phone-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: var(--green-bg); color: var(--green);
  border-radius: var(--r); font-size: 18px; font-weight: 800;
  text-decoration: none; transition: all .2s; margin-bottom: 8px;
}
.phone-btn:hover { background: var(--green); color: #fff; text-decoration: none; }
.wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 18px; width: 100%; margin-bottom: 14px;
  background: var(--wa); color: #fff; border-radius: var(--r);
  font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s;
}
.wa-btn:hover { background: #20ba5b; text-decoration: none; color: #fff; }

/* ── Page Hero (inner pages) ─────────────────────────────────────── */
.page-header, .page-hero {
  background: linear-gradient(135deg, var(--espresso-2) 0%, var(--espresso-3) 100%);
  padding: 28px 0 24px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.page-hero-inner { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.page-hero-icon  { width: 52px; height: 52px; flex-shrink: 0; border-radius: var(--r); }
.page-hero-title { font-family: var(--f-display); font-size: clamp(26px,5vw,44px); color: #fff; line-height: 1.05; margin-top: 8px; }
.page-hero-title span { color: var(--terra-light); }
.page-hero-sub   { font-size: 14px; color: rgba(255,255,255,.62); margin-top: 6px; max-width: 720px; }

/* ── Breadcrumb ──────────────────────────────────────────────────── */
/* Fix: no list-style, no numbers, horizontal layout */
.breadcrumb { margin-bottom: 12px; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none !important;
  counter-reset: none;
  padding: 0; margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.3);
}
.breadcrumb ol li {
  display: flex; align-items: center;
  gap: 10px;
  list-style: none !important;
  counter-increment: none !important;
}
.breadcrumb ol li::before { content: none !important; }
.breadcrumb ol li + li::before {
  content: '\203A';
  padding: 0 8px;
  color: rgba(255,255,255,.2);
  display: inline;
}
.breadcrumb a { color: rgba(255,255,255,.35); transition: color .15s; }
.breadcrumb a:hover { color: var(--terra-light); }
.breadcrumb [aria-current] { color: rgba(255,255,255,.65); font-weight: 500; }
.breadcrumb ol li + li::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-right: 4px;
  padding: 0;
  border-top: 1.5px solid rgba(255,255,255,.32);
  border-right: 1.5px solid rgba(255,255,255,.32);
  color: inherit;
  transform: rotate(45deg);
  display: inline-block;
  flex-shrink: 0;
}

/* ── Listing list ────────────────────────────────────────────────── */
.results-wrap { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width:900px) { .results-wrap { grid-template-columns: 1fr 300px; } }
.results-main { min-width: 0; }

.listing-list { display: flex; flex-direction: column; gap: 10px; }
.listing-item {
  background: var(--surface); border: 1.5px solid var(--border-2);
  border-radius: var(--r-lg); padding: 16px 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .18s, box-shadow .18s; position: relative;
}
.listing-item:hover { border-color: var(--terra); box-shadow: var(--sh-sm); }
.listing-item.is-featured { border-color: var(--gold); background: linear-gradient(to right,#FFFBF0,#fff); }
.listing-item.listing-ad  { background: transparent; border-style: dashed; border-color: rgba(198,82,0,.15); padding: 0; }
@media (min-width:600px) { .listing-item { flex-direction: row; align-items: center; gap: 20px; } }
.listing-body { flex: 1; min-width: 0; }
.listing-top  { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; flex-wrap: wrap; }
.listing-cat  { font-size: 11px; font-weight: 600; color: var(--terra); background: var(--terra-dim); padding: 2px 9px; border-radius: var(--r-pill); }
.listing-name { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 5px; line-height: 1.3; }
.listing-name a { color: inherit; }
.listing-name a:hover { color: var(--terra); text-decoration: none; }
.listing-addr, .listing-svc { font-size: 13px; color: var(--ink-3); display: flex; align-items: flex-start; gap: 5px; margin-bottom: 3px; line-height: 1.5; }
.listing-actions { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; align-items: center; }
.delivery-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--green); background: var(--green-bg); padding: 2px 8px; border-radius: var(--r-pill); }

/* ── Detail Layout ───────────────────────────────────────────────── */
.detail-wrap { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; padding: 32px 0 48px; }
@media (min-width:768px) { .detail-wrap { grid-template-columns: 1fr 300px; } }
.detail-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.detail-card { background: var(--surface); border: 1.5px solid var(--border-2); border-radius: var(--r-lg); padding: 20px 22px; }
.detail-card--ad { padding: 0; }
.detail-card-h { font-size: 15px; font-weight: 700; color: var(--ink); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--border-2); }
.phone-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.detail-fields { margin-top: 4px; }
.df-row { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--border-2); font-size: 14px; line-height: 1.5; }
.df-row:last-child { border-bottom: none; padding-bottom: 0; }
.df-row dt { font-weight: 600; color: var(--ink-3); min-width: 90px; flex-shrink: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.df-row dd { color: var(--ink-2); word-break: break-word; margin: 0; }
.df-row dd a { color: var(--terra); }
.services-list { display: flex; flex-wrap: wrap; gap: 8px; }
.services-list li { padding: 4px 12px; background: var(--terra-dim); color: var(--terra-dark); border-radius: var(--r-pill); font-size: 13px; font-weight: 600; }
.detail-desc { font-size: 15px; color: var(--ink-2); line-height: 1.8; }
.related-list { display: flex; flex-direction: column; gap: 8px; }
.related-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1.5px solid var(--border-2); border-radius: var(--r); transition: border-color .15s; }
.related-item:hover { border-color: var(--terra); }
.related-info { flex: 1; min-width: 0; }
.related-name { font-weight: 600; font-size: 14px; display: block; color: var(--ink); }
.related-name:hover { color: var(--terra); }
.related-addr { font-size: 12px; color: var(--ink-4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }

/* ── Sidebar ─────────────────────────────────────────────────────── */
.detail-sidebar, .sidebar { display: flex; flex-direction: column; gap: 14px; }
.sidebar-card, .sidebar-box {
  background: var(--surface); border: 1.5px solid var(--border-2);
  border-radius: var(--r-lg); padding: 18px 20px;
}
.sidebar-card h3, .sidebar-box h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.sidebar-card p,  .sidebar-box p  { font-size: 13px; color: var(--ink-3); line-height: 1.6; margin-bottom: 12px; }
.scard-ico,
.empty-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(198,82,0,.12), rgba(251,191,36,.12));
  color: var(--terra);
  margin: 0 auto 12px;
}
.scard-ico svg,
.empty-icon svg {
  width: 24px;
  height: 24px;
}

/* ── Directory grid ──────────────────────────────────────────────── */
.dir-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
@media (min-width:480px) { .dir-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width:640px) { .dir-grid { grid-template-columns: repeat(4,1fr); gap: 14px; } }
@media (min-width:900px) { .dir-grid { grid-template-columns: repeat(5,1fr); } }
@media (min-width:1100px){ .dir-grid { grid-template-columns: repeat(6,1fr); } }

.dir-tile {
  background: var(--surface); border: 1.5px solid var(--border-2);
  border-radius: var(--r-lg); padding: 24px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  transition: all .22s var(--ease); text-decoration: none; color: var(--ink); position: relative;
}
.dir-tile:hover { border-color: var(--terra); transform: translateY(-4px); box-shadow: var(--sh-md); text-decoration: none; color: var(--ink); }
.dir-tile:hover .cat-icon-wrap { background: var(--terra-dim); }
.dir-tile-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--sand-3); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.dir-tile-icon svg { width: 46px; height: 46px; }
.dir-tile-name  { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.dir-tile-count { font-size: 12px; color: var(--ink-4); }
.dir-tile-arrow { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: var(--r-xs); background: var(--terra-dim); color: var(--terra); display: flex; align-items: center; justify-content: center; font-size: 12px; opacity: 0; transition: opacity .2s; }
.dir-tile:hover .dir-tile-arrow { opacity: 1; }

/* ── Subcat bar ──────────────────────────────────────────────────── */
.subcat-bar { background: var(--bone); border-bottom: 1px solid var(--border); padding: 10px 0; }
.subcat-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.subcat-scroll::-webkit-scrollbar { display: none; }
.subcat-pill { padding: 5px 14px; border: 1.5px solid var(--border); border-radius: var(--r-pill); font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; text-decoration: none; transition: all .2s; background: var(--surface); flex-shrink: 0; }
.subcat-pill:hover, .subcat-pill--active { border-color: var(--terra); background: var(--terra-dim); color: var(--terra-dark); text-decoration: none; }

/* ── Pagination ──────────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 32px; }
.pg-btn { min-width: 40px; height: 40px; padding: 0 10px; border: 1.5px solid var(--border); border-radius: var(--r-sm); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; transition: all .2s; text-decoration: none; }
.pg-btn:hover { border-color: var(--terra); color: var(--terra); text-decoration: none; }
.pg-active { background: var(--terra); border-color: var(--terra); color: #fff !important; }
.pg-ellipsis { color: var(--ink-4); padding: 0 4px; }

/* ── Empty state ─────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 60px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty-state h2 { font-size: 22px; font-weight: 700; }
.empty-state p  { color: var(--ink-3); max-width: 380px; line-height: 1.6; }

/* ── Stats / dark section ────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
@media (min-width:640px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg); padding: 24px 16px; text-align: center; }
.stat-n { font-family: var(--f-display); font-size: clamp(30px,6vw,48px); color: var(--terra-light); display: block; line-height: 1; }
.stat-l { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 6px; display: block; }

/* ── About ───────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width:768px) { .about-grid { grid-template-columns: 1.2fr 1fr; } }
.about-text h2 { font-family: var(--f-display); font-size: clamp(26px,4.5vw,38px); color: var(--ink); margin-bottom: 14px; line-height: 1.1; }
.about-text h2 span { color: var(--terra); }
.about-text p  { color: var(--ink-2); margin-bottom: 14px; line-height: 1.8; font-size: 15px; }

/* ── Classifieds ─────────────────────────────────────────────────── */
.classifieds-layout { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width:900px) { .classifieds-layout { grid-template-columns: 1fr 300px; } }
.classifieds-main { display: flex; flex-direction: column; gap: 14px; }
.clf-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width:480px) { .clf-cats { grid-template-columns: repeat(3,1fr); } }
.clf-cat { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--r); background: var(--bg); font-size: 13px; }
.clf-emoji { font-size: 20px; flex-shrink: 0; }
.clf-cat-n { font-weight: 700; }
.clf-cat-d { font-size: 11px; color: var(--ink-4); }
.clf-ad { display: flex; gap: 16px; padding: 16px; border: 1.5px solid var(--border-2); border-radius: var(--r-lg); background: var(--bone); margin-bottom: 12px; }
.clf-ad:last-child { margin-bottom: 0; }
.clf-ad-logo { flex-shrink: 0; width: 100px; }
.clf-ad-logo img { width: 100%; border-radius: var(--r-sm); }
.clf-ad-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.clf-ad-body p  { font-size: 13px; color: var(--ink-2); margin-bottom: 4px; line-height: 1.6; }
.clf-ad-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
@media (max-width:479px) { .clf-ad { flex-direction: column; } }

/* ── Search tips ─────────────────────────────────────────────────── */
.search-tips { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 24px 28px; max-width: 540px; }
.search-tips h2 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.search-tips ul { display: flex; flex-direction: column; gap: 8px; padding-left: 18px; list-style: disc; }
.search-tips li { font-size: 14px; color: var(--ink-2); }
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.search-tag,.qt-tag { padding: 5px 14px; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-pill); font-size: 13px; color: var(--ink-3); transition: all .2s; text-decoration: none; }
.search-tag:hover,.qt-tag:hover { border-color: var(--terra); color: var(--terra); text-decoration: none; }
.listing-cat-badge { font-size: 11px; font-weight: 600; color: var(--terra); background: var(--terra-dim); padding: 2px 9px; border-radius: var(--r-pill); }

.search-form-row {
  position: relative;
  margin-top: -18px;
  z-index: 2;
}
.search-form-row .container {
  display: flex;
  justify-content: center;
}
.search-form-row form {
  width: 100%;
  max-width: 760px;
}
.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,.94);
  border: 1.5px solid rgba(255,255,255,.55);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  backdrop-filter: blur(14px);
}
.search-wrap:focus-within {
  border-color: var(--terra);
  box-shadow: var(--sh-md), 0 0 0 3px rgba(198,82,0,.16);
}
.search-ico {
  position: absolute;
  left: 26px;
  color: var(--ink-4);
  pointer-events: none;
}
.search-pg-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 12px 10px 44px;
  font-size: 15px;
  color: var(--ink);
}
.search-pg-input::placeholder { color: var(--ink-4); }
.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--terra);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.search-btn:hover {
  background: var(--terra-dark);
  transform: translateY(-1px);
}
.page-search .hdr-search,
.page-search .hdr-search-toggle,
.page-search .mobile-search-panel {
  display: none !important;
}
.page-search .page-hero {
  padding-bottom: 40px;
}
.page-search .search-tips,
.page-search .empty-state {
  margin: 0 auto;
}
@media (max-width: 639px) {
  .search-form-row {
    margin-top: -12px;
  }
  .search-wrap {
    padding: 10px;
    border-radius: var(--r-lg);
  }
  .search-btn {
    width: 100%;
  }
}
@media (max-width: 599px) {
  .search-wrap {
    flex-wrap: wrap;
  }
  .search-pg-input {
    width: 100%;
  }
}

/* ── Share buttons ───────────────────────────────────────────────── */
.share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; transition: all .2s; text-decoration: none; }
.share-fb { background: #e7f0fe; color: #1877f2; }
.share-fb:hover { background: #1877f2; color: #fff; text-decoration: none; }
.share-wa { background: var(--wa-bg); color: var(--wa); }
.share-wa:hover { background: var(--wa); color: #fff; text-decoration: none; }

/* Stars */
.stars-fill { color: var(--gold); letter-spacing: 2px; }

/* mark highlight */
mark { background: rgba(198,82,0,.15); color: var(--ink); border-radius: 3px; padding: 0 2px; }

/* Ad placeholders */
.ad-unit {
  display: block;
  width: 100%;
  min-width: 0;
  text-align: center;
}
.ad-unit ins.adsbygoogle {
  display: block !important;
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  margin: 0 auto;
}
.ad-unit--leaderboard {
  min-height: 108px;
  max-width: 970px;
  margin: 0 auto;
}
.ad-unit--rectangle {
  min-height: 276px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.ad-unit--infeed { min-height: 148px; }
.ad-unit--inarticle { min-height: 180px; }
.detail-card--ad .ad-unit {
  padding: 18px 16px;
}
.ad-unit--rectangle ins.adsbygoogle {
  width: 300px !important;
  height: 250px !important;
  max-width: 100%;
}
.ad-unit[data-ad-status="unfilled"] {
  display: none !important;
}
.ad-unit[hidden] {
  display: none !important;
}
.ad-lbl  { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 6px; }
.ad-placeholder { width: 100%; min-height: 90px; max-width: 728px; background: var(--bg); border: 2px dashed var(--border); border-radius: var(--r); display: flex; align-items: center; justify-content: center; color: var(--ink-4); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer {
  background: var(--espresso-2);
  color: rgba(255,255,255,.55);
  padding-top: 56px;
  margin-top: auto;
}
@media (max-width: 899px) {
  .site-footer { padding-bottom: 84px; }
}
@media (min-width: 900px) {
  .site-footer { padding-bottom: 0; }
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.07); }
@media (min-width:640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width:900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; } }
.footer-brand img { filter: brightness(1.1); margin-bottom: 12px; }
.footer-tagline { font-size: 14px; margin-bottom: 14px; line-height: 1.6; }
.footer-contact { display: grid; gap: 10px; font-size: 13px; line-height: 1.6; }
.footer-contact p { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: rgba(255,255,255,.58); }
.footer-contact-label {
  min-width: 54px;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}
.footer-contact a { color: rgba(255,255,255,.56); }
.footer-contact a:hover { color: var(--terra-light); }
.footer-h { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.42); transition: color .15s; }
.footer-links a:hover { color: var(--terra-light); }
.footer-p { font-size: 13px; line-height: 1.6; margin-bottom: 12px; }
.footer-cta-btn { display: flex; align-items: center; gap: 8px; padding: 9px 14px; margin-bottom: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r); color: rgba(255,255,255,.65); font-size: 13px; font-weight: 600; transition: all .2s; text-decoration: none; }
.footer-cta-btn svg { flex-shrink: 0; }
.footer-cta-btn:hover { background: var(--terra-dim); border-color: var(--terra); color: var(--terra-light); text-decoration: none; }
.footer-wa-btn:hover { background: rgba(37,211,102,.12); border-color: var(--wa); color: var(--wa); }
.footer-stats { display: flex; gap: 20px; margin-top: 8px; }
.fstat { text-align: center; }
.fstat-n { font-family: var(--f-display); font-size: 28px; color: var(--terra-light); display: block; line-height: 1; }
.fstat-l { font-size: 12px; color: rgba(255,255,255,.3); }
.social-row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.soc-btn { width: 36px; height: 36px; border-radius: var(--r-sm); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.45); transition: all .2s; }
.soc-btn:hover { background: var(--terra); color: #fff; border-color: var(--terra); }
.soc-btn.wa:hover { background: var(--wa); border-color: var(--wa); }
.footer-bottom { padding: 18px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 13px; }
.footer-copy a { color: rgba(255,255,255,.28); }
.footer-copy a:hover { color: var(--terra-light); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,.28); }
.footer-legal a:hover { color: var(--terra-light); }

/* ── Mobile Bottom Nav ───────────────────────────────────────────── */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 400;
  height: 62px; background: var(--espresso-2);
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: stretch;
  box-shadow: 0 -4px 20px rgba(26,14,0,.3);
}
@media (min-width:900px) { .bottom-nav { display: none; } }
.bnav-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; font-weight: 600; color: rgba(255,255,255,.38); text-decoration: none; transition: color .15s; border: none; background: none; cursor: pointer; font-family: inherit; padding: 4px 0; }
.bnav-item:hover, .bnav-item.active { color: var(--terra-light); text-decoration: none; }
.bnav-fab-wrap { flex: 0 0 70px; display: flex; align-items: center; justify-content: center; }
.bnav-fab { width: 50px; height: 50px; background: var(--terra); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(198,82,0,.5); transition: all .25s var(--ease); text-decoration: none; position: relative; bottom: 14px; }
.bnav-fab:hover { background: var(--terra-dark); transform: scale(1.08) translateY(-2px); box-shadow: 0 8px 24px rgba(198,82,0,.55); text-decoration: none; }

/* ── Scroll reveal ───────────────────────────────────────────────── */
.sr { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.sr.visible { opacity: 1; transform: translateY(0); }
.sr-d1 { transition-delay: .05s; }
.sr-d2 { transition-delay: .12s; }
.sr-d3 { transition-delay: .19s; }
.sr-d4 { transition-delay: .26s; }

/* ── Utilities ───────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.flex  { display: flex; }
.gap-8 { gap: 8px; }
.items-center { align-items: center; }

/* Modern product refinements */
.site-header {
  background: rgba(253,250,244,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(122,92,62,.12);
  box-shadow: 0 10px 30px rgba(26,14,0,.05);
}
.site-header.scrolled {
  box-shadow: 0 16px 40px rgba(26,14,0,.08);
}
.hdr-nav-link {
  font-weight: 600;
}
.hdr-search-inner {
  background: rgba(255,255,255,.82);
}
.btn-add-biz {
  box-shadow: 0 10px 24px rgba(198,82,0,.18);
}

.sec-sub {
  max-width: 620px;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-3);
}

.page-home .section {
  padding: 72px 0;
}
.page-home .hero {
  padding: 82px 0 78px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 28px;
  align-items: stretch;
}
.hero-main {
  position: relative;
  z-index: 1;
}
.hero-title {
  margin-bottom: 16px;
}
.hero-title-accent {
  color: var(--gold);
}
.page-home .hero-sub {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255,255,255,.72);
}
.page-home .hero-search-wrap {
  max-width: none;
  margin: 0 0 18px;
}
.page-home .hero-search-inner {
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(253,250,244,.96);
}
.page-home .hero-search-btn {
  min-height: 60px;
  padding: 0 30px;
  border-radius: 0 28px 28px 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.hero-action-secondary {
  border-color: rgba(255,255,255,.24);
  color: #fff;
  background: rgba(255,255,255,.08);
}
.hero-action-secondary:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.38);
  color: #fff;
}
.page-home .hero-tags {
  justify-content: flex-start;
  margin-bottom: 28px;
}
.hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.hero-kpi {
  padding: 18px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.hero-kpi strong {
  display: block;
  font-family: var(--f-display);
  font-size: 30px;
  line-height: 1;
  color: #fff;
}
.hero-kpi span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.62);
}
.hero-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04)),
    rgba(26,14,0,.34);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
  backdrop-filter: blur(16px);
}
.hero-panel-card h2 {
  margin: 8px 0 10px;
  font-family: var(--f-display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  color: #fff;
}
.hero-panel-card p {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  line-height: 1.7;
}
.hero-panel-eyebrow {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
}
.hero-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-quick-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  text-decoration: none;
}
.hero-quick-card:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.24);
  text-decoration: none;
}
.hero-quick-name {
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
.hero-quick-meta {
  font-size: 12px;
  color: rgba(255,255,255,.62);
}
.hero-proof-list {
  display: grid;
  gap: 10px;
  padding-left: 0;
}
.hero-proof-list li {
  list-style: none;
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,.76);
  font-size: 14px;
}
.hero-proof-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(212,160,67,.16);
}

.page-home .cat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 700px) {
  .page-home .cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1040px) {
  .page-home .cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.page-home .cat-tile {
  align-items: flex-start;
  min-height: 218px;
  padding: 24px 22px 20px;
  gap: 16px;
  text-align: left;
  box-shadow: var(--sh-xs);
}
.page-home .cat-tile:hover {
  transform: translateY(-6px);
}
.page-home .cat-icon-wrap {
  width: 66px;
  height: 66px;
}
.page-home .cat-icon-wrap svg {
  width: 52px;
  height: 52px;
}
.page-home .cat-name {
  font-size: 18px;
  font-weight: 700;
}
.page-home .cat-count {
  font-size: 13px;
}
.cat-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(198,82,0,.08);
  color: var(--terra);
  font-size: 16px;
  font-weight: 700;
}

.page-home .biz-grid {
  gap: 20px;
}
.page-home .biz-card {
  border-radius: 22px;
  box-shadow: var(--sh-xs);
}
.page-home .biz-card:hover {
  transform: translateY(-4px);
}
.page-home .biz-card-head {
  padding: 18px 20px 0;
}
.page-home .biz-card-body {
  padding: 12px 20px 18px;
}
.page-home .biz-card-foot {
  padding: 14px 20px 18px;
  background: linear-gradient(180deg, rgba(245,237,213,.65), rgba(255,255,255,.96));
}
.page-home .biz-name {
  font-size: 20px;
  margin-top: 12px;
}
.page-home .biz-svc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.biz-card--ad {
  border-style: dashed;
  border-color: rgba(198,82,0,.2);
  background: transparent;
  padding: 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.value-card {
  padding: 26px 24px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #fff9f1);
  border: 1px solid var(--border-2);
  box-shadow: var(--sh-xs);
}
.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  margin-bottom: 20px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--terra-dim);
  color: var(--terra);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}
.value-title {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--ink);
}
.value-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-3);
}

.dir-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 720px) {
  .dir-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1080px) {
  .dir-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.dir-tile {
  box-shadow: var(--sh-xs);
}

.listing-item {
  box-shadow: var(--sh-xs);
  background: linear-gradient(180deg, #fff, #fffaf4);
}
.listing-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh);
}
.listing-actions {
  justify-content: flex-end;
}

@media (min-width: 900px) {
  .sidebar {
    position: sticky;
    top: calc(var(--hdr-h) + 24px);
    align-self: start;
  }
}
@media (min-width: 768px) {
  .detail-sidebar {
    position: sticky;
    top: calc(var(--hdr-h) + 24px);
    align-self: start;
  }
}

@media (max-width: 1039px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }
  .hero-panel {
    order: 2;
  }
}
@media (max-width: 899px) {
  .page-home .hero {
    text-align: center;
  }
  .page-home .hero-sub,
  .sec-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .page-home .hero-tags,
  .hero-actions {
    justify-content: center;
  }
  .page-home .cat-tile {
    min-height: 0;
  }
}
@media (max-width: 719px) {
  .hero-kpis,
  .value-grid {
    grid-template-columns: 1fr;
  }
  .hero-quick-grid {
    grid-template-columns: 1fr;
  }
  .page-home .hero-search-btn {
    min-height: 54px;
    padding: 0 22px;
  }
}
@media (max-width: 599px) {
  .page-home .hero-search-inner {
    flex-wrap: wrap;
    border-radius: 24px;
  }
  .page-home .hero-search-input {
    width: 100%;
    padding-right: 18px;
  }
  .page-home .hero-search-btn {
    width: calc(100% - 12px);
    margin: 0 6px 6px;
    border-radius: 999px;
  }
  .page-home .hero-kpi strong {
    font-size: 26px;
  }
}

/* Refined hero and breadcrumb overrides */
.breadcrumb {
  margin-bottom: 12px;
}
.breadcrumb ol {
  gap: 10px;
}
.breadcrumb ol li {
  gap: 10px;
}
.breadcrumb ol li + li::before { content: none !important; }
.breadcrumb-sep {
  display: inline-block;
  margin-right: 2px;
  color: rgba(255,255,255,.72);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-1px);
}
.breadcrumb a {
  color: rgba(255,255,255,.42);
}
.breadcrumb [aria-current] {
  color: rgba(255,255,255,.72);
  font-weight: 600;
}

.ad-row {
  padding: 20px 0 0;
  background: transparent;
  border: 0;
}
.ad-placeholder {
  min-height: 88px;
  background: linear-gradient(180deg, rgba(248,244,236,.9), rgba(243,236,226,.9));
  border: 1px dashed rgba(170,138,104,.35);
  border-radius: 18px;
  color: #8f7a63;
}

.page-home .hero {
  text-align: left;
}
.page-home .hero-sub {
  max-width: 620px;
  margin-bottom: 24px;
}
.hero-shell {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 36px;
  align-items: center;
}
.hero-main {
  max-width: 700px;
}
.page-home .hero-search-wrap {
  margin-bottom: 20px;
}
.hero-actions {
  margin-bottom: 24px;
}
.hero-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 640px;
}
.hero-kpi {
  padding: 18px 18px;
  border-radius: 20px;
}
.hero-panel {
  gap: 18px;
  padding: 28px;
  border-radius: 30px;
  max-width: 470px;
  margin-left: auto;
}
.hero-panel-card h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.08;
  max-width: 12ch;
}
.hero-panel-card p {
  line-height: 1.65;
  max-width: 34ch;
}
.hero-panel-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.hero-panel-stat {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
}
.hero-panel-stat strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--f-display);
  font-size: 24px;
  line-height: 1;
  color: #fff;
}
.hero-panel-stat span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.64);
  line-height: 1.5;
}

@media (max-width: 899px) {
  .page-home .hero {
    text-align: center;
  }
}

@media (max-width: 719px) {
  .hero-panel-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1039px) {
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-main {
    max-width: none;
  }
  .hero-panel {
    order: 2;
    max-width: none;
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 899px) {
  .page-home .hero {
    padding: 64px 0 56px;
    text-align: center;
  }
  .page-home .hero-sub,
  .hero-panel-card p,
  .hero-panel-card h2 {
    max-width: none;
  }
  .page-home .hero-search-wrap,
  .hero-kpis {
    max-width: none;
  }
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 719px) {
  .hero-panel {
    padding: 22px;
    border-radius: 24px;
  }
  .hero-quick-grid,
  .hero-kpis,
  .value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 599px) {
  .hero-shell {
    gap: 22px;
  }
  .page-home .hero-search-inner {
    flex-wrap: wrap;
    padding: 6px;
    border-radius: 24px;
  }
  .page-home .hero-search-ico {
    top: 22px;
    transform: none;
  }
  .page-home .hero-search-input {
    width: 100%;
    padding: 14px 16px 14px 46px;
  }
  .page-home .hero-search-btn {
    width: 100%;
    min-height: 48px;
    margin: 4px 0 0;
    border-radius: 999px;
  }
  .hero-panel {
    padding: 20px;
  }
}

/* Shared icon and card refinements */
.page-hero-icon--svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.page-hero-icon--svg svg {
  width: 52px;
  height: 52px;
  display: block;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.contact-action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fff8f1);
}
.contact-action-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-action-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--terra-dim);
  color: var(--terra-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-action-number {
  font-size: 20px;
  line-height: 1.1;
  color: var(--ink);
}
.contact-action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.contact-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.contact-action-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.contact-action-btn--call {
  background: var(--green-bg);
  color: var(--green);
}
.contact-action-btn--call:hover {
  background: var(--green);
  color: #fff;
}
.contact-action-btn--wa {
  background: var(--wa-bg);
  color: var(--wa);
}
.contact-action-btn--wa:hover {
  background: var(--wa);
  color: #fff;
}
.contact-action-icon,
.df-icon,
.share-btn-icon,
.home-classified-meta-icon,
.footer-contact-icon {
  flex-shrink: 0;
}

.df-row dt {
  display: flex;
  align-items: center;
  gap: 8px;
}
.df-icon {
  color: var(--terra);
}

.share-btn-icon {
  width: 14px;
  height: 14px;
}

.clf-emoji--icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--terra-dim);
  color: var(--terra);
}

.home-classified-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 900px) {
  .home-classified-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.home-classified-card {
  height: 100%;
  margin-bottom: 0;
  box-shadow: var(--sh-xs);
  background: linear-gradient(180deg, #fff, #fff9f1);
}
.home-classified-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--terra-dim);
  color: var(--terra-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-classified-meta {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-3);
}
.home-classified-meta-icon {
  margin-top: 2px;
  color: var(--terra);
}

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  color: var(--terra-light);
}

.hero-shell--solo {
  display: block;
  max-width: 760px;
  margin: 0 auto;
}
.page-home .hero-shell--solo .hero-main {
  max-width: none;
  margin: 0 auto;
  text-align: center;
}
.page-home .hero-shell--solo .hero-sub,
.page-home .hero-shell--solo .hero-search-wrap,
.page-home .hero-shell--solo .hero-kpis {
  margin-left: auto;
  margin-right: auto;
}
.page-home .hero-shell--solo .hero-actions {
  justify-content: center;
}

@media (max-width: 767px) {
  .contact-action-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-action-number {
    font-size: 18px;
  }
  .contact-action-buttons {
    width: 100%;
  }
  .contact-action-btn {
    flex: 1 1 160px;
  }
}
