/* ==========================================================
   A2Z Business in Pune  |  business.dgtechqa.com
   Design tokens, layout, components
   ========================================================== */

:root {
  --navy: #222222;
  --navy-2: #444444;
  --blue: #e42527;
  --blue-dark: #c01d1f;
  --sky: #fde3e3;
  --tint: #fff5f5;
  --white: #ffffff;
  --ink: #16213a;
  --muted: #5b6783;
  --line: #e3e8f4;
  --ok: #0e8a5f;
  --ok-bg: #e5f6ef;
  --warn: #9a4a07;
  --warn-bg: #fff1dd;
  --bad: #c2303b;
  --bad-bg: #fde8ea;

  --font-head: "Poppins", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(34, 34, 34, 0.06), 0 2px 8px rgba(34, 34, 34, 0.05);
  --shadow: 0 10px 30px rgba(34, 34, 34, 0.1);
  --wrap: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.muted { color: var(--muted); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 62ch; }
.ic { flex: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.alt { background: var(--tint); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head p { margin: 0; color: var(--muted); max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 .95rem/1 var(--font-body);
  padding: .85rem 1.3rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--blue); color: #fff; cursor: pointer; text-decoration: none !important;
  transition: background .18s, transform .18s, box-shadow .18s, border-color .18s;
}
.btn:hover { background: var(--blue-dark); box-shadow: 0 6px 16px rgba(228, 37, 39, .28); }
.btn:active { transform: translateY(1px); }
.btn-navy { background: var(--navy); }
.btn-navy:hover { background: var(--navy-2); box-shadow: 0 6px 16px rgba(34, 34, 34, .25); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--tint); border-color: var(--blue); box-shadow: none; }
.btn-danger { background: #fff; color: var(--bad); border-color: var(--bad-bg); }
.btn-danger:hover { background: var(--bad-bg); box-shadow: none; }
.btn-sm { padding: .55rem .9rem; font-size: .85rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn.is-disabled, .btn[disabled] { opacity: .55; cursor: not-allowed; pointer-events: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 1.25rem; min-height: 68px; }
.logo-link { display: inline-flex; align-items: center; gap: .6rem; font: 700 1.2rem var(--font-head); color: var(--navy); text-decoration: none !important; white-space: nowrap; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; display: grid; place-items: center; font: 700 .8rem var(--font-head); letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav a.nav-link { padding: .55rem .7rem; border-radius: 8px; font-weight: 500; font-size: .92rem; color: var(--ink); text-decoration: none; }
.nav a.nav-link:hover { background: var(--tint); color: var(--blue); }
.nav a.nav-link[aria-current="page"] { color: var(--blue); background: var(--tint); }
.nav .btn { margin-left: .5rem; }
.only-mobile { display: none; }
.nav-toggle { display: none; margin-left: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; place-items: center; cursor: pointer; color: var(--navy); }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: .75rem 1.25rem 1.25rem;
    margin: 0; box-shadow: var(--shadow); display: none; max-height: calc(100vh - 68px); overflow: auto;
  }
  .nav.open { display: flex; }
  .nav a.nav-link { padding: .85rem .5rem; font-size: 1rem; }
  .nav .btn { margin: .5rem 0 0; }
  .only-mobile { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); padding: 3.5rem 0 3rem; }
.awning { height: 14px; background: repeating-linear-gradient(90deg, var(--blue) 0 28px, var(--sky) 28px 56px); position: absolute; left: 0; right: 0; top: 0; }
.awning::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px;
  background:
    radial-gradient(circle at 14px 0, var(--blue) 14px, transparent 14.5px) 0 0 / 56px 14px repeat-x,
    radial-gradient(circle at 14px 0, var(--sky) 14px, transparent 14.5px) 28px 0 / 56px 14px repeat-x;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding-top: 1rem; }
.hero h1 { margin-bottom: .35em; }
.hero .tagline { font: 600 1.25rem var(--font-head); color: var(--blue); margin-bottom: .6rem; }
.hero .lead { margin-bottom: 1.5rem; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; }

.collage { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 104px; gap: 12px; }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; padding: 14px;
  border-radius: var(--radius); background: var(--sky); color: var(--navy); text-decoration: none !important;
  font: 600 .88rem var(--font-head); border: 1px solid rgba(228, 37, 39, .12);
  transition: transform .18s, box-shadow .18s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile .ic { color: var(--blue); }
.tile.navy { background: var(--navy); color: #fff; }
.tile.navy .ic { color: #f59a9b; }
.tile.blue { background: var(--blue); color: #fff; }
.tile.blue .ic { color: #fff; }
.tile.white { background: #fff; box-shadow: var(--shadow-sm); }
.tile.tall { grid-row: span 2; }
.tile.wide { grid-column: span 2; }

.search-card {
  margin-top: 2.5rem; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); padding: 1rem;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: .75rem;
}
.search-card .field-wrap { position: relative; }
.search-card .field-wrap .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-card input, .search-card select { padding-left: 42px; height: 54px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; align-items: center; }
.chips > span { font-size: .9rem; color: var(--muted); margin-right: .25rem; }
.chip {
  display: inline-flex; align-items: center; padding: .4rem .85rem; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); color: var(--navy); font-size: .88rem; font-weight: 500; text-decoration: none !important;
  transition: border-color .15s, background .15s, color .15s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); background: var(--tint); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .collage { grid-auto-rows: 92px; }
  .search-card { grid-template-columns: 1fr; }
}

/* ---------- Form controls ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="password"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line);
  border-radius: 12px; padding: .75rem .9rem; transition: border-color .15s, box-shadow .15s;
}
input:hover, select:hover, textarea:hover { border-color: #d9d9d9; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(228, 37, 39, .15); }
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6783' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
input[type="file"] { padding: .6rem; background: var(--tint); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--navy); }
.req { color: var(--bad); }
.hint { display: block; color: var(--muted); font-size: .82rem; margin-top: .3rem; }
.err { display: block; color: var(--bad); font-size: .84rem; margin-top: .3rem; min-height: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Cards, grids ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.grid { display: grid; gap: 1.1rem; }
.cat-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.biz-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.area-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; }
.why-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }

.cat-card { display: flex; gap: .9rem; padding: 1.1rem; text-decoration: none !important; color: inherit; transition: transform .18s, box-shadow .18s, border-color .18s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue); }
.cat-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex: none; }
.cat-card h3 { margin: 0 0 .15rem; font-size: 1rem; }
.cat-card p { margin: 0; font-size: .85rem; color: var(--muted); line-height: 1.45; }
.cat-card .count { display: block; margin-top: .45rem; font-size: .8rem; font-weight: 600; color: var(--navy); }

.group-block { margin-bottom: 2.75rem; }
.group-block > h2 { display: flex; align-items: center; gap: .7rem; font-size: 1.35rem; }
.group-block > h2 .cat-icon { width: 38px; height: 38px; border-radius: 10px; }
.group-block .cat-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.group-block .cat-card { padding: .85rem 1rem; align-items: center; }
.group-block .cat-card h3 { font-size: .95rem; margin: 0; }
.group-block .cat-card .count { margin: .1rem 0 0; font-weight: 500; color: var(--muted); }

.area-card { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; text-decoration: none !important; color: var(--navy); font-weight: 600; font-size: .95rem; transition: border-color .15s, background .15s, transform .15s; }
.area-card .ic { color: var(--blue); }
.area-card small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.area-card:hover { border-color: var(--blue); background: var(--tint); transform: translateY(-2px); }

.why-card { padding: 1.4rem; }
.why-card .cat-icon { margin-bottom: .9rem; }
.why-card h3 { margin-bottom: .3rem; }
.why-card p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Business card ---------- */
.biz { padding: 1.15rem; display: flex; flex-direction: column; gap: .55rem; transition: box-shadow .18s, border-color .18s; }
.biz:hover { box-shadow: var(--shadow); border-color: #c5d3f5; }
.biz-top { display: flex; gap: .85rem; align-items: center; }
.biz-head h3 { margin: 0; font-size: 1.05rem; }
.biz-head h3 a { color: var(--navy); }
.biz-head p { margin: 0; font-size: .86rem; }
.logo { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: none; background: var(--sky); }
.logo-ph { display: grid; place-items: center; font: 700 1.3rem var(--font-head); color: #fff; background: linear-gradient(135deg, hsl(var(--h), 78%, 50%), hsl(calc(var(--h) + 30), 70%, 28%)); }
.logo.lg { width: 84px; height: 84px; border-radius: 20px; font-size: 1.9rem; }
.meta { display: flex; gap: .5rem; align-items: flex-start; font-size: .9rem; margin: 0; color: var(--ink); }
.meta .ic { margin-top: 3px; color: var(--muted); }
.biz .actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .6rem; }
.badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.badge { font-size: .75rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; background: var(--tint); color: var(--navy); border: 1px solid var(--line); }
.badge.demo { background: var(--warn-bg); color: var(--warn); border-color: #f4d9ae; }
.badge.ok, .badge.open { background: var(--ok-bg); color: var(--ok); border-color: #bfe6d6; }
.badge.closed { background: var(--bad-bg); color: var(--bad); border-color: #f6c7cb; }
.badge.feat { background: var(--sky); color: var(--blue-dark); border-color: #bcd0ff; }
.badge.pending { background: var(--warn-bg); color: var(--warn); }
.badge.approved { background: var(--ok-bg); color: var(--ok); }
.badge.rejected { background: var(--bad-bg); color: var(--bad); }
.stars { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: #b45309; }
.stars .ic { fill: #f59e0b; stroke: #f59e0b; }

.demo-note { background: var(--warn-bg); color: var(--warn); border: 1px solid #f4d9ae; border-radius: 10px; padding: .6rem .9rem; font-size: .88rem; margin: 0 0 1.25rem; }

/* ---------- Page head, crumbs ---------- */
.page-head { background: var(--tint); border-bottom: 1px solid var(--line); padding: 2rem 0 1.75rem; }
.page-head h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: .3rem; }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: .75rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: #aab4cd; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }

/* ---------- Results ---------- */
.results-layout { display: grid; grid-template-columns: 280px 1fr; gap: 1.75rem; align-items: start; }
.filters { padding: 1.2rem; position: sticky; top: 88px; }
.filters h2 { font-size: 1.05rem; margin-bottom: 1rem; }
.filters .field { margin-bottom: .9rem; }
.filters-btn { display: none; margin-bottom: 1rem; }
.res-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.res-bar p { margin: 0; font-weight: 600; color: var(--navy); }
.res-bar label { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--muted); }
.res-bar select { width: auto; padding-top: .5rem; padding-bottom: .5rem; }
.more { text-align: center; margin-top: 1.5rem; }
.empty { text-align: center; padding: 3rem 1.5rem; border: 1.5px dashed #d9d9d9; border-radius: var(--radius); background: var(--tint); }
.empty h3 { font-size: 1.2rem; }
.empty p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.empty .row { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.intro-block { margin-top: 1rem; }
.intro-block h2 { font-size: 1rem; margin: 1rem 0 .5rem; }
@media (max-width: 900px) {
  .results-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filters-btn { display: inline-flex; }
}

/* ---------- Profile ---------- */
.profile-head { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.profile-head h1 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.3rem); }
.profile-grid { display: grid; grid-template-columns: 1fr 340px; gap: 1.75rem; align-items: start; }
.panel { padding: 1.5rem; margin-bottom: 1.25rem; }
.panel h2 { font-size: 1.15rem; margin-bottom: .8rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .6rem; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.gallery-empty { padding: 1.5rem; text-align: center; background: var(--tint); border-radius: 10px; color: var(--muted); font-size: .92rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { padding: .35rem .8rem; background: var(--tint); border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; }
.contact-list { display: grid; gap: .75rem; }
.contact-list .btn { width: 100%; }
.side-info li { display: flex; gap: .6rem; margin-bottom: .85rem; font-size: .93rem; }
.side-info .ic { color: var(--blue); margin-top: 3px; }
.map-frame { width: 100%; height: 280px; border: 0; border-radius: 12px; background: var(--tint); }
.review { padding: 1rem 0; border-top: 1px solid var(--line); }
.review:first-of-type { border-top: 0; }
.review p { margin: .3rem 0 0; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; } }

/* ---------- Steps, FAQ, CTA ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding: 1.4rem 1.4rem 1.4rem 1.4rem; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 .95rem var(--font-head); margin-bottom: .9rem; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }

.owner-cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; border-radius: 24px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.owner-cta h2 { color: #fff; }
.owner-cta p { color: #f1c5c6; }
.owner-cta ul { display: grid; gap: .6rem; }
.owner-cta li { display: flex; gap: .6rem; align-items: flex-start; color: #fbe6e6; font-size: .95rem; }
.owner-cta li .ic { color: #f59a9b; margin-top: 3px; }
@media (max-width: 800px) { .owner-cta { grid-template-columns: 1fr; } }

.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .7rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 1.1rem; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 1rem; margin: 0; }

.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding: 2rem; }
.newsletter form { display: grid; gap: .75rem; }
.newsletter .row { display: flex; gap: .6rem; }
@media (max-width: 800px) { .newsletter { grid-template-columns: 1fr; } .newsletter .row { flex-direction: column; } }

/* ---------- Narrow content pages ---------- */
.narrow { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin-top: 2rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.prose li { margin-bottom: .35rem; }
.form-card { padding: clamp(1.25rem, 4vw, 2.25rem); }
.alert { padding: .85rem 1rem; border-radius: 10px; font-size: .92rem; margin-bottom: 1rem; }
.alert.err-box { background: var(--bad-bg); color: var(--bad); }
.alert.ok-box { background: var(--ok-bg); color: var(--ok); }
.alert.info-box { background: var(--tint); color: var(--navy); border: 1px solid var(--line); }
.success { text-align: center; padding: 2.5rem 1rem; }
.success .cat-icon { margin: 0 auto 1rem; background: var(--ok-bg); color: var(--ok); width: 64px; height: 64px; border-radius: 50%; }
.thumbs { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #f1c5c6; padding: 3.5rem 0 1.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer .logo-link { color: #fff; margin-bottom: .8rem; }
.site-footer h3 { color: #fff; font-size: .98rem; margin-bottom: .8rem; }
.site-footer a { color: #f1c5c6; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: .45rem; }
.site-footer p { font-size: .92rem; }
.social { display: flex; gap: .6rem; flex-wrap: wrap; }
.social a { padding: .35rem .75rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: .84rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .86rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Admin ---------- */
.admin-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: .75rem; }
.admin-tabs a { padding: .5rem .9rem; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); text-decoration: none !important; }
.admin-tabs a:hover { background: var(--tint); color: var(--blue); }
.admin-tabs a[aria-current="page"] { background: var(--navy); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat { padding: 1.1rem 1.2rem; }
.stat b { display: block; font: 700 1.9rem var(--font-head); color: var(--navy); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .88rem; }
.admin-row { display: flex; gap: 1rem; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; padding: 1rem 1.2rem; margin-bottom: .75rem; }
.admin-row h3 { margin: 0 0 .2rem; font-size: 1rem; }
.admin-row p { margin: 0; font-size: .88rem; color: var(--muted); }
.admin-row .acts { display: flex; gap: .4rem; flex-wrap: wrap; }
.admin-tools { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.admin-tools input, .admin-tools select { width: auto; min-width: 200px; }
.login-box { max-width: 420px; margin: 3rem auto; padding: 2rem; }
table.simple { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.simple th, table.simple td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); }
table.simple th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* ---------- Modal, toast ---------- */
dialog { border: 0; border-radius: 18px; padding: 0; width: min(560px, calc(100% - 2rem)); box-shadow: var(--shadow); color: var(--ink); }
dialog::backdrop { background: rgba(34, 34, 34, .55); }
.modal-in { padding: 1.5rem; max-height: 85vh; overflow: auto; }
.modal-in h2 { font-size: 1.25rem; }
.modal-actions { display: flex; gap: .6rem; justify-content: flex-end; margin-top: 1rem; }
#toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0;
  background: var(--navy); color: #fff; padding: .8rem 1.2rem; border-radius: 12px; box-shadow: var(--shadow);
  z-index: 300; max-width: calc(100% - 2rem); font-size: .92rem; pointer-events: none; transition: opacity .2s, transform .2s;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.loading { padding: 5rem 0; text-align: center; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

main:focus { outline: none; }

/* ==========================================================
   FLIPKART-STYLE THEME
   Blue header, yellow/orange accents, grey page, white blocks,
   icon category strip, banner carousel, product-style cards
   ========================================================== */
:root {
  --blue: #e42527; --blue-dark: #c71f21; --sky: #fde3e3; --tint: #f4f4f4;
  --navy: #1f1f1f; --navy-2: #3a3a3a; --ink: #212121; --muted: #757575; --line: #e0e0e0;
  --yellow: #f9b21d; --orange: #089949; --green: #089949;
  --font-head: "Roboto", "Inter", system-ui, sans-serif; --font-body: "Roboto", "Inter", system-ui, sans-serif;
  --radius: 2px; --radius-sm: 2px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .2); --shadow: 0 3px 16px rgba(0, 0, 0, .16);
}
body { background: #f4f4f4; color: var(--ink); }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: 0; color: var(--ink); }
.section.alt { background: transparent; }
.page-head { background: #fff; border-bottom: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }

/* Buttons */
.btn { border-radius: 2px; font-weight: 500; background: var(--orange); box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .2); text-transform: none; }
.btn:hover { background: #067a3b; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transform: none; }
.btn-navy { background: var(--blue); }
.btn-navy:hover { background: var(--blue-dark); }
.btn-ghost { background: #fff; color: var(--blue); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: #fff5f5; border-color: var(--blue); box-shadow: none; }
.btn-danger { box-shadow: none; }
.chip { border-radius: 2px; border-color: var(--line); }
.badge { border-radius: 2px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="password"], select, textarea { border-radius: 2px; border-color: var(--line); }
.card { border: 0; border-radius: 2px; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .2); }

/* ---------- Header ---------- */
.site-header { background: var(--blue); border-bottom: 0; backdrop-filter: none; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.header-in { min-height: 56px; gap: 18px; }
.logo-link { color: #fff; flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.05; font: italic 700 1.35rem var(--font-head); }
.logo-mark { display: none; }
.logo-sub { font: italic 500 .7rem var(--font-body); color: var(--yellow); }
.head-search { flex: 1; max-width: 520px; min-width: 180px; display: flex; background: #fff; border-radius: 2px; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .2); }
.head-search:focus-within { box-shadow: 0 3px 10px rgba(0, 0, 0, .35); }
.head-search input { border: 0; border-radius: 2px 0 0 2px; height: 38px; padding: 0 14px; font-size: .92rem; box-shadow: none !important; }
.head-search button { border: 0; background: #fff; color: var(--blue); width: 46px; cursor: pointer; display: grid; place-items: center; border-radius: 0 2px 2px 0; }
.nav { margin-left: auto; gap: 2px; }
.nav a.nav-link { color: #fff; border-radius: 2px; font-weight: 500; font-size: .88rem; padding: .5rem .65rem; }
.nav a.nav-link:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.nav a.nav-link[aria-current="page"] { background: transparent; color: #fff; box-shadow: inset 0 -3px 0 var(--yellow); }
.nav a.nav-link[data-route="/account"] { background: #fff; color: var(--blue); padding: .4rem 1.4rem; margin-left: 4px; box-shadow: none; }
.nav a.nav-link[data-route="/account"]:hover { background: #f4f4f4; color: var(--blue); }
.nav .btn { background: var(--yellow); color: var(--ink); margin-left: 6px; box-shadow: none; }
.nav .btn:hover { background: #e6a113; }
.nav-toggle { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); border-radius: 2px; }
@media (max-width: 1280px) {
  .header-in { flex-wrap: wrap; padding: 8px 0; gap: 10px; }
  .nav-toggle { display: grid; margin-left: auto; }
  .head-search { order: 3; flex: 1 1 100%; max-width: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; padding: .5rem 1.25rem 1rem; margin: 0; box-shadow: var(--shadow); display: none; max-height: calc(100vh - 110px); overflow: auto; }
  .nav.open { display: flex; }
  .nav a.nav-link { color: var(--ink); font-size: 1rem; padding: .8rem .4rem; border-bottom: 1px solid #f0f0f0; }
  .nav a.nav-link:hover { background: #fff5f5; color: var(--blue); }
  .nav a.nav-link[aria-current="page"] { color: var(--blue); box-shadow: none; }
  .nav a.nav-link[data-route="/account"] { background: transparent; color: var(--ink); padding: .8rem .4rem; margin: 0; }
  .nav .btn { margin: .8rem 0 0; background: var(--orange); color: #fff; }
  .only-mobile { display: block; }
}

/* ---------- Category icon strip ---------- */
.cat-strip { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.cat-strip .wrap { width: min(100% - 1rem, 1400px); }
.cat-strip ul { display: flex; gap: 0; overflow-x: auto; padding: 10px 0 8px; scrollbar-width: none; scroll-padding-inline: 8px; }
.cat-strip ul::-webkit-scrollbar { display: none; }
.cat-strip li { flex: 1 0 84px; min-width: 84px; }   /* fills the row on desktop, scrolls on small screens */
.cat-strip a { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 6px 4px; color: var(--ink); font-size: .78rem; font-weight: 500; text-align: center; line-height: 1.25; text-decoration: none !important; border-radius: 2px; }
@media (hover: hover) and (pointer: fine) {
  .cat-strip ul { scrollbar-width: thin; scrollbar-color: #d9d9d9 transparent; }
  .cat-strip ul::-webkit-scrollbar { display: block; height: 6px; }
  .cat-strip ul::-webkit-scrollbar-thumb { background: #d9d9d9; border-radius: 3px; }
}
.cat-strip a:hover { color: var(--blue); background: #fff5f5; }
.strip-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: hsl(var(--h) 85% 94%); color: hsl(var(--h) 70% 34%); transition: transform .2s; }
.cat-strip a:hover .strip-ic { transform: translateY(-3px) scale(1.07); }

/* ---------- Banner carousel ---------- */
.banner { padding: 10px 0 0; }
.banner .wrap { position: relative; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); background: #fff; }
.slides { display: flex; transition: transform .65s cubic-bezier(.4, 0, .2, 1); }
.slide { flex: 0 0 100%; min-height: 310px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 2rem; padding: 2.5rem clamp(2.5rem, 6vw, 5rem); color: #fff; }
.slide.s1 { background: linear-gradient(110deg, #e42527 0%, #b01a1c 62%, #1f1f1f 150%); }
.slide.s2 { background: linear-gradient(110deg, #1f1f1f 0%, #e42527 130%); }
.slide.s3 { background: linear-gradient(110deg, #f9b21d 0%, #fb8a1b 100%); color: #212121; }
.slide h1, .slide h2 { color: inherit; font-size: clamp(1.8rem, 4.4vw, 3rem); font-weight: 700; margin-bottom: .3em; }
.slide .tagline { font: 500 1.2rem var(--font-head); color: var(--yellow); margin-bottom: .6rem; }
.slide .lead { color: rgba(255, 255, 255, .9); margin-bottom: 1.4rem; }
.slide.s3 .lead { color: rgba(33, 33, 33, .88); }
.slide-art { display: grid; grid-template-columns: repeat(3, 72px); gap: 16px; justify-content: center; }
.art-ic { width: 72px; height: 72px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .22); animation: float 6s ease-in-out infinite; }
.art-ic:nth-child(2n) { animation-duration: 7.4s; animation-delay: -2s; }
.art-ic:nth-child(3n) { animation-duration: 6.6s; animation-delay: -3.5s; color: var(--orange); }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 92px; background: #fff; border: 0; cursor: pointer; color: var(--ink); display: grid; place-items: center; box-shadow: 0 1px 6px rgba(0, 0, 0, .3); z-index: 3; }
.car-btn:hover { background: #fff5f5; color: var(--blue); }
.car-btn.prev { left: 0; border-radius: 0 4px 4px 0; }
.car-btn.next { right: 0; border-radius: 4px 0 0 4px; }
.dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; z-index: 3; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .25s, background .25s; }
.dots button[aria-current="true"] { width: 24px; border-radius: 6px; background: #fff; }
@media (max-width: 800px) {
  .slide { grid-template-columns: 1fr; min-height: 340px; padding: 2rem 3.25rem 3rem; }
  .slide-art { display: none; }
  .car-btn { width: 30px; height: 64px; }
}

/* ---------- White blocks on the grey page (home) ---------- */
.home .section { padding: 10px 0 0; }
.home .section:last-of-type { padding-bottom: 16px; }
.home .section > .wrap { background: #fff; padding: 16px 20px 20px; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .2); }
.home .section.flat > .wrap { background: none; box-shadow: none; padding: 0; }
.home .section-head { border-bottom: 1px solid #f0f0f0; padding-bottom: 12px; margin-bottom: 16px; align-items: center; }
.home .section-head h2 { font-size: 1.4rem; margin: 0 0 2px; }
.home .section-head p { font-size: .88rem; }
.home .section-head .btn-ghost { background: var(--blue); color: #fff; border-color: var(--blue); font-size: .85rem; padding: .7rem 1.1rem; }
.home .section-head .btn-ghost:hover { background: var(--blue-dark); }
.home .card { box-shadow: none; border: 1px solid #f0f0f0; }
.home .card:hover { box-shadow: 0 3px 16px rgba(0, 0, 0, .16); }

.find { padding: 10px 0 0; }
.find .wrap { background: #fff; padding: 16px 20px; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .2); }
.find h2 { font-size: 1.25rem; margin-bottom: 12px; }
.find .search-card { margin: 0; box-shadow: none; border: 0; padding: 0; border-radius: 0; }
.search-card input, .search-card select { height: 46px; }
.search-card .btn { background: var(--blue); }
.search-card .btn:hover { background: var(--blue-dark); }

/* ---------- Cards: product style ---------- */
.cat-card { flex-direction: column; align-items: center; text-align: center; padding: 18px 12px; gap: .6rem; }
.cat-card::after, .biz::after, .area-card::after { display: none; }
.cat-icon { border-radius: 50%; width: 56px; height: 56px; background: var(--sky); color: var(--blue); transition: transform .25s, background .25s, color .25s; }
.cat-card:hover .cat-icon, .why-card:hover .cat-icon { background: var(--blue); color: #fff; transform: scale(1.08); }
.cat-card h3 { font-size: .98rem; font-weight: 500; }
.cat-card:hover h3 { color: var(--blue); }
.cat-card .count { color: var(--green); font-weight: 500; }
.group-block .cat-card { flex-direction: row; text-align: left; padding: .8rem 1rem; }
.group-block .cat-card .count { color: var(--muted); }
.group-block > h2 .cat-icon { width: 38px; height: 38px; }
.area-card { border-radius: 2px; }
.area-card:hover { background: #fff5f5; border-color: var(--blue); transform: none; }

.biz { padding: 16px; gap: .5rem; border-radius: 2px; }
.biz:hover { box-shadow: 0 3px 16px rgba(0, 0, 0, .2); }
.biz-top { flex-direction: column; text-align: center; gap: .6rem; }
.logo { width: 104px; height: 104px; border-radius: 4px; }
.logo.lg { width: 84px; height: 84px; }
.biz-head h3 { font-size: 1rem; }
.biz-head h3 a { color: var(--ink); }
.biz-head h3 a:hover { color: var(--blue); text-decoration: none; }
.biz .badges { justify-content: center; }
.biz .meta { font-size: .86rem; }
.biz .actions .btn:first-child { flex: 1 1 100%; }
.stars { background: var(--green); color: #fff; padding: 2px 7px; border-radius: 3px; font-size: .8rem; gap: 3px; }
.stars .ic { fill: #fff; stroke: #fff; width: 12px; height: 12px; }
.badge.open { background: transparent; border-color: transparent; color: var(--green); padding-left: 0; }
.badge.feat { background: var(--yellow); color: #212121; border-color: var(--yellow); }
.badge.demo { border-radius: 2px; }
.why-card, .step { border-radius: 2px; }
.step::before { background: var(--blue); border-radius: 2px; }

/* Owner banner */
.owner-cta { background: linear-gradient(110deg, #e42527, #b01a1c); border-radius: 2px; }
.owner-cta .btn { background: var(--yellow) !important; color: #212121 !important; }
.owner-cta li .ic { color: var(--yellow); }

/* FAQ / misc */
.faq details { border-radius: 2px; }
.newsletter { padding: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: #1f1f1f; color: #c9c9c9; }
.site-footer h3 { color: #878fa0; font-weight: 500; font-size: .85rem; }
.site-footer a { color: #fff; }
.site-footer .logo-link { margin-bottom: .6rem; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .12); }

/* ---------- Motion ---------- */
.fx .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.fx .reveal.in { opacity: 1; transform: none; }
@keyframes float { 50% { translate: 0 -9px; } }
.home .find, .home .cat-strip, .home .banner { animation: fade-in .6s ease both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
main:focus { outline: none; }

/* Header fit + search field icon padding */
.site-header .wrap { width: min(100% - 2rem, 1320px); }
.nav a.nav-link, .nav .btn { white-space: nowrap; }
.nav a.nav-link { padding: .5rem .55rem; }
.nav a.nav-link[data-route="/account"] { padding: .4rem 1rem; }
.head-search { max-width: 420px; }
.search-card .field-wrap input, .search-card .field-wrap select { padding-left: 44px; }
.search-card .field-wrap select { padding-right: 40px; }
