/* ==========================================================================
   Brass City Hub — Moradabad
   Pure CSS design system. Palette referenced from neprastechnologies.com
   (deep navy + vivid blue) with a brass/amber accent for local identity.
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #0B1428;
  --navy-800: #16233F;
  --navy-700: #1C2B4E;
  --blue-600: #1E56E0;
  --blue-500: #2E6BFF;
  --blue-400: #6494FF;
  --sky-400: #2EC5FF;
  --brass-500: #E8A33D;
  --brass-600: #C77F1A;
  /* Surfaces */
  --bg: #FAFCFF;
  --surface: #F4F7FE;
  --surface-2: #EAF1FF;
  --line: #E2EAF8;
  --white: #FFFFFF;
  /* Text */
  --text: #1C2B4E;
  --text-muted: #51607F;
  --text-soft: #93A3C4;
  /* Status */
  --green: #10B981;
  --red: #DC2626;
  --amber: #F59E0B;
  /* Effects */
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(11, 20, 40, .07);
  --shadow-md: 0 6px 20px rgba(11, 20, 40, .09);
  --shadow-lg: 0 16px 40px rgba(11, 20, 40, .14);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
input, button, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.2rem; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; text-wrap: balance; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.muted { color: var(--text-muted); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-900); color: #fff; padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons & badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--blue-500); color: #fff; box-shadow: 0 4px 14px rgba(46, 107, 255, .35); }
.btn--primary:hover { background: var(--blue-600); color: #fff; }
.btn--brass { background: linear-gradient(135deg, var(--brass-500), var(--brass-600)); color: #fff; box-shadow: 0 4px 14px rgba(199, 127, 26, .35); }
.btn--brass:hover { color: #fff; filter: brightness(1.05); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--surface); }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { color: var(--blue-600); }
.btn--sm { padding: 8px 16px; font-size: .85rem; }
.btn--lg { padding: 15px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.badge--verified { background: #E7F8F1; color: #0B7A55; }
.badge--brass { background: linear-gradient(135deg, var(--brass-500), var(--brass-600)); color: #fff; position: absolute; top: 12px; left: 12px; box-shadow: var(--shadow-sm); }
.badge--soft { background: var(--surface-2); color: var(--blue-600); }
.badge--open { background: #E7F8F1; color: #0B7A55; }
.badge--type { background: var(--surface-2); color: var(--navy-700); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-800));
  color: #fff; font-weight: 800; font-size: 1.25rem;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.12), var(--shadow-sm);
  position: relative;
}
.brand__mark::after {
  content: ""; position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px;
  border-radius: 50%; background: linear-gradient(135deg, var(--brass-500), var(--brass-600));
  border: 2px solid #fff;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { color: var(--navy-900); font-size: 1.05rem; font-weight: 800; }
.brand__text small { color: var(--text-muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; padding: 0; }
.site-nav a:not(.btn) {
  display: block; padding: 8px 14px; border-radius: 8px;
  color: var(--text-muted); font-weight: 500; font-size: .95rem;
}
.site-nav a:not(.btn):hover { color: var(--blue-600); background: var(--surface); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--blue-600); font-weight: 600; }
.site-nav__cta { margin-left: 10px; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy-800); margin: 5px 0; border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(46,107,255,.45), transparent 60%),
              radial-gradient(900px 420px at -10% 110%, rgba(46,197,255,.25), transparent 55%),
              linear-gradient(150deg, var(--navy-900) 20%, var(--navy-800) 60%, var(--navy-700));
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 26px 26px;
}
.hero__inner { position: relative; padding: 84px 20px 96px; text-align: center; max-width: 860px; margin-inline: auto; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--sky-400);
  background: rgba(46, 197, 255, .12); border: 1px solid rgba(46, 197, 255, .3);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; margin-bottom: 14px; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--brass-500), #FFD98A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { color: #B9C6E4; font-size: clamp(1rem, 2vw, 1.15rem); max-width: 620px; margin: 0 auto 34px; }

.search-box { position: relative; max-width: 640px; margin: 0 auto 20px; }
.search-box form {
  display: flex; background: #fff; border-radius: 999px; padding: 7px;
  box-shadow: var(--shadow-lg);
}
.search-box input[type="search"] {
  flex: 1; border: 0; outline: 0; padding: 10px 22px; border-radius: 999px;
  font-size: 1rem; color: var(--text); background: transparent; min-width: 0;
}
.search-box input::placeholder { color: var(--text-soft); }
.search-box .btn { flex-shrink: 0; }
.search-suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 50;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  text-align: left; overflow: hidden; display: none; max-height: 380px; overflow-y: auto;
}
.search-suggest.is-open { display: block; }
.search-suggest a {
  display: flex; align-items: center; gap: 12px; padding: 11px 18px;
  color: var(--text); border-bottom: 1px solid var(--surface);
}
.search-suggest a:hover { background: var(--surface); text-decoration: none; }
.search-suggest a .suggest-type { margin-left: auto; font-size: .7rem; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: .05em; }
.search-suggest .suggest-empty { padding: 14px 18px; color: var(--text-muted); font-size: .9rem; }

.hero__popular { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; align-items: center; font-size: .88rem; color: #8fa2cc; }
.hero__popular a {
  color: #DCE6FB; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  padding: 6px 14px; border-radius: 999px; transition: background .15s;
}
.hero__popular a:hover { background: rgba(255,255,255,.16); text-decoration: none; }
.hero__ctas { margin-top: 34px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--surface); }
.section--navy { background: linear-gradient(150deg, var(--navy-900), var(--navy-800)); color: #fff; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section__eyebrow { color: var(--blue-500); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.section__head h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: 8px 0 10px; color: var(--navy-900); }
.section--navy .section__head h2 { color: #fff; }
.section__head p { color: var(--text-muted); }
.section--navy .section__head p { color: #B9C6E4; }
.section__foot { text-align: center; margin-top: 40px; }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; }
.cat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cat-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; color: var(--text); box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-400); text-decoration: none; }
.cat-card__icon {
  font-size: 1.5rem; width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--surface-2); border-radius: 14px; margin-bottom: 10px;
}
.cat-card strong { font-size: 1rem; color: var(--navy-800); }
.cat-card span { font-size: .82rem; color: var(--text-muted); }
.cat-card__count { margin-top: 8px; font-size: .78rem; font-weight: 700; color: var(--blue-600); background: var(--surface-2); padding: 3px 10px; border-radius: 999px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stats__item { padding: 26px 12px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.stats__num { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; color: #fff; }
.stats__num em { font-style: normal; color: var(--brass-500); }
.stats__label { color: #B9C6E4; font-size: .9rem; margin-top: 4px; }

/* ---------- Cards / listings ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }

.listing-card { display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.listing-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.listing-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.listing-card:hover .listing-card__img { transform: scale(1.05); }
.listing-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px; flex: 1; }
.listing-card__cat { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--blue-500); }
.listing-card__title { font-size: 1.08rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.listing-card__title a { color: var(--navy-800); }
.listing-card__title a:hover { color: var(--blue-600); text-decoration: none; }
.listing-card__rating { display: flex; align-items: center; gap: 6px; font-size: .88rem; }
.listing-card__meta { font-size: .86rem; color: var(--text-muted); }
.listing-card__tagline { font-size: .88rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-card__actions { display: flex; gap: 10px; margin-top: auto; padding-top: 12px; }

.stars { display: inline-flex; letter-spacing: 1px; }
.star { color: #D8E0F2; }
.star--full { color: var(--amber); }
.star--half { background: linear-gradient(90deg, var(--amber) 50%, #D8E0F2 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Job cards ---------- */
.job-card { padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .18s, box-shadow .18s; }
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.job-card__top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.job-card__logo {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--surface-2), var(--surface)); color: var(--blue-600);
  font-weight: 800; font-size: 1.1rem; flex-shrink: 0;
}
.job-card__salary { font-weight: 700; color: var(--green); font-size: .9rem; white-space: nowrap; }
.job-card h3 { font-size: 1.05rem; }
.job-card h3 a { color: var(--navy-800); }
.job-card h3 a:hover { color: var(--blue-600); text-decoration: none; }
.job-card__company { font-size: .88rem; color: var(--text-muted); }
.job-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-card__summary { font-size: .88rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; font-size: .8rem; color: var(--text-soft); }

/* ---------- Blog cards ---------- */
.post-card { display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__meta { font-size: .78rem; color: var(--text-soft); display: flex; gap: 8px; align-items: center; }
.post-card__meta .badge { font-size: .68rem; }
.post-card h3 { font-size: 1.05rem; }
.post-card h3 a { color: var(--navy-800); }
.post-card h3 a:hover { color: var(--blue-600); text-decoration: none; }
.post-card p { font-size: .88rem; color: var(--text-muted); }
.post-card__more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: .88rem; }

/* ---------- Trust / features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.feature__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--surface-2); margin-bottom: 12px; color: var(--blue-600); }
.feature__icon--green { background: #E7F8F1; color: #0B7A55; }
.feature__icon--amber { background: #FDF3E1; color: var(--brass-600); }
.feature__icon--blue { background: var(--surface-2); color: var(--blue-600); }
.feature__icon--navy { background: var(--surface-2); color: var(--navy-700); }
.feature h3 { font-size: 1rem; margin-bottom: 6px; color: var(--navy-800); }
.feature p { font-size: .87rem; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 20px; padding: 48px 40px; text-align: center; color: #fff;
  background: radial-gradient(700px 300px at 90% -20%, rgba(46,197,255,.35), transparent 60%),
              linear-gradient(135deg, var(--blue-600), var(--navy-800));
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 10px; }
.cta-band p { color: #CBD8F5; max-width: 560px; margin: 0 auto 26px; }
.cta-band .btn--light:hover { transform: translateY(-2px); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 18px 0 0; font-size: .84rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; color: var(--text-soft); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--text-soft); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs li[aria-current] { color: var(--navy-800); font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(150deg, var(--navy-900), var(--navy-800)); color: #fff; padding: 40px 0 44px; }
.page-hero .breadcrumbs a, .page-hero .breadcrumbs ol { color: #8fa2cc; }
.page-hero .breadcrumbs li[aria-current] { color: #fff; }
.page-hero h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin: 14px 0 10px; }
.page-hero p { color: #B9C6E4; max-width: 720px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; font-size: .9rem; color: #B9C6E4; align-items: center; }

/* ---------- Category page layout ---------- */
.cat-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 92px; }
.filters .card { padding: 20px; }
.filters h2 { font-size: .95rem; margin-bottom: 14px; color: var(--navy-800); }
.filters fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.filters legend { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 8px; }
.filters label { display: flex; align-items: center; gap: 8px; font-size: .88rem; padding: 4px 0; color: var(--text); cursor: pointer; }
.filters input[type="checkbox"], .filters input[type="radio"] { accent-color: var(--blue-500); width: 16px; height: 16px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar__count { font-size: .9rem; color: var(--text-muted); }
.toolbar select {
  padding: 9px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: #fff; font-size: .88rem; color: var(--text); cursor: pointer;
}

.listing-rows { display: flex; flex-direction: column; gap: 18px; }
.listing-row { display: grid; grid-template-columns: 240px 1fr; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.listing-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.listing-row__media { position: relative; min-height: 180px; background: var(--surface-2); }
.listing-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.listing-row__body { padding: 18px 22px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- SEO content & FAQ ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; color: var(--navy-800); margin: 28px 0 12px; }
.prose h3 { font-size: 1.1rem; color: var(--navy-800); margin: 20px 0 8px; }
.prose p { margin-bottom: 14px; color: var(--text-muted); }
.prose ul { margin-bottom: 14px; color: var(--text-muted); }
.prose li { margin-bottom: 6px; }

.faq-list { max-width: 820px; display: flex; flex-direction: column; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0; overflow: hidden; }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; color: var(--navy-800);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.3rem; color: var(--blue-500); transition: transform .2s; flex-shrink: 0; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 20px 16px; color: var(--text-muted); font-size: .93rem; }

/* ---------- Listing detail ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.gallery__main { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: none; width: 96px; aspect-ratio: 16/10; }
.gallery__thumbs button.is-active { border-color: var(--blue-500); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.info-card { padding: 22px; }
.info-card + .info-card { margin-top: 18px; }
.info-card h2 { font-size: 1rem; margin-bottom: 14px; color: var(--navy-800); }
.info-card__row { display: flex; gap: 10px; padding: 8px 0; font-size: .92rem; border-bottom: 1px solid var(--surface); }
.info-card__row:last-child { border-bottom: 0; }
.info-card__row dt { color: var(--text-muted); min-width: 90px; font-weight: 500; }
.info-card__row dd { margin: 0; word-break: break-word; }
.sidebar-sticky { position: sticky; top: 92px; }

.hours-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.hours-table td { padding: 7px 0; border-bottom: 1px solid var(--surface); }
.hours-table td:last-child { text-align: right; color: var(--text-muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chips li { background: var(--surface-2); color: var(--navy-700); font-size: .84rem; font-weight: 500; padding: 6px 14px; border-radius: 999px; }

.review { padding: 18px 0; border-bottom: 1px solid var(--surface); }
.review:last-child { border-bottom: 0; }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.review__avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600)); color: #fff; font-weight: 700;
}
.review__name { font-weight: 600; font-size: .93rem; color: var(--navy-800); }
.review__date { font-size: .78rem; color: var(--text-soft); }
.review h3 { font-size: .95rem; margin: 4px 0; }
.review p { font-size: .9rem; color: var(--text-muted); }

.map-embed { border: 0; width: 100%; height: 300px; border-radius: var(--radius); }

/* ---------- Article ---------- */
.article-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }
.article-body { max-width: 760px; margin-inline: auto; font-size: 1.04rem; }
.article-body h2 { font-size: 1.4rem; margin: 30px 0 12px; color: var(--navy-800); }
.article-body p { margin-bottom: 16px; color: #33415E; }
.article-body ul { margin-bottom: 16px; color: #33415E; }
.article-body li { margin-bottom: 8px; }
.article-meta { display: flex; gap: 12px; align-items: center; font-size: .85rem; color: var(--text-soft); margin: 14px 0 26px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-card { padding: 30px; max-width: 720px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: .9rem; color: var(--navy-800); }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; font-size: .95rem; transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(46,107,255,.15);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .8rem; color: var(--text-soft); }
.form-alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: .92rem; margin-bottom: 20px; }
.form-alert--ok { background: #E7F8F1; color: #0B7A55; border: 1px solid #B2ECD8; }
.form-alert--err { background: #FDECEC; color: #B42323; border: 1px solid #F6C8C8; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; list-style: none; padding: 0; }
.pagination a, .pagination span {
  display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px;
  border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff;
  font-size: .9rem; font-weight: 600; color: var(--text-muted);
}
.pagination a:hover { border-color: var(--blue-500); color: var(--blue-600); text-decoration: none; }
.pagination .is-current { background: var(--blue-500); color: #fff; border-color: var(--blue-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #B9C6E4; margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 60px 0 40px; }
.site-footer .brand__text strong { color: #fff; }
.site-footer .brand__text small { color: var(--text-soft); }
.site-footer__about p { font-size: .9rem; margin: 16px 0; }
.site-footer__contact a { color: var(--blue-400); }
.site-footer__title { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; font-weight: 700; }
.site-footer__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer__col a { color: #B9C6E4; font-size: .9rem; }
.site-footer__col a:hover { color: #fff; }
.site-footer__emergency { font-size: .85rem; }
.site-footer__col + .site-footer__title, .site-footer__col .site-footer__title:nth-of-type(2) { margin-top: 22px; }
.site-footer__bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0; font-size: .84rem; color: var(--text-soft);
}

/* ---------- Inline SVG icons ---------- */
.icon { display: inline-block; vertical-align: -0.18em; flex-shrink: 0; }
.icon--heart { color: #E25555; fill: #E25555; }
.btn .icon { vertical-align: -0.22em; }
.suggest-icon { display: inline-flex; color: var(--blue-500); }

/* ---------- Photo category cards ---------- */
.cat-card--photo { padding: 0; overflow: hidden; }
.cat-card__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.cat-card__photo { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cat-card--photo:hover .cat-card__photo { transform: scale(1.06); }
.cat-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 20, 40, .55));
}
.cat-card--photo .cat-card__count {
  position: absolute; left: 12px; bottom: 10px; z-index: 2; margin: 0;
  background: rgba(255, 255, 255, .92); color: var(--blue-600); backdrop-filter: blur(4px);
}
.cat-card__body { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 16px; }
.cat-card__body strong { font-size: 1rem; color: var(--navy-800); }
.cat-card__body span { font-size: .82rem; color: var(--text-muted); }

/* ---------- Owner LMS dashboard ---------- */
.lms-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.lms-stat {
  display: flex; align-items: center; gap: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.lms-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--navy-900); line-height: 1.1; }
.lms-stat span:last-child, .lms-stat div span { font-size: .78rem; color: var(--text-muted); }
.lms-stat__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.lms-stat__icon--blue { background: var(--surface-2); color: var(--blue-600); }
.lms-stat__icon--amber { background: #FDF3E1; color: var(--brass-600); }
.lms-stat__icon--sky { background: #E3F7FF; color: #0B87B8; }
.lms-stat__icon--green { background: #E7F8F1; color: #0B7A55; }
.lms-stat__icon--navy { background: var(--surface-2); color: var(--navy-700); }

.lms-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.lms-filters a {
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-size: .85rem; font-weight: 600; color: var(--text-muted); background: #fff;
}
.lms-filters a:hover { border-color: var(--blue-500); color: var(--blue-600); text-decoration: none; }
.lms-filters a.is-active { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }

.lms-leads { display: flex; flex-direction: column; gap: 14px; }
.lms-lead { display: grid; grid-template-columns: 1fr 340px; gap: 18px; padding: 18px 22px; }
.lms-lead__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .8rem; margin-bottom: 8px; }
.lead-type { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--navy-700); }
.lead-status { padding: 3px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.lead-status--new { background: #FDF3E1; color: var(--brass-600); }
.lead-status--contacted { background: var(--surface-2); color: var(--blue-600); }
.lead-status--converted { background: #E7F8F1; color: #0B7A55; }
.lead-status--closed { background: #EEF1F7; color: var(--text-soft); }
.lms-lead__who { font-size: .93rem; }
.lms-lead__msg {
  margin-top: 8px; font-size: .9rem; color: var(--text-muted);
  background: var(--surface); border-left: 3px solid var(--blue-400); padding: 10px 14px; border-radius: 0 8px 8px 0;
}
.lms-lead__form { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.lms-lead__form label { display: flex; flex-direction: column; gap: 3px; font-size: .75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.lms-lead__form select, .lms-lead__form input {
  padding: 9px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: .88rem; background: #fff; font-weight: 400; text-transform: none; letter-spacing: 0;
}
.lms-lead__form select:focus, .lms-lead__form input:focus { outline: none; border-color: var(--blue-500); }
.lms-lead__form .btn { align-self: flex-start; }

/* ---------- Admin panel ---------- */
.admin-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.admin-nav__ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.admin-nav__ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .1); }

.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.admin-table th {
  text-align: left; padding: 12px 16px; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted);
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--surface); vertical-align: top; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.lead-status--st-published { background: #E7F8F1; color: #0B7A55; }
.lead-status--st-pending { background: #FDF3E1; color: var(--brass-600); }
.lead-status--st-rejected { background: #FDECEC; color: #B42323; }
.icon--x { transform: rotate(45deg); }

@media (max-width: 1024px) {
  .lms-stats { grid-template-columns: repeat(3, 1fr); }
  .lms-lead { grid-template-columns: 1fr; }
  .lms-lead__form { border-top: 1px solid var(--surface); padding-top: 14px; }
}
@media (max-width: 600px) {
  .lms-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Homepage — utility-first directory layout
   Search first, then dense category access, then grouped shortcuts. Patterns
   follow the conventions large Indian directories use; the palette and
   identity stay Brass City Hub's own.
   ========================================================================== */

/* --- Search band: the page opens here, on white, no dark hero --- */
.searchband { padding: 30px 0 22px; background: var(--white); border-bottom: 1px solid var(--line); }
.searchband__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brass-600); background: #FDF4E4; border: 1px solid #F3DFBB;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.searchband h1 {
  font-size: clamp(1.5rem, 3.1vw, 2.1rem); color: var(--navy-900);
  margin: 0 0 8px; letter-spacing: -.02em;
}
.searchband h1 em { font-style: normal; color: var(--blue-600); }
.searchband__sub {
  color: var(--text-muted); font-size: .95rem; margin-bottom: 18px;
  max-width: 68ch; line-height: 1.55;
}
.searchband__row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.searchband__city {
  display: flex; align-items: center; gap: 8px; padding: 0 18px; min-width: 210px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--navy-800); font-weight: 600; font-size: .95rem;
}
.searchband__city svg { color: var(--text-soft); flex: none; }
.searchband__form { flex: 1 1 380px; position: relative; }
.searchband__form form { display: flex; gap: 0; }
.searchband__form input[type="search"] {
  flex: 1; padding: 15px 18px; font-size: .97rem;
  border: 1px solid var(--line); border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--white); color: var(--text);
}
.searchband__form input[type="search"]:focus { outline: 2px solid var(--blue-400); outline-offset: -2px; }
.searchband__form button {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding-inline: 26px; border: 0;
}
.searchband__meta {
  margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px;
  align-items: baseline; justify-content: space-between;
}
.searchband__popular { font-size: .87rem; color: var(--text-soft); margin: 0; }
.searchband__popular span { margin-right: 6px; }
.searchband__popular a { color: var(--text-muted); text-decoration: none; margin-right: 14px; }
.searchband__popular a:hover { color: var(--blue-600); text-decoration: underline; }
.searchband__stats { font-size: .85rem; color: var(--text-soft); margin: 0; white-space: nowrap; }
.searchband__stats strong { color: var(--navy-800); }

/* --- Promo panel + spotlight tiles --- */
.spotlight-grid {
  display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 14px;
  margin-top: 22px;
}
.promo {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700) 62%, var(--blue-600));
  color: var(--white); padding: 30px; text-decoration: none;
  display: flex; flex-direction: column; justify-content: center;
  grid-row: span 2;   /* stands beside two rows of category tiles */
}
.promo::after {
  content: ''; position: absolute; right: -60px; bottom: -70px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 163, 61, .38), transparent 68%);
}
.promo__kicker {
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brass-500); font-weight: 700; margin-bottom: 10px;
}
.promo h2 { font-size: 1.55rem; line-height: 1.22; margin: 0 0 10px; color: var(--white); }
.promo p { color: rgba(255, 255, 255, .8); font-size: .92rem; margin-bottom: 20px; max-width: 34ch; }
.promo .btn { align-self: flex-start; position: relative; z-index: 2; }

/* Each tile is the category's own photo under a tinted gradient. The tone
   classes only set the two gradient stops (--g1/--g2); the composed background
   lives on .spotlight so the photo, supplied per tile as --tile-img, always
   sits beneath the same treatment. Alpha stays high enough for legible text. */
.spotlight {
  position: relative; border-radius: var(--radius); padding: 16px 16px 14px;
  text-decoration: none; display: flex; flex-direction: column;
  justify-content: flex-end; min-height: 148px;
  color: var(--white); overflow: hidden;
  background-image: linear-gradient(155deg, var(--g1), var(--g2)), var(--tile-img, none);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  transition: transform .2s ease, box-shadow .2s ease;
}
.spotlight::after {
  /* deepens the foot of the tile so the label never fights the photo */
  content: ''; position: absolute; inset: auto 0 0 0; height: 70%;
  background: linear-gradient(to top, rgba(11, 20, 40, .5), transparent);
  pointer-events: none;
}
.spotlight > * { position: relative; z-index: 1; }
.spotlight:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11, 20, 40, .22); }

.spotlight--brass  { --g1: rgba(232, 163, 61, .80); --g2: rgba(160, 98, 12, .93); }
.spotlight--blue   { --g1: rgba(46, 107, 255, .80); --g2: rgba(20, 45, 122, .93); }
.spotlight--plum   { --g1: rgba(123, 97, 201, .80); --g2: rgba(58, 43, 105, .93); }
.spotlight--green  { --g1: rgba(22, 181, 127, .80); --g2: rgba(7, 88, 62, .93); }
.spotlight--rose   { --g1: rgba(232, 87, 127, .80); --g2: rgba(134, 21, 58, .93); }
.spotlight--teal   { --g1: rgba(23, 162, 184, .80); --g2: rgba(9, 76, 90, .93); }
.spotlight--sunset { --g1: rgba(242, 112, 58, .80); --g2: rgba(154, 51, 8, .93); }
.spotlight--violet { --g1: rgba(139, 92, 246, .80); --g2: rgba(70, 25, 145, .93); }

.spotlight strong {
  font-size: 1rem; line-height: 1.22; display: block; margin-bottom: 4px;
  text-shadow: 0 1px 3px rgba(11, 20, 40, .4);
}
.spotlight span.spotlight__desc {
  font-size: .78rem; color: rgba(255, 255, 255, .9); line-height: 1.35;
  text-shadow: 0 1px 3px rgba(11, 20, 40, .35);
}
.spotlight__go {
  margin-top: 10px; font-size: .78rem; font-weight: 700;
  color: rgba(255, 255, 255, .95); display: inline-flex; align-items: center; gap: 6px;
  text-shadow: 0 1px 3px rgba(11, 20, 40, .4);
}

/* --- Photo-led category grid --- */
.icon-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 14px 12px; list-style: none; }
.icon-tile { display: block; text-decoration: none; text-align: center; }
.icon-tile__media {
  display: block; border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--surface); aspect-ratio: 1 / 1; margin-bottom: 9px;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.icon-tile:hover .icon-tile__media {
  border-color: var(--blue-400); transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(11, 20, 40, .1);
}
.icon-tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.icon-tile__name {
  display: block; font-size: .79rem; color: var(--navy-800);
  font-weight: 600; line-height: 1.25;
}
.icon-tile--more .icon-tile__media {
  display: grid; place-items: center; background: var(--surface-2);
  border-style: dashed; border-color: var(--blue-400);
}
.icon-tile--more .icon-tile__media span { font-size: 1.7rem; color: var(--blue-600); font-weight: 300; }

/* --- Cluster cards with photo tiles --- */
.cluster-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cluster {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 22px 20px;
}
.cluster__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cluster__head h3 { font-size: 1.12rem; color: var(--navy-900); margin: 0; }
.cluster__head a { font-size: .82rem; color: var(--blue-600); text-decoration: none; white-space: nowrap; }
.cluster__head a:hover { text-decoration: underline; }
.cluster__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; }
.cluster__item { display: block; text-decoration: none; text-align: center; }
.cluster__item .cluster__media {
  display: block; border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--surface); margin-bottom: 8px;
  transition: transform .18s ease;
}
.cluster__item:hover .cluster__media { transform: translateY(-3px); }
.cluster__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cluster__item span.cluster__label {
  display: block; font-size: .82rem; color: var(--navy-800); font-weight: 600; line-height: 1.3;
}

