/* Sanjay Enclave Local Services — Stylesheet */
/* sections: variables, base, layout, header, hero, categories, cards, directory, vendor profile, register, admin, contact, footer, utilities, responsive */

:root {
  --primary: #0F4C81;
  --primary-dark: #0a3960;
  --primary-light: #1f6cb0;
  --secondary: #F5A623;
  --secondary-dark: #d88c0a;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-card: #ffffff;
  --text: #0f172a;
  --text-soft: #475569;
  --muted: #94a3b8;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --success: #16a34a;
  --danger: #dc2626;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  --shadow: 0 4px 14px rgba(15,23,42,.06), 0 2px 4px rgba(15,23,42,.04);
  --shadow-lg: 0 20px 50px rgba(15,23,42,.10), 0 8px 16px rgba(15,23,42,.06);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.2; color: var(--text); letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--text-soft); }
a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: inherit; font-size: 1rem; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--secondary); text-transform: uppercase; margin-bottom: 12px; }
.kicker.light { color: #fde68a; }
.eyebrow { display: inline-block; padding: 6px 14px; background: rgba(245,166,35,.15); color: var(--secondary-dark); border-radius: 999px; font-size: .8rem; font-weight: 600; margin-bottom: 18px; }
.section-head { text-align: center; margin-bottom: 48px; max-width: 680px; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--text-soft); font-size: 1.05rem; }
.hl { color: var(--secondary); }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: .95rem; border: none; cursor: pointer; text-decoration: none; transition: all .18s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 12px rgba(15,76,129,.25); }
.btn-primary:hover { background: var(--primary-dark); color: white; box-shadow: 0 8px 20px rgba(15,76,129,.35); }
.btn-primary.big { padding: 16px 32px; font-size: 1.05rem; }
.btn-primary-sm { background: var(--primary); color: white; padding: 8px 14px; font-size: .85rem; border-radius: 8px; }
.btn-primary-sm:hover { background: var(--primary-dark); color: white; }
.btn-outline { background: white; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-ghost { background: var(--bg-soft); color: var(--text); border: 1px solid var(--border); padding: 8px 14px; font-size: .85rem; border-radius: 8px; }
.btn-ghost:hover { background: var(--border); color: var(--text); }
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1ebe5b; color: white; }
.btn-whatsapp-sm { background: #25D366; color: white; padding: 8px 14px; font-size: .85rem; border-radius: 8px; }
.btn-whatsapp-sm:hover { background: #1ebe5b; color: white; }
.btn.full { width: 100%; }

.link-arrow { color: var(--primary); font-weight: 600; }
.link-arrow.alt { color: var(--secondary-dark); }
.link-reset { color: var(--muted); font-size: .9rem; margin-left: 8px; }

/* ============ HEADER ============ */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: var(--secondary); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; box-shadow: var(--shadow); }
.brand-mark.light { background: var(--secondary); color: var(--primary); }
.brand-mark.big { width: 64px; height: 64px; font-size: 2rem; border-radius: 16px; margin: 0 auto 16px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--text); }
.brand-sub { font-size: .78rem; color: var(--muted); font-weight: 500; }
.main-nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.main-nav a { color: var(--text-soft); font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--primary); }
.nav-cta { padding: 10px 18px; font-size: .9rem; }
.menu-toggle { display: none; background: none; border: none; width: 36px; height: 36px; flex-direction: column; gap: 5px; justify-content: center; align-items: center; cursor: pointer; }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }

