/* UdyogHub landing: B2B marketplace. Brand: indigo #1F2A6B, saffron #F5A524 (brand/README.md). */
:root {
  --indigo: #1f2a6b;
  --indigo-2: #2a3a8f;
  --indigo-deep: #141c4d;
  --saffron: #f5a524;
  --saffron-dark: #b86e00;
  --ink: #0f172a;
  --muted: #5b6478;
  --line: #e3e7f1;
  --canvas: #f6f7fb;
  --white: #ffffff;
  --green: #16a34a;
  --wa: #1fa855;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(20, 28, 77, 0.08);
  --font-body: 'Inter', 'Noto Sans Gujarati', 'Noto Sans Devanagari', system-ui, sans-serif;
  --font-head: 'Poppins', 'Noto Sans Gujarati', 'Noto Sans Devanagari', system-ui, sans-serif;
}
html[lang='gu'] { --font-body: 'Noto Sans Gujarati', 'Inter', system-ui, sans-serif; --font-head: 'Noto Sans Gujarati', 'Poppins', system-ui, sans-serif; }
html[lang='hi'] { --font-body: 'Noto Sans Devanagari', 'Inter', system-ui, sans-serif; --font-head: 'Noto Sans Devanagari', 'Poppins', system-ui, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; margin-top: 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--saffron); color: var(--indigo-deep); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }

/* icons */
.i { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -0.18em; }
.brand-ic { width: 20px; height: 20px; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; min-height: 44px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; min-height: 40px; font-size: 0.92rem; border-radius: 10px; }
.btn-lg { padding: 15px 22px; font-size: 1.05rem; width: 100%; }
.btn-accent { background: var(--saffron); color: var(--indigo-deep); box-shadow: 0 8px 20px rgba(245, 165, 36, 0.3); }
.btn-accent:hover { background: #ffb53a; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-ghost .brand-ic { background: #fff; border-radius: 6px; padding: 2px; width: 24px; height: 24px; }
.btn-outline { border-color: var(--indigo); color: var(--indigo); background: var(--white); }
.btn-outline:hover { background: #eef1ff; }
.btn-call { background: var(--indigo); color: var(--white); }
.btn-call:hover { background: var(--indigo-2); }
.btn-wa { background: #e8f8ee; color: #0d6b33; border-color: #bfe9cf; }
.btn-wa:hover { background: #d7f3e2; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--indigo); color: var(--white); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15); }
.nav-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
.wordmark span { color: var(--saffron); }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { text-decoration: none; opacity: 0.85; font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { opacity: 1; color: var(--saffron); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 10px; overflow: hidden; }
.lang button { background: none; border: 0; color: var(--white); padding: 7px 10px; font-size: 0.85rem; cursor: pointer; min-width: 44px; min-height: 36px; }
.lang button[aria-pressed='true'] { background: var(--white); color: var(--indigo); font-weight: 700; }

/* hero + search */
.hero { color: var(--white); padding: 56px 0 44px; background: radial-gradient(900px 420px at 85% -20%, #3446a8 0%, transparent 60%), radial-gradient(700px 360px at -10% 120%, #2b3a90 0%, transparent 60%), var(--indigo); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; font-weight: 700; color: var(--saffron); margin: 0 0 10px; }
html[lang='gu'] .eyebrow, html[lang='hi'] .eyebrow { letter-spacing: 0.02em; text-transform: none; font-size: 0.95rem; }
.hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 18em; }
.lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: #d9def7; max-width: 44em; margin: 0 0 24px; }
.search { position: relative; display: flex; gap: 8px; background: var(--white); border-radius: 16px; padding: 8px; max-width: 760px; box-shadow: 0 18px 40px rgba(5, 8, 30, 0.3); }
.search-ic { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 22px; height: 22px; }
.search input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 1.05rem; padding: 12px 12px 12px 46px; border-radius: 10px; color: var(--ink); background: transparent; }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: 0 0 0 3px var(--saffron), 0 18px 40px rgba(5, 8, 30, 0.3); }
.popular { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #c8cff0; font-size: 0.92rem; }
.chip { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.28); color: var(--white); border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 0.88rem; }
.chip:hover { background: rgba(245, 165, 36, 0.22); border-color: var(--saffron); }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 28px 0 0; color: #d9def7; }
.stats strong { color: var(--white); font-family: 'Poppins', sans-serif; font-size: 1.3rem; margin-right: 4px; }

/* sections */
.section { padding: 56px 0; }
.section.alt { background: var(--canvas); }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.section-head h2 { margin: 0; }
.section-lead { color: var(--muted); margin: -4px 0 22px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters select { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); min-height: 44px; color: var(--ink); }
.result-count { color: var(--muted); margin: 12px 0 16px; font-size: 0.95rem; }
.empty { text-align: center; color: var(--muted); padding: 32px 0; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 20px; }
.cat { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.cat:hover { border-color: var(--saffron); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat.active { border-color: var(--indigo); background: #eef1ff; }
.cat-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff4dc; color: var(--saffron-dark); }
.cat-ic .i { width: 24px; height: 24px; }
.cat-name { font-weight: 600; line-height: 1.3; }
.cat-count { color: var(--muted); font-size: 0.85rem; }

/* product cards */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.prod { display: flex; flex-direction: column; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: box-shadow 0.15s ease, border-color 0.15s ease; }
.prod:hover { box-shadow: var(--shadow); border-color: #cfd5ea; }
.prod { padding: 0; overflow: hidden; }
.prod > :not(.prod-photo) { margin-left: 16px; margin-right: 16px; }
.prod .prod-actions { padding-bottom: 16px; }
.prod-photo, .sup-photo, .gal-photo { position: relative; background: #eef1ff; display: grid; place-items: center; overflow: hidden; }
.prod-photo { aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.prod-photo img, .sup-photo img, .gal-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.ph-ic { color: var(--indigo); opacity: 0.55; display: none; }
.noimg .ph-ic { display: block; }
.prod-photo .ph-ic .i { width: 44px; height: 44px; }
.prod:hover .prod-photo img { transform: scale(1.03); }
.prod-photo img { transition: transform 0.3s ease; }
.prod-cat { color: var(--muted); font-size: 0.82rem; margin-top: 6px; }
.prod-name { font-size: 1.08rem; margin: 6px 0 0; }
.prod-company { all: unset; cursor: pointer; color: var(--indigo); font-weight: 600; font-size: 0.95rem; }
.prod-company:hover, .link:hover { text-decoration: underline; }
.prod-company:focus-visible, .link:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 4px; }
.prod-meta { color: var(--muted); font-size: 0.88rem; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.badge { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 600; font-size: 0.8rem; }
.prod-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.prod-actions .btn { flex: 1; }

/* suppliers */
.sup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.sup { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--white); }
.sup-head { display: flex; gap: 12px; align-items: flex-start; }
.sup-head h3 { font-size: 1.05rem; margin: 0 0 2px; }
.sup-photo { width: 64px; height: 64px; border-radius: 12px; flex: none; border: 1px solid var(--line); }
.sup-photo .ph-ic .i { width: 26px; height: 26px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 4px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; }
.gal-photo { aspect-ratio: 1; }
.gal-photo .ph-ic .i { width: 28px; height: 28px; }
.sup-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff4dc; color: var(--saffron-dark); flex: none; }
.sup-ic .i { width: 24px; height: 24px; }
.link { all: unset; cursor: pointer; color: var(--ink); }
.sup-cat { margin: 0; color: var(--muted); font-size: 0.88rem; }
.sup-prods { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sup-prods li { background: var(--canvas); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 0.82rem; }

/* sell band */
.sell { padding: 56px 0; background: radial-gradient(800px 360px at 15% 0%, #3446a8, transparent 70%), var(--indigo-deep); color: var(--white); }
.sell-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.sell p { color: #d9def7; margin: 0; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; color: #e2e6fa; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--saffron); color: var(--indigo-deep); font-weight: 700; display: grid; place-items: center; font-size: 0.8rem; }
.sell-actions { display: grid; gap: 12px; }
.sell-actions .btn-accent .i { width: 22px; height: 22px; }

/* source note */
.source { background: var(--canvas); border-top: 1px solid var(--line); padding: 18px 0; color: var(--muted); font-size: 0.9rem; }
.source p { margin: 0; }
.source a { color: var(--indigo); font-weight: 600; }

/* company sheet */
.sheet { border: 0; border-radius: 20px; padding: 24px; width: min(560px, 100% - 24px); max-height: min(86vh, 760px); box-shadow: 0 30px 80px rgba(5, 8, 30, 0.4); color: var(--ink); }
.sheet::backdrop { background: rgba(10, 14, 40, 0.55); }
.sheet h2 { font-size: 1.3rem; margin: 0 0 2px; padding-right: 36px; }
.sheet h3 { font-size: 0.95rem; margin: 18px 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.sheet-close { position: absolute; top: 14px; right: 14px; background: var(--canvas); border: 0; border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; }
.sheet-prods { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sheet-prods li { background: #eef1ff; border-radius: 999px; padding: 4px 12px; font-size: 0.9rem; }
.sheet-contact { margin: 4px 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sheet-contact a { color: var(--indigo); }
.sheet .prod-actions { margin-top: 14px; }
.sheet-source { margin: 16px 0 0; font-size: 0.82rem; color: var(--muted); }
.sheet-source a { color: var(--indigo); }

/* footer */
.footer { background: #0c1238; color: #aeb6de; padding: 26px 0; font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer p { margin: 0; }
.footer a { color: #dfe4ff; }
.small-brand .wordmark { font-size: 1.05rem; color: var(--white); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .sell-card { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .nav-inner { gap: 10px; }
  .wordmark { font-size: 1.1rem; }
  .nav-right .btn { display: none; }
  .hero { padding: 36px 0 32px; }
  .search { flex-wrap: wrap; }
  .search input { flex-basis: 100%; }
  .search .btn { width: 100%; }
  .search-ic { top: 30px; transform: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .filters, .filters select { width: 100%; }
  .filters select { flex: 1; }
  .prod-grid, .sup-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