/* --- Trending search chips --- */
.trend-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.trend-chips a {
  display: inline-block; padding: 9px 16px; border-radius: 100px;
  background: var(--white); border: 1px solid var(--line);
  color: var(--navy-800); text-decoration: none; font-size: .87rem; font-weight: 500;
}
.trend-chips a:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--surface-2); }

/* --- Compact quick-links strip --- */
.quick-strip {
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  padding: 14px 20px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); font-size: .88rem;
}
.quick-strip strong { color: var(--navy-800); }
.quick-strip a { color: var(--text-muted); text-decoration: none; }
.quick-strip a:hover { color: var(--blue-600); text-decoration: underline; }

/* Left-aligned section heads on the homepage — JustDial-style, not centred */
.section__head--flush { text-align: left; max-width: none; margin-bottom: 20px; }
.section__head--flush h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.section__head--flush p { margin-inline: 0; }

@media (max-width: 1180px) {
  .spotlight-grid { grid-template-columns: repeat(4, 1fr); }
  .promo { grid-column: 1 / -1; grid-row: auto; min-height: 190px; }
  .icon-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 860px) {
  .cluster-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .searchband__city { min-width: 0; flex: 1 1 100%; padding: 13px 16px; }
  .searchband__form { flex: 1 1 100%; }
  .icon-grid { grid-template-columns: repeat(4, 1fr); gap: 12px 9px; }
  .icon-tile__name { font-size: .72rem; }
  .spotlight-grid { grid-template-columns: 1fr 1fr; }
  .spotlight { min-height: 132px; padding: 14px 13px; }
  .spotlight strong { font-size: .93rem; }
  .spotlight span.spotlight__desc { font-size: .74rem; }
}
@media (max-width: 420px) {
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
  .cluster__items { grid-template-columns: repeat(3, 1fr); gap: 9px; }
}

