/* RWA Noida Directory — shared styles (Bootstrap 5.3 base) */
:root {
    --brand: #0f3460;
    --brand-dark: #0a2343;
    --brand-soft: #e8eef7;
    --accent: #f2a516;
    --accent-dark: #d48c05;
    --ink: #17202e;
    --muted: #5d6878;
    --line: #e3e8ef;
    --surface: #ffffff;
    --bg: #f5f7fa;
    --green: #1f8a4c;  --green-soft: #e3f4ea;
    --amber: #a86400;  --amber-soft: #fff1d6;
    --blue: #1f5fae;   --blue-soft: #e4eefb;
    --teal: #0f7a7a;   --teal-soft: #ddf3f2;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 16px rgba(16, 24, 40, .06);
    --shadow-hover: 0 10px 28px rgba(16, 24, 40, .12);
    --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --bs-link-color-rgb: 31, 95, 174;
}

body { background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
a { text-underline-offset: 2px; }
img { max-width: 100%; height: auto; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn-accent { background: var(--accent); border-color: var(--accent); color: #1b1300; font-weight: 600; }
.btn-accent:hover, .btn-accent:focus { background: var(--accent-dark); border-color: var(--accent-dark); color: #1b1300; }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline-brand { border: 1px solid var(--brand); color: var(--brand); font-weight: 600; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }

/* ---------- Header ---------- */
.topbar { background: var(--brand-dark); color: rgba(255,255,255,.8); font-size: .8rem; padding: 6px 0; }
.topbar a { color: #ffd77a; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.main-nav, .navbar.bg-dark { background: var(--brand) !important; padding-top: .55rem; padding-bottom: .55rem; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--brand-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.brand-text { font-weight: 800; font-size: 1.1rem; line-height: 1.05; display: flex; flex-direction: column; }
.brand-text small { font-weight: 500; font-size: .68rem; opacity: .75; letter-spacing: .02em; }
.main-nav .nav-link, .navbar.bg-dark .nav-link { color: rgba(255,255,255,.82); font-weight: 500; font-size: .93rem; }
.main-nav .nav-link:hover, .main-nav .nav-link.active, .navbar.bg-dark .nav-link.active { color: #fff; }
.main-nav .nav-link.active { box-shadow: inset 0 -2px 0 var(--accent); }
@media (max-width: 991.98px) {
    .main-nav .nav-link.active { box-shadow: none; color: var(--accent); }
    .main-nav .navbar-collapse { padding: 8px 0 12px; }
}

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(242,165,22,.18), transparent 60%), linear-gradient(135deg, #0a2343 0%, #0f3460 60%, #144b85 100%); color: #fff; padding: 64px 0 56px; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.12; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { color: rgba(255,255,255,.82); max-width: 640px; }
.hero-search { display: flex; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.18); max-width: 620px; }
.hero-search input { border: 0; flex: 1; padding: 10px 18px; font-size: 1rem; border-radius: 999px; min-width: 0; }
.hero-search input:focus { outline: none; }
.hero-search .btn { border-radius: 999px; padding: 10px 22px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-chips a { color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 5px 14px; font-size: .85rem; text-decoration: none; }
.hero-chips a:hover { background: rgba(255,255,255,.12); }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat-tile { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 16px 18px; }
.stat-tile .num { font-size: 1.8rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-tile .lbl { font-size: .82rem; color: rgba(255,255,255,.75); margin-top: 4px; }

.page-head { background: linear-gradient(135deg, #0a2343 0%, #0f3460 100%); color: #fff; padding: 36px 0 32px; }
.page-head h1 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: .4rem; }
.page-head p { color: rgba(255,255,255,.8); margin-bottom: 0; max-width: 760px; }
.page-head .crumbs ol li, .page-head .crumbs a { color: rgba(255,255,255,.75); }
.page-head .crumbs li[aria-current] { color: #fff; }
.page-head .crumbs li + li::before { color: rgba(255,255,255,.45); }

/* ---------- Breadcrumbs ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 12px; font-size: .85rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #9aa4b2; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Sections & cards ---------- */
.section { padding: 48px 0; }
.section-sm { padding: 28px 0; }
.section-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin-bottom: .35rem; }
.section-sub { color: var(--muted); margin-bottom: 1.5rem; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); }

.card-x { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-x-body { padding: 20px 22px; }
.card-x h2, .card-x h3 { font-size: 1.15rem; }
.hover-lift { transition: transform .18s ease, box-shadow .18s ease; }
.hover-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.prose { font-size: 1.02rem; color: #2b3445; }
.prose h2 { font-size: 1.35rem; margin: 1.8rem 0 .7rem; }
.prose h3 { font-size: 1.12rem; margin: 1.4rem 0 .5rem; }
.prose p, .prose li { line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .35rem; }

/* ---------- Pills / tags ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 11px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.tone-green { background: var(--green-soft); color: var(--green); }
.tone-amber { background: var(--amber-soft); color: var(--amber); }
.tone-blue  { background: var(--blue-soft);  color: var(--blue); }
.tone-teal  { background: var(--teal-soft);  color: var(--teal); }
.pill-featured { background: linear-gradient(135deg, #f7b733, #f2a516); color: #2b1d00; }
.pill-muted { background: #eef1f5; color: var(--muted); }

/* ---------- Sector grid ---------- */
.sector-card { display: flex; flex-direction: column; height: 100%; padding: 16px; text-decoration: none; color: inherit; }
.sector-card:hover { color: inherit; }
.sector-card .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; margin-bottom: 8px; }
.sector-card h3 { font-size: 1.05rem; margin: 0; white-space: nowrap; }
.more-cats summary { cursor: pointer; font-size: .88rem; color: var(--blue); margin-top: 10px; }
.more-cats .chip-grid { margin-top: 10px; }
.sector-card p { font-size: .84rem; color: var(--muted); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sector-card .go { margin-top: auto; font-size: .85rem; font-weight: 600; color: var(--blue); }
.sector-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sector-filter input { max-width: 260px; }

/* ---------- Category chips ---------- */
.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 14px; font-size: .88rem; color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip .count { background: var(--brand-soft); color: var(--brand); border-radius: 999px; padding: 0 8px; font-size: .75rem; font-weight: 700; }
.chip.is-empty { color: #8a94a3; }
.chip.is-empty .count { background: #f0f2f5; color: #8a94a3; }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip.active .count { background: rgba(255,255,255,.2); color: #fff; }

/* ---------- Business cards ---------- */
.biz-card { display: flex; flex-direction: column; height: 100%; }
.biz-card .biz-head { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px 8px; }
.biz-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.biz-card.featured { border-color: #f5cf7d; box-shadow: 0 0 0 1px #f5cf7d, var(--shadow); }
.biz-card.featured .biz-icon { background: var(--amber-soft); color: var(--amber); }
.biz-card h3 { font-size: 1rem; margin: 0 0 4px; line-height: 1.35; }
.biz-card h3 a { color: var(--ink); text-decoration: none; }
.biz-card h3 a:hover { color: var(--blue); text-decoration: underline; }
.biz-meta { list-style: none; padding: 0 18px; margin: 0 0 12px; font-size: .86rem; color: var(--muted); }
.biz-meta li { display: flex; gap: 8px; margin-bottom: 4px; }
.biz-meta i { width: 14px; margin-top: 4px; flex-shrink: 0; color: #8a94a3; }
.biz-meta a { color: var(--blue); text-decoration: none; }
.biz-desc { padding: 0 18px; font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.biz-foot { margin-top: auto; border-top: 1px solid var(--line); padding: 10px 18px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font-size: .85rem; }
.link-btn:hover { color: var(--blue); }

/* ---------- Generic list/ticker cards (events, new businesses) ---------- */
.mini-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; height: 100%; text-decoration: none; color: inherit; }
.mini-card:hover { color: inherit; }
.mini-card .title { font-weight: 700; font-size: .92rem; line-height: 1.3; margin-bottom: 3px; }
.mini-card .meta { font-size: .8rem; color: var(--muted); }
.date-box { background: var(--brand); color: #fff; border-radius: 10px; min-width: 52px; text-align: center; padding: 6px 8px; flex-shrink: 0; }
.date-box .d { font-size: 1.25rem; font-weight: 800; line-height: 1; }
.date-box .m { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.date-box.past { background: #9aa4b2; }
.h-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.h-scroll > * { scroll-snap-align: start; }

/* ---------- Event cards ---------- */
.event-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.event-card .event-img { aspect-ratio: 16 / 9; background: var(--brand-soft) center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: var(--brand); font-size: 2rem; }
.event-card .event-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.event-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.event-card .event-meta { font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.event-card.is-past { opacity: .72; }

/* ---------- Info list / key facts ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.fact .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.fact .v { font-weight: 700; font-size: 1.05rem; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row .k { font-size: .78rem; color: var(--muted); }
.contact-row .v { font-weight: 600; word-break: break-word; }

/* ---------- FAQ ---------- */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 700; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: #3a4456; margin: 0 0 14px; }

/* ---------- Callouts ---------- */
.callout { border-radius: var(--radius); padding: 18px 20px; border: 1px solid; }
.callout-info { background: var(--blue-soft); border-color: #c8dbf5; color: #173d6e; }
.callout-warn { background: var(--amber-soft); border-color: #f5d79a; color: #6b4300; }
.callout-cta { background: linear-gradient(135deg, #0f3460, #144b85); border: 0; color: #fff; }
.callout-cta h2, .callout-cta h3 { color: #fff; }
.callout-cta p { color: rgba(255,255,255,.82); }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.form-label { font-weight: 600; font-size: .9rem; }
.req::after { content: " *"; color: #c0392b; }
.filter-bar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }

/* ---------- Ads ---------- */
.ad-wrap { margin: 24px 0; text-align: center; min-height: 100px; }
.ad-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #9aa4b2; margin-bottom: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1c33; color: rgba(255,255,255,.72); padding: 48px 0 24px; margin-top: 48px; font-size: .92rem; }
.site-footer p { color: rgba(255,255,255,.72); }
.footer-title { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a, .footer-note a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer-links a:hover, .footer-note a:hover { color: #fff; text-decoration: underline; }
.footer-note { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: .82rem; }
.footer-note p { color: rgba(255,255,255,.6); }

.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1080; max-width: 720px; margin: 0 auto; background: #0b1c33; color: #fff; border-radius: 14px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.85); }
.cookie-bar a { color: #ffd77a; }
@media (max-width: 575.98px) { .cookie-bar { flex-direction: column; align-items: stretch; } }

/* ---------- Paid banner carousel ---------- */
.promo .carousel-item img { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; border-radius: var(--radius); }
.promo .promo-text { background: linear-gradient(135deg, #0f3460, #144b85); color: #fff; border-radius: var(--radius); padding: 28px; min-height: 160px; }
.promo .promo-text h3 { color: #fff; }
.promo-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #9aa4b2; }

/* ---------- Misc ---------- */
.empty-state { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty-state i { font-size: 2.4rem; color: #b7c0cc; margin-bottom: 12px; }
mark.hl { background: #fff1c2; padding: 0 2px; border-radius: 3px; }
.sticky-side { position: sticky; top: 84px; }
@media (max-width: 991.98px) { .sticky-side { position: static; } }
@media print { .site-header, .site-footer, .cookie-bar, .ad-wrap, .no-print { display: none !important; } }