/* ============ HERO ============ */
.hero { position: relative; padding: 60px 0 80px; overflow: hidden; background: linear-gradient(135deg, #f7f9fc 0%, #eef4fb 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5; background:
  radial-gradient(circle at 15% 25%, rgba(15,76,129,.12) 0, transparent 35%),
  radial-gradient(circle at 85% 80%, rgba(245,166,35,.15) 0, transparent 40%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero-text { max-width: 600px; }
.hero h1 { margin-bottom: 16px; color: var(--text); }
.lede { font-size: 1.15rem; color: var(--text-soft); margin-bottom: 28px; max-width: 540px; }
.hero-search { display: flex; gap: 8px; background: white; padding: 8px; border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 20px; }
.hero-search input { flex: 1; border: none; padding: 14px 18px; font-size: 1rem; outline: none; border-radius: 10px; }
.hero-search input:focus { background: var(--bg-soft); }
.hero-ctas { display: flex; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 460px; }
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.hero-stats span { font-size: .85rem; color: var(--text-soft); }

.hero-card { background: white; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.hero-card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.hc-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.hc-sub { font-size: .85rem; color: var(--muted); }
.hc-badge { background: rgba(22,163,74,.12); color: var(--success); padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.hc-badge::before { content: '●'; margin-right: 4px; }
.hero-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.hc-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; background: var(--bg-soft); border-radius: 12px; color: var(--text); font-size: .8rem; font-weight: 500; transition: .15s; }
.hc-tile span { font-size: 1.6rem; }
.hc-tile:hover { background: var(--primary); color: white; transform: translateY(-2px); }
.hc-cta { display: block; text-align: center; padding: 14px; background: linear-gradient(90deg, #25D366, #128C7E); color: white; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.hc-cta:hover { color: white; opacity: .92; }

/* ============ PAGE HERO (sub-pages) ============ */
.page-hero { padding: 60px 0 40px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; }
.page-hero.small { padding: 56px 0 36px; }
.page-hero h1 { color: white; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin: 0; }
.page-hero .eyebrow { background: rgba(245,166,35,.2); color: #fde68a; }

/* ============ CATEGORIES ============ */
.categories-section { padding: 90px 0; background: white; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.cat-card { display: flex; gap: 18px; padding: 24px; background: white; border: 1px solid var(--border); border-radius: var(--radius); transition: all .25s ease; color: var(--text); position: relative; overflow: hidden; }
.cat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--cat-color, var(--primary)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.cat-card:hover { border-color: var(--cat-color, var(--primary)); box-shadow: var(--shadow-lg); transform: translateY(-4px); color: var(--text); }
.cat-card:hover::before { transform: scaleX(1); }
.cat-icon { width: 56px; height: 56px; flex-shrink: 0; padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--cat-color) 12%, white); display: grid; place-items: center; }
.cat-body h3 { margin-bottom: 4px; font-size: 1.1rem; }
.cat-body p { margin: 0 0 8px; font-size: .82rem; color: var(--muted); }
.cat-link { font-size: .85rem; font-weight: 600; color: var(--cat-color, var(--primary)); }

/* ============ FEATURED / VENDOR CARDS ============ */
.featured-section { padding: 90px 0; background: var(--bg-soft); }
.vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.vendor-card { position: relative; background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: all .2s; display: flex; flex-direction: column; }
.vendor-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary-light); transform: translateY(-3px); }
.featured-ribbon { position: absolute; top: -1px; right: 18px; background: var(--secondary); color: white; padding: 4px 12px; font-size: .72rem; font-weight: 700; border-radius: 0 0 8px 8px; letter-spacing: .04em; }
.vc-head { display: flex; gap: 14px; margin-bottom: 14px; }
.vc-logo { width: 56px; height: 56px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; font-weight: 700; font-size: 1.2rem; display: grid; place-items: center; background-size: cover; background-position: center; flex-shrink: 0; }
.vc-meta { flex: 1; min-width: 0; }
.vc-meta h3 { font-size: 1.05rem; margin: 0 0 4px; }
.vc-meta h3 a { color: var(--text); }
.vc-meta h3 a:hover { color: var(--primary); }
.vc-cat { font-size: .8rem; color: var(--text-soft); margin-bottom: 6px; }
.vc-rating { display: flex; align-items: center; gap: 6px; font-size: .85rem; }
.vc-desc { font-size: .9rem; color: var(--text-soft); margin: 0 0 12px; }
.vc-info { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; flex: 1; }
.vc-info span { font-size: .82rem; color: var(--text-soft); }
.vc-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.vc-actions .btn { flex: 1; min-width: 0; }
.center-cta { text-align: center; margin-top: 40px; }

.stars { color: var(--secondary); letter-spacing: 1px; font-size: .9rem; display: inline-flex; }
.stars i { font-style: normal; color: #e2e8f0; }
.stars i.on { color: var(--secondary); }
.stars.big { font-size: 1.4rem; }
.stars.sm { font-size: .8rem; }
.rating-num { color: var(--text-soft); font-weight: 600; }
.rating-num.muted { color: var(--muted); font-weight: 500; }
.rating-num small { color: var(--muted); font-weight: 400; }

/* ============ BENEFITS ============ */
.benefits-section { padding: 90px 0; background: white; }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.benefit-col { padding: 36px; border-radius: var(--radius-lg); background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); border: 1px solid var(--border); }
.benefit-col.alt { background: linear-gradient(180deg, #fef3e2 0%, #ffffff 100%); border-color: #fde4b3; }
.benefit-col h3 { color: var(--primary); margin-bottom: 24px; font-size: 1.4rem; }
.benefit-col.alt h3 { color: var(--secondary-dark); }
.benefit-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.benefit-col li { display: flex; gap: 14px; align-items: flex-start; }
.benefit-col li > span { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: white; box-shadow: var(--shadow-sm); display: grid; place-items: center; font-size: 1.25rem; }
.benefit-col strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 2px; color: var(--text); }
.benefit-col p { margin: 0; font-size: .9rem; color: var(--text-soft); }

/* ============ WHATSAPP SECTION ============ */
.whatsapp-section { padding: 80px 0; background: linear-gradient(135deg, #128C7E 0%, #25D366 100%); color: white; }
.wa-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.wa-inner h2 { color: white; }
.wa-inner p { color: rgba(255,255,255,.92); font-size: 1.05rem; margin-bottom: 24px; }
.wa-inner .btn-whatsapp { background: white; color: #128C7E; }
.wa-inner .btn-whatsapp:hover { background: #f0fdf4; color: #128C7E; }
.wa-illus { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.wa-bubble { background: white; color: var(--text); padding: 14px 18px; border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow); font-size: .92rem; max-width: 80%; }
.wa-bubble.alt { background: #dcf8c6; border-radius: 16px 16px 16px 4px; align-self: flex-start; }

/* ============ CONTACT ============ */
.contact-section { padding: 90px 0; background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { padding: 16px 20px; background: white; border-radius: 12px; border: 1px solid var(--border); }
.contact-list strong { color: var(--primary); margin-right: 8px; }
.contact-form { background: white; padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.contact-form input, .contact-form textarea { padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: 10px; outline: none; transition: .15s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,76,129,.1); }

/* ============ FOOTER ============ */
.site-footer { background: #0a1929; color: #cbd5e1; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-grid h4 { color: white; margin-bottom: 16px; font-size: .95rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: #94a3b8; font-size: .9rem; }
.footer-grid a:hover { color: var(--secondary); }
.footer-tag { color: #94a3b8; font-size: .9rem; margin-top: 16px; max-width: 320px; }
.wa-pill { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: white !important; padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: .88rem; margin-bottom: 16px; }
.wa-pill:hover { background: #1ebe5b; color: white !important; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); color: #cbd5e1 !important; display: grid; place-items: center; font-weight: 700; font-size: .85rem; text-transform: uppercase; }
.socials a:hover { background: var(--primary); color: white !important; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; color: #64748b; }
.admin-link { color: #475569 !important; font-size: .8rem; }
.admin-link:hover { color: var(--secondary) !important; }

/* ============ FAB ============ */
.fab-whatsapp { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: white; display: grid; place-items: center; box-shadow: 0 8px 28px rgba(37,211,102,.45); z-index: 90; transition: .2s; animation: pulse 2.4s infinite; }
.fab-whatsapp:hover { transform: scale(1.08); color: white; }
@keyframes pulse { 0%, 100% { box-shadow: 0 8px 28px rgba(37,211,102,.45); } 50% { box-shadow: 0 8px 28px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,.0); } }

/* ============ DIRECTORY ============ */
.directory { padding: 50px 0 90px; background: var(--bg-soft); }
.directory-inner { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: start; }
.filters { background: white; border-radius: var(--radius); border: 1px solid var(--border); padding: 22px; position: sticky; top: 96px; }
.filters form { display: flex; flex-direction: column; gap: 16px; }
.filter-block { display: flex; flex-direction: column; gap: 6px; }
.filter-block label { font-size: .82rem; font-weight: 600; color: var(--text); }
.filter-block input, .filter-block select { padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 8px; outline: none; }
.filter-block input:focus, .filter-block select:focus { border-color: var(--primary); }
.results-head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; font-size: .95rem; color: var(--text-soft); }
.results-head strong { color: var(--text); }
.chip { background: rgba(15,76,129,.08); color: var(--primary); padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 500; }
.empty-state { text-align: center; padding: 60px 20px; background: white; border-radius: var(--radius); border: 1px dashed var(--border-strong); }
.empty-illus { font-size: 4rem; margin-bottom: 16px; }

/* ============ VENDOR PROFILE ============ */
.vendor-hero { background: linear-gradient(135deg, #f7f9fc 0%, #eef4fb 100%); padding: 50px 0; }
.vendor-hero-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.vh-main { display: flex; gap: 24px; }
.vh-logo { width: 110px; height: 110px; border-radius: 22px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; font-weight: 800; font-size: 2.6rem; display: grid; place-items: center; background-size: cover; flex-shrink: 0; box-shadow: var(--shadow-lg); }
.vh-info { flex: 1; }
.breadcrumb { font-size: .85rem; color: var(--text-soft); margin-bottom: 8px; }
.vh-info h1 { font-size: 2.2rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badge-featured, .badge-verified { font-size: .75rem; padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.badge-featured { background: var(--secondary); color: white; }
.badge-verified { background: rgba(22,163,74,.15); color: var(--success); }
.vh-sub { color: var(--text-soft); margin-bottom: 12px; }
.vh-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.vh-rating strong { font-size: 1.4rem; color: var(--text); }
.vh-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.vh-side { display: flex; flex-direction: column; gap: 16px; }
.info-card { background: white; border-radius: var(--radius); border: 1px solid var(--border); padding: 22px; box-shadow: var(--shadow-sm); }
.info-card h4 { margin-bottom: 14px; color: var(--primary); }
.info-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.info-card li { display: flex; gap: 12px; align-items: flex-start; }
.info-card li > span { font-size: 1.1rem; }
.info-card strong { display: block; font-size: .82rem; color: var(--text-soft); font-weight: 600; }
.info-card p { margin: 2px 0 0; font-size: .92rem; color: var(--text); }

.vendor-body { padding: 50px 0 90px; background: white; }
.vendor-body-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
.content-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.content-card.sticky { position: sticky; top: 96px; }
.content-card h3 { margin-bottom: 14px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

.reviews { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.review { padding: 16px; background: var(--bg-soft); border-radius: 12px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: white; display: grid; place-items: center; font-weight: 600; }
.review-head strong { display: block; font-size: .95rem; }
.review-head time { margin-left: auto; font-size: .8rem; color: var(--muted); }
.review p { margin: 0; color: var(--text); }

.review-form, #leadFormEl { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--border); margin-top: 20px; }
.review-form h4 { margin-bottom: 4px; }
.review-form input, .review-form textarea, #leadFormEl input, #leadFormEl textarea {
  padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 8px; outline: none; font-size: .95rem;
}
.review-form input:focus, .review-form textarea:focus, #leadFormEl input:focus, #leadFormEl textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,76,129,.1);
}
.rating-input { display: flex; gap: 4px; }
.rating-input button { background: none; border: none; font-size: 2rem; color: #e2e8f0; cursor: pointer; padding: 0; transition: .1s; }
.rating-input button.on, .rating-input button:hover { color: var(--secondary); }
.form-status { font-size: .9rem; margin-top: 4px; }
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--danger); }

/* ============ REGISTER ============ */
.register-section { padding: 60px 0 90px; background: var(--bg-soft); }
.register-grid { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.reg-info { background: white; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); position: sticky; top: 96px; }
.reg-info h3 { color: var(--primary); margin-bottom: 16px; }
.reg-info ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 12px; }
.reg-info li { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--text); }
.reg-info li > span { font-size: 1.2rem; }
.reg-help { padding: 16px; background: var(--bg-soft); border-radius: 10px; font-size: .9rem; }
.reg-help strong { display: block; color: var(--primary); margin-bottom: 4px; }
.reg-help p { margin: 0; }

.register-form { background: white; padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.register-form h3 { color: var(--primary); margin-top: 24px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--bg-soft); }
.register-form h3:first-of-type { margin-top: 0; }
.register-form label { display: block; margin-bottom: 14px; font-size: .9rem; font-weight: 600; color: var(--text); }
.register-form input, .register-form select, .register-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1px solid var(--border-strong); border-radius: 8px; outline: none;
  font-weight: 400; font-size: .95rem; color: var(--text); transition: .15s;
}
.register-form input:focus, .register-form select:focus, .register-form textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,76,129,.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; text-align: center; }

.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: .92rem; }
.alert.success { background: rgba(22,163,74,.1); color: #166534; border-left: 4px solid var(--success); }
.alert.success p { margin: 4px 0 0; color: #166534; }
.alert.error { background: rgba(220,38,38,.1); color: #991b1b; border-left: 4px solid var(--danger); }

/* ============ AUTH (admin login) ============ */
.auth-section { padding: 80px 0; background: var(--bg-soft); min-height: 60vh; display: grid; place-items: center; }
.auth-card { background: white; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); max-width: 380px; width: 100%; text-align: center; }
.auth-card form { margin-top: 20px; }
.auth-card label { display: block; text-align: left; font-size: .9rem; font-weight: 600; margin-bottom: 16px; }
.auth-card input { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 8px; outline: none; }
.auth-card input:focus { border-color: var(--primary); }
.link-back { display: block; margin-top: 18px; font-size: .85rem; color: var(--muted); }

/* ============ ADMIN ============ */
.admin-section { padding: 50px 0 90px; background: var(--bg-soft); min-height: 80vh; }
.admin-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 30px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.stat { background: white; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--primary); font-weight: 800; line-height: 1; }
.stat span { font-size: .85rem; color: var(--text-soft); }

.admin-tabs { display: flex; gap: 4px; background: white; padding: 6px; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 20px; width: fit-content; }
.tab { background: none; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 600; color: var(--text-soft); cursor: pointer; transition: .15s; }
.tab.active { background: var(--primary); color: white; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.data-table { width: 100%; background: white; border-radius: var(--radius); border: 1px solid var(--border); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.data-table th, .data-table td { padding: 14px 16px; text-align: left; font-size: .9rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table th { background: var(--bg-soft); font-weight: 600; color: var(--text-soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.data-table tr:last-child td { border-bottom: none; }
.data-table td.center { text-align: center; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; text-transform: capitalize; }
.pill.pending { background: rgba(245,166,35,.15); color: var(--secondary-dark); }
.pill.approved { background: rgba(22,163,74,.15); color: var(--success); }
.actions { display: flex; gap: 4px; flex-wrap: wrap; }
.actions form { display: inline; margin: 0; }
.mini { padding: 4px 10px; font-size: .78rem; border-radius: 6px; border: 1px solid var(--border-strong); background: white; color: var(--text); cursor: pointer; font-weight: 600; }
.mini:hover { background: var(--bg-soft); }
.mini.success { background: var(--success); color: white; border-color: var(--success); }
.mini.danger { background: var(--danger); color: white; border-color: var(--danger); }
a.mini { text-decoration: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { order: -1; max-width: 480px; }
  .benefits-grid, .wa-inner, .contact-grid, .vendor-hero-inner, .vendor-body-grid, .register-grid, .directory-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .content-card.sticky, .reg-info, .filters { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .main-nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  body.nav-open .main-nav {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    background: white; flex-direction: column; padding: 20px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  body.nav-open .main-nav a { padding: 8px 0; }
  .hero { padding: 40px 0 60px; }
  .categories-section, .featured-section, .benefits-section, .whatsapp-section, .contact-section { padding: 60px 0; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-stats strong { font-size: 1.4rem; }
  .form-row { grid-template-columns: 1fr; }
  .register-form, .contact-form { padding: 24px; }
  .vh-main { flex-direction: column; align-items: center; text-align: center; }
  .vh-info h1 { justify-content: center; }
  .data-table { font-size: .8rem; display: block; overflow-x: auto; }
  .fab-whatsapp { bottom: 16px; right: 16px; width: 54px; height: 54px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.9rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .vc-actions { flex-direction: column; }
  .vc-actions .btn { flex: none; width: 100%; }
}