/* ---------- Long-form article extras ---------- */
.article-hero__credit { font-size: .78rem; color: var(--text-soft); margin-top: 8px; text-align: right; }

.article-toc {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 24px; margin-top: 30px;
}
.article-toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted); margin: 0 0 12px; }
.article-toc ol { margin: 0; padding-left: 20px; }
.article-toc li { margin-bottom: 7px; }
.article-toc a { color: var(--blue-600); text-decoration: none; font-size: .94rem; }
.article-toc a:hover { text-decoration: underline; }

.article-body h2 { scroll-margin-top: 90px; }
.article-body a { color: var(--blue-600); }

.article-note {
  border-left: 3px solid var(--brass-500); background: #FFF9EF;
  padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 22px 0; color: var(--text-muted); font-size: .95rem;
}
.article-quote {
  border-left: 3px solid var(--blue-400); padding: 6px 0 6px 20px;
  margin: 24px 0; font-size: 1.06rem; color: var(--navy-800); font-style: italic;
}
.article-quote cite { display: block; margin-top: 8px; font-size: .85rem;
  font-style: normal; color: var(--text-soft); }

.article-table-wrap { overflow-x: auto; margin: 24px 0; }
.article-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 420px; }
.article-table th, .article-table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.article-table th { background: var(--surface-2); color: var(--navy-800); font-weight: 600; }

.article-faqs { margin-top: 14px; }
.article-faq { border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 10px; background: var(--white); }
.article-faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600;
  color: var(--navy-800); list-style: none; }
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary::after { content: '+'; float: right; color: var(--text-soft); font-weight: 400; }
.article-faq[open] summary::after { content: '−'; }
.article-faq p { padding: 0 18px 16px; margin: 0; color: var(--text-muted); }

/* ---------- HTML sitemap ---------- */
.sitemap-heading {
  font-size: 1.3rem; color: var(--navy-800);
  margin: 44px 0 10px; padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}
.sitemap-heading:first-of-type { margin-top: 0; }

.sitemap-cats { list-style: none; display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.sitemap-cats li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; display: flex; align-items: baseline;
  justify-content: space-between; gap: 10px;
}
.sitemap-cats__main { font-weight: 600; color: var(--navy-800); text-decoration: none; }
.sitemap-cats__main:hover { color: var(--blue-600); text-decoration: underline; }
.sitemap-cats__sub { font-size: .78rem; color: var(--blue-600); white-space: nowrap; }
.sitemap-cats__sub--empty { color: var(--text-soft); }

.sitemap-links { list-style: none; columns: 3; column-gap: 30px; }
.sitemap-links li { break-inside: avoid; margin-bottom: 8px; }
.sitemap-links a { color: var(--text); text-decoration: none; font-size: .93rem; }
.sitemap-links a:hover { color: var(--blue-600); text-decoration: underline; }
.sitemap-links__meta { color: var(--text-soft); font-size: .8rem; margin-left: 6px; }

@media (max-width: 900px) {
  .sitemap-cats { grid-template-columns: 1fr 1fr; }
  .sitemap-links { columns: 2; }
}
@media (max-width: 560px) {
  .sitemap-cats { grid-template-columns: 1fr; }
  .sitemap-links { columns: 1; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar-sticky { position: static; }
  .cat-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 72px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); transform: translateY(-130%); transition: transform .25s ease;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .site-nav.is-open { transform: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 14px 20px 20px; gap: 2px; }
  .site-nav a:not(.btn) { padding: 12px 10px; font-size: 1rem; }
  .site-nav__cta { margin: 10px 0 0; }
  .site-nav__cta .btn { width: 100%; }

  .hero__inner { padding: 60px 20px 70px; }
  .search-box form { flex-direction: column; border-radius: var(--radius); gap: 8px; padding: 10px; }
  .search-box input[type="search"] { padding: 12px 14px; }
  .search-box .btn { width: 100%; }
  .search-suggest { border-radius: var(--radius); }

  .section { padding: 52px 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cards-grid, .cards-grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .listing-row { grid-template-columns: 1fr; }
  .listing-row__media { min-height: 190px; }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 28px; }
  .cta-band { padding: 36px 22px; }
  .listing-card__actions .btn { flex: 1; }
}

@media (max-width: 420px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
