/* DeogharServices.com design system (v3, navy and gold)
   Palette: Dham navy, temple gold, trust green, royal blue for actions.
   Type: Poppins for headings, Inter for text. */

:root {
  --navy: #102B5C;
  --navy-2: #0B2049;
  --navy-3: #1B3B75;
  --ink: #0F1B33;
  --ink-2: #3A4660;
  --muted: #65718A;
  --line: #E3E8F0;
  --line-strong: #CDD5E2;
  --paper: #F4F6FA;
  --surface: #FFFFFF;
  --blue: #2155C8;
  --blue-deep: #1A45A6;
  --blue-50: #EAF0FD;
  --gold: #D8A33B;
  --gold-deep: #B9852A;
  --gold-50: #FBF4E4;
  --green: #17803F;
  --green-btn: #1E9A52;
  --green-deep: #167A40;
  --green-50: #E7F6EC;
  --red: #C2362B;
  --red-50: #FDECEA;
  --orange: #E3871A;
  --orange-50: #FDF1E2;
  --violet: #6B3FA0;
  --violet-50: #F1EAFB;
  /* legacy names still used by a few templates */
  --marigold: var(--gold);
  --marigold-deep: var(--gold-deep);
  --sindoor: var(--red);
  --leaf: var(--green-btn);
  --display: "Poppins", "Inter", "Noto Sans Devanagari", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", "Noto Sans Devanagari", sans-serif;
  --r-lg: 14px;
  --r-md: 10px;
  --r-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 27, 51, .05);
  --shadow: 0 1px 2px rgba(16, 27, 51, .04), 0 10px 28px -14px rgba(16, 27, 51, .18);
  --shadow-lift: 0 2px 4px rgba(16, 27, 51, .04), 0 18px 40px -18px rgba(16, 27, 51, .28);
  --focus: 0 0 0 3px rgba(216, 163, 59, .55);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 600; }
h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 2.3vw, 1.75rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.icon { flex: none; vertical-align: middle; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(780px, 100% - 40px); }
.stack { display: grid; gap: 14px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }

/* ---------- Buttons, tags, badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 9px 18px; border-radius: var(--r-sm); border: 1px solid transparent;
  background: var(--blue); color: #fff; font-weight: 600; font-size: .97rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn:hover { background: var(--blue-deep); color: #fff; }
.btn-sm { min-height: 36px; padding: 6px 13px; font-size: .9rem; }
.btn-md { min-height: 44px; }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 1.03rem; }
.btn-block { width: 100%; }
.btn-gold, .btn-marigold { background: var(--gold); color: var(--navy-2); }
.btn-gold:hover, .btn-marigold:hover { background: #CB9530; color: var(--navy-2); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--blue-50); color: var(--blue-deep); border-color: var(--blue); }
.btn-call { background: var(--navy); }
.btn-call:hover { background: var(--navy-3); }
.btn-wa, .btn-leaf { background: var(--green-btn); color: #fff; }
.btn-wa:hover, .btn-leaf:hover { background: var(--green-deep); color: #fff; }
.btn-danger { background: var(--surface); color: var(--red); border-color: #F0C3BE; }
.btn-danger:hover { background: var(--red-50); color: var(--red); }
.btn-link { background: none; border: 0; color: var(--blue); padding: 0; min-height: 0; font-weight: 600; cursor: pointer; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--navy); display: inline-grid; place-items: center; cursor: pointer; transition: background-color .15s, color .15s; }
.icon-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.tag { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--blue-50); color: var(--blue-deep); line-height: 1.5; white-space: nowrap; }
.tag-verified { background: var(--green-50); color: var(--green); }
.tag-featured { background: var(--gold-50); color: #8A5A0B; }
.tag-cert { background: var(--violet-50); color: #5B3596; }
.badge { display: inline-block; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #EEF1F6; color: var(--ink-2); vertical-align: middle; }
.badge-approved, .badge-published, .badge-resolved, .badge-closed, .badge-verified { background: var(--green-50); color: var(--green); }
.badge-pending, .badge-reviewing, .badge-new { background: var(--gold-50); color: #8A5A0B; }
.badge-rejected, .badge-suspended, .badge-open { background: var(--red-50); color: var(--red); }
.badge-blue { background: var(--blue-50); color: var(--blue-deep); }
.verified { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-weight: 600; font-size: .85rem; white-space: nowrap; }

/* ---------- Header ---------- */
.demo-bar { background: var(--gold-50); color: #6B4507; font-size: .85rem; text-align: center; padding: 6px 16px; border-bottom: 1px solid #F0DDB2; }
.site-header { background: var(--surface); position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 var(--line), 0 6px 18px -16px rgba(16, 27, 51, .3); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 50px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; position: relative; }
.main-nav > a:not(.btn):hover { color: var(--navy); background: var(--paper); }
.main-nav > a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.main-nav > a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold); }
.main-nav .btn { margin-left: 8px; }
.main-nav .btn + .btn { margin-left: 6px; }
.nav-sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; place-items: center; cursor: pointer; color: var(--navy); }

/* ---------- Alerts and notes ---------- */
.alert { margin: 18px 0 0; padding: 12px 16px; border-radius: var(--r-md); background: var(--blue-50); color: var(--blue-deep); border: 1px solid #CFDBF6; }
.alert-success { background: var(--green-50); color: var(--green); border-color: #BFE1CD; }
.alert-error { background: var(--red-50); color: var(--red); border-color: #F3C9C4; }
.alert-warning { background: var(--gold-50); color: #7A4F05; border-color: #F0DDB2; }
.alert p:last-child { margin: 0; }
.note { background: var(--gold-50); border: 1px solid #F0DDB2; border-radius: var(--r-md); padding: 16px 18px; font-size: .94rem; color: #5E4208; }
.note strong { display: block; margin-bottom: 4px; color: #5E4208; }
.note p { margin: 0; }

/* ---------- Hero (home, About, thank-you) ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background-color: var(--navy); background-size: cover; background-position: center 65%; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 32, 73, .7) 0%, rgba(11, 32, 73, .55) 50%, rgba(11, 32, 73, .82) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 76px 0 70px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1, .hero-lead, .hero-tagline { text-shadow: 0 2px 18px rgba(8, 18, 40, .45); }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.12; max-width: 20ch; margin: 0 0 10px; text-wrap: balance; }
.hero-tagline { font-family: var(--display); font-weight: 500; font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: var(--gold); margin: 0 0 12px; }
.hero-lead { color: #D3DBEC; font-size: 1.06rem; max-width: 44em; margin: 0 0 28px; }
.hero-search { width: min(760px, 100%); background: var(--surface); border-radius: 12px; padding: 6px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 4px; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .55); text-align: left; }
.hero-search label { display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--muted); }
.hero-search label + label { border-left: 1px solid var(--line); }
.hero-search input, .hero-search select { border: 0; background: transparent; width: 100%; height: 48px; color: var(--ink); outline: none; min-width: 0; font-size: .97rem; }
.hero-search select { cursor: pointer; }
.hero-search .btn { min-height: 50px; padding-inline: 22px; border-radius: 9px; }
.quick-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; align-items: center; }
.quick-chips span { color: #AFC0DE; font-size: .9rem; margin-right: 2px; }
.quick-chips a { color: #fff; text-decoration: none; font-size: .88rem; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(255, 255, 255, .06); }
.quick-chips a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.hero-trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; color: #D3DBEC; font-size: .93rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--gold); }
.hero-page .hero-inner { padding: 64px 0 66px; }
.hero-page .crumbs { justify-content: center; margin-bottom: 14px; }
.hero-page .crumbs, .hero-page .crumbs a { color: #AFC0DE; }
.hero-page .hero-lead { margin-bottom: 24px; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 32px 0; }
.section-white { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 46em; }
.section-head .more { white-space: nowrap; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; color: var(--navy); }
.section-head .more:hover { color: var(--blue); }
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }

/* ---------- Service tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 20px 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat-tile:hover { border-color: var(--gold); box-shadow: var(--shadow-lift); transform: translateY(-2px); color: var(--ink); }
.cat-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; transition: background-color .15s, color .15s; }
.cat-name { font-weight: 600; font-size: .94rem; line-height: 1.3; }
.cat-count { color: var(--muted); font-size: .8rem; }
.cat-ico.tone-c0, .tone-c0 .cat-ico { background: #FDF1E2; color: #C2650E; }
.cat-ico.tone-c1, .tone-c1 .cat-ico { background: #E8EFFD; color: #2155C8; }
.cat-ico.tone-c2, .tone-c2 .cat-ico { background: #E5F5EB; color: #17803F; }
.cat-ico.tone-c3, .tone-c3 .cat-ico { background: #FCE9EC; color: #B4234B; }
.cat-ico.tone-c4, .tone-c4 .cat-ico { background: #F1EAFB; color: #6B3FA0; }
.cat-ico.tone-c5, .tone-c5 .cat-ico { background: #E2F3F6; color: #0E7490; }
.cat-tile:hover .cat-ico { background: var(--navy); color: var(--gold); }

/* ---------- Provider cards ---------- */
.plist { display: grid; gap: 16px; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.pcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lift); }
.pcard h3 { font-size: 1.08rem; margin: 0; font-weight: 600; }
.pcard h3 a { color: var(--ink); text-decoration: none; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pcard h3 a:focus-visible { box-shadow: none; }
.pcard:has(h3 a:focus-visible) { box-shadow: var(--focus); }
.pcard .btn, .pcard .tag, .pcard .verified { position: relative; z-index: 1; }
.pcard-cats { margin: 2px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.4; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pcard-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: .9rem; }
.pcard-meta .exp { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); }
.pcard-meta .exp .icon { color: var(--muted); }
.pcard-qual { margin: 0; display: flex; gap: 6px; align-items: flex-start; color: var(--ink-2); font-size: .9rem; line-height: 1.4; }
.pcard-qual .icon { color: var(--violet); margin-top: 2px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .8rem; padding: 3px 10px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.chips li.more { background: none; border-style: dashed; color: var(--muted); }
.pcard-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pcard-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.price-from { color: var(--muted); font-size: .88rem; line-height: 1.3; }
.price-from strong { color: var(--ink); font-size: 1.1rem; font-family: var(--display); font-weight: 600; }
/* Row layout (category and search pages) */
.pcard-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 20px; }
.pcard-row.is-featured { box-shadow: inset 4px 0 0 var(--gold), var(--shadow-sm); }
.pcard-row.is-featured:hover { box-shadow: inset 4px 0 0 var(--gold), var(--shadow-lift); }
.pcard-body { display: grid; gap: 10px; min-width: 0; }
.pcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pcard-row .pcard-foot { padding-top: 12px; border-top: 1px solid var(--line); }
/* Tile layout (carousels) */
.pcard-tile { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.pcard-tile .pcard-top { justify-content: flex-start; align-items: center; }
.pcard-tile .pcard-id { min-width: 0; }
.pcard-tile h3 { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-tile .rating-line { font-size: .85rem; }
.pcard-tile .pcard-cats { margin: 0; }
.pcard-tile .pcard-meta { min-height: 24px; }
.pcard-tile .pcard-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.pcard-tile.is-featured { border-top: 3px solid var(--gold); }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 14px; scrollbar-width: thin; }
.carousel > * { scroll-snap-align: start; }
.carousel:focus-visible { border-radius: var(--r-lg); }
.carousel-nav { display: flex; align-items: center; gap: 8px; }
.carousel-nav .more { margin-left: 8px; }

.avatar { flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 50%; font-family: var(--display); font-weight: 600; background: var(--blue-50); color: var(--blue-deep); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-sm { width: 42px; height: 42px; font-size: 1rem; }
.avatar-md { width: 52px; height: 52px; font-size: 1.15rem; }
.avatar-lg { width: 72px; height: 72px; font-size: 1.5rem; }
.avatar-xl { width: 128px; height: 128px; font-size: 2.6rem; }
.tone-1 { background: var(--gold-50); color: #8A5A0B; }
.tone-2 { background: var(--green-50); color: var(--green); }
.tone-3 { background: var(--violet-50); color: #5B3596; }
.tone-4 { background: #FCEBEF; color: #9A2645; }

.stars { --s: 15px; position: relative; display: inline-block; width: calc(var(--s) * 5); height: var(--s); vertical-align: -2px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23D6DCE7' d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9Z'/%3E%3C/svg%3E") 0 0 / var(--s) var(--s) repeat-x; }
.stars-fill { position: absolute; inset: 0 auto 0 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E0A63A' d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9Z'/%3E%3C/svg%3E") 0 0 / var(--s) var(--s) repeat-x; }
.stars.lg { --s: 20px; }
.rating-line { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; white-space: nowrap; }

/* ---------- Home: feature, steps, areas, quotes, CTA ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.feature-copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.feature-copy > p { color: var(--ink-2); font-size: 1.03rem; }
.feature-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.feature-points li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.feature-points .icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--navy); color: var(--gold); }
.feature-points strong { display: block; font-weight: 600; }
.feature-points span { color: var(--ink-2); font-size: .95rem; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.metrics div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; text-align: center; }
.metrics b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--navy); line-height: 1.1; }
.metrics span { font-size: .8rem; color: var(--muted); }
.feature-media { margin: 0; position: relative; }
.feature-media img { border-radius: 18px; box-shadow: var(--shadow-lift); width: 100%; height: auto; }
.feature-media figcaption { position: absolute; left: 18px; bottom: 18px; background: var(--surface); border-radius: 999px; padding: 8px 14px; font-size: .88rem; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; box-shadow: var(--shadow); }
.feature-media figcaption .icon { color: var(--gold-deep); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.step-ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 16px; }
.step-num { position: absolute; top: 22px; right: 24px; font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--line-strong); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

.area-list { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .93rem; }
.area-chip:hover { border-color: var(--navy); color: var(--navy); }
.area-chip .icon { color: var(--gold-deep); }
.area-chip em { font-style: normal; color: var(--muted); font-size: .85rem; }

.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); }
.quote blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); line-height: 1.55; }
.quote figcaption { font-size: .9rem; color: var(--muted); }
.quote figcaption a { font-weight: 600; text-decoration: none; }

.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy) 60%, var(--navy-3) 100%); color: #fff; border-radius: 20px; padding: 44px 48px; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.cta-band p { color: #C9D3E8; max-width: 38em; }
.cta-tagline { font-family: var(--display); font-weight: 500; color: var(--gold) !important; font-size: 1.05rem; margin: 0 0 12px; }
.cta-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.cta-list li { display: flex; gap: 10px; align-items: flex-start; color: #E3E9F5; }
.cta-list .icon { color: var(--gold); margin-top: 3px; }
.cta-art { color: var(--gold); opacity: .95; }
.cta-art svg { width: 100%; max-width: 380px; height: auto; margin-left: auto; display: block; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; line-height: 1; color: var(--navy); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 16px; color: var(--ink-2); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Inner page headers ---------- */
.page-head, .page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 22px 0 28px; }
.page-head h1, .page-hero h1 { margin: 10px 0 6px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.page-hero .lead, .page-head .lead { color: var(--ink-2); font-size: 1.03rem; max-width: 50em; margin: 0; }
.page-head-row { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-top: 10px; }
.page-head-row h1 { margin: 0 0 4px; }
.page-head-row .cat-ico { width: 64px; height: 64px; margin: 0; border-radius: 16px; }
.head-facts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.head-facts li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); }
.head-facts .icon { color: var(--gold-deep); }
.head-facts b { color: var(--ink); }
.page-head .search-inline { max-width: 680px; margin-top: 16px; }
.crumbs { font-size: .86rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs .sep { color: var(--line-strong); }

/* ---------- Listing: filters and results ---------- */
.listing { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); position: sticky; top: 96px; box-shadow: var(--shadow-sm); overflow: hidden; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.filters-head h2 { font-size: 1rem; margin: 0; display: inline-flex; gap: 8px; align-items: center; }
.filters-head .icon { color: var(--gold-deep); }
.filters details { border-bottom: 1px solid var(--line); }
.filters details:last-of-type { border-bottom: 0; }
.filters summary { cursor: pointer; list-style: none; padding: 13px 18px; font-weight: 600; font-size: .93rem; display: flex; justify-content: space-between; align-items: center; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-135deg) translate(-2px, -2px); transition: transform .2s; }
.filters details:not([open]) summary::after { transform: rotate(45deg); }
.fbody { padding: 0 18px 16px; display: grid; gap: 8px; }
.fbody select { width: 100%; min-height: 42px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 6px 10px; background: var(--surface); }
.fbody .check { font-size: .92rem; }
.filters > .btn { margin: 0 18px 18px; width: calc(100% - 36px); }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.result-bar p { margin: 0; color: var(--muted); }
.result-bar strong { color: var(--ink); }
.search-inline { display: flex; gap: 8px; }
.search-inline input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--surface); }
.search-inline .search-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--muted); }
.search-inline .search-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33, 85, 200, .14); }
.search-inline .search-field input { border: 0; padding: 0; height: 44px; outline: none; color: var(--ink); }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); }
.pager span { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty { text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 44px 24px; }
.empty h3 { font-size: 1.2rem; }
.empty p { color: var(--muted); max-width: 36em; margin: 0 auto 18px; }

/* ---------- Cards and forms ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.card > h2 { font-size: 1.2rem; margin-bottom: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2 { font-size: 1.2rem; margin: 0; }
.side-title { font-size: 1rem !important; margin: 0 0 12px !important; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid > * { min-width: 0; }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field > label, .field > .label { font-weight: 600; font-size: .92rem; }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33, 85, 200, .14); }
.field input[type="file"] { padding: 10px; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); background: var(--paper); width: 100%; }
.help { font-size: .85rem; color: var(--muted); }
.req { color: var(--red); }
.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.check-grid > * { min-width: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; background: var(--surface); line-height: 1.35; }
.check:hover { border-color: var(--line-strong); }
.check input { margin-top: 2px; accent-color: var(--navy); width: 17px; height: 17px; flex: none; }
.check:has(input:checked) { border-color: var(--navy); background: var(--blue-50); }
.check.plain { border: 0; padding: 2px 0; background: none; }
.check.plain:has(input:checked) { background: none; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; width: max-content; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; color: #D6DCE7; }
.star-input label svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }
.star-input input:focus-visible + label { box-shadow: var(--focus); border-radius: 6px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.form-section { padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--line); }
.form-section > h2 { font-size: 1.08rem; margin-bottom: 14px; }
.note-input { border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 7px 10px; min-height: 38px; width: 100%; background: var(--surface); }
.banner-setting { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; align-items: start; }
.banner-setting img { width: 100%; height: auto; aspect-ratio: 20 / 9; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--line); }

/* ---------- Auth (login, register) ---------- */
.auth-wrap { padding: 36px 0 64px; }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.auth-wide { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); }
.auth-side { background: radial-gradient(600px 400px at 30% 0%, var(--navy-3), transparent 70%), var(--navy); color: #fff; padding: 52px 44px; display: flex; flex-direction: column; gap: 16px; }
.auth-art { color: var(--gold); width: min(260px, 80%); margin: 0 auto 10px; }
.auth-art svg { width: 100%; height: auto; display: block; }
.auth-side h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; }
.auth-side p { color: #C9D3E8; max-width: 30em; }
.auth-side .cta-list { margin: 6px 0 0; }
.auth-main { padding: 44px 40px; display: grid; align-content: center; }
.auth-box { width: min(460px, 100%); margin: 0 auto; min-width: 0; }
.auth-box.wide { width: 100%; max-width: 680px; }
.auth-box h1 { font-size: 1.8rem; margin-bottom: 6px; }

/* ---------- Provider profile ---------- */
.profile { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; padding: 18px 0 64px; }
.profile-side { display: grid; gap: 16px; position: sticky; top: 96px; }
.id-card { text-align: center; padding: 28px 24px; }
.id-photo { position: relative; width: max-content; margin: 0 auto 14px; }
.id-photo .avatar-xl { box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--line); }
.id-check { position: absolute; right: 4px; bottom: 6px; width: 30px; height: 30px; border-radius: 50%; background: var(--green-btn); color: #fff; display: grid; place-items: center; border: 3px solid var(--surface); }
.id-card h1 { font-size: 1.45rem; margin: 0 0 4px; }
.id-card .cats { color: var(--muted); margin: 0 0 8px; font-size: .94rem; }
.id-card .cats a { color: var(--ink-2); }
.id-rating { margin-bottom: 10px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.profile-qual { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--ink-2); margin: 0 0 10px; font-weight: 500; font-size: .94rem; }
.profile-qual .icon { color: var(--violet); }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.fact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); font-size: .93rem; line-height: 1.4; }
.fact-list li span { overflow-wrap: anywhere; }
.fact-list .icon { color: var(--gold-deep); margin-top: 1px; }
.report-link { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: .88rem; }
.profile-main { padding: 0; overflow: hidden; }
.ptabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 16px; overflow-x: auto; background: var(--surface); }
.ptabs a { display: inline-flex; align-items: center; gap: 6px; padding: 16px 14px 14px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.ptabs a span { font-size: .75rem; font-weight: 600; background: var(--paper); color: var(--muted); border-radius: 999px; padding: 1px 7px; }
.ptabs a:hover { color: var(--navy); }
.ptabs a[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--gold); }
.ptabs a[aria-selected="true"] span { background: var(--navy); color: #fff; }
.ptab-panel { padding: 26px 28px; }
.ptab-panel + .ptab-panel { border-top: 1px solid var(--line); }
.tabs-on .ptab-panel + .ptab-panel { border-top: 0; }
.ptab-panel > h2 { font-size: 1.25rem; }
.ptab-panel h3 { font-size: 1.02rem; margin: 24px 0 12px; }
.bio { font-size: 1rem; color: var(--ink-2); max-width: 70ch; }
.cred-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cred-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; }
.cred-list .cred-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--violet-50); color: var(--violet); }
.cred-list .cred-ico.ok { background: var(--green-50); color: var(--green); }
.cred-list strong { font-weight: 600; }
.cred-list small { display: block; color: var(--muted); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table td { padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:last-child { text-align: right; white-space: nowrap; padding-left: 16px; }
.price-table .svc { font-weight: 500; }
.price-table .svc small { display: block; font-weight: 400; color: var(--muted); }
.price-table .amt { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.price-table .unit { display: block; color: var(--muted); font-size: .82rem; }
.hours { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.hours div { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 6px; text-align: center; font-size: .82rem; color: var(--ink-2); }
.hours b { display: block; font-weight: 600; color: var(--ink); }
.hours .off { background: var(--paper); color: var(--muted); }
.hours .today { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: var(--gold-50); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery a { position: relative; display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); }
.gallery a img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; }
.gallery a span { font-size: .85rem; padding: 8px 10px; line-height: 1.35; }
.gallery a:hover { border-color: var(--line-strong); color: var(--ink); }
.rating-summary { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 18px 20px; background: var(--paper); border-radius: var(--r-md); margin-bottom: 8px; }
.rating-big { text-align: center; }
.rating-big b { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; display: block; color: var(--navy); }
.rating-big small { color: var(--muted); display: block; margin-top: 4px; }
.bars { display: grid; gap: 5px; }
.bar { display: grid; grid-template-columns: 40px 1fr 26px; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); }
.bar i { height: 8px; border-radius: 99px; background: #E4E8F0; overflow: hidden; display: block; }
.bar i span { display: block; height: 100%; background: var(--gold); border-radius: inherit; }
.review { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--display); font-weight: 600; }
.review-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 4px; flex-wrap: wrap; }
.review-head strong { font-weight: 600; margin-right: 6px; }
.review p { margin: 0; color: var(--ink-2); }
.review time { color: var(--muted); font-size: .85rem; }
.app-main .review, .card .review:not(.ptab-panel .review) { grid-template-columns: minmax(0, 1fr); }
.mobile-contact { display: none; }
.contact-card { display: grid; gap: 16px; }

/* ---------- Prose and content pages ---------- */
.prose { max-width: 72ch; font-size: 1.02rem; color: var(--ink-2); }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; color: var(--ink); }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.cms h2:first-child { margin-top: 0; }
.cms blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--gold); color: var(--ink); }
.cms a { font-weight: 500; }
.cms hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.value .cat-ico { margin-bottom: 12px; }
.value p { margin: 0; color: var(--muted); }
.contact-ways { display: grid; gap: 14px; }
.contact-way { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.contact-way > div { min-width: 0; }
.contact-way .cat-ico { width: 44px; height: 44px; border-radius: 12px; margin: 0; background: var(--navy); color: var(--gold); }
.contact-way strong { display: block; }
.contact-way p { margin: 0; color: var(--muted); font-size: .94rem; overflow-wrap: anywhere; }
.notfound { text-align: center; padding: 72px 0; }
.nf-code { font-family: var(--display); font-weight: 700; font-size: 6rem; line-height: 1; color: var(--gold); display: block; }
.notfound .search-inline { max-width: 460px; margin: 24px auto 16px; }

/* About page */
.about-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mission { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: center; background: var(--navy); color: #fff; border: 0; padding: 32px; }
.mission h2 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.35; }
.mission p { color: #C9D3E8; margin: 0; }
.mission .eyebrow { color: var(--gold); }
.vcard { background: var(--surface); border: 2px solid var(--vc, var(--blue)); border-radius: var(--r-lg); padding: 22px; text-align: center; }
.vcard-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; background: var(--vc-50, var(--blue-50)); color: var(--vc, var(--blue)); }
.vcard h3 { margin-bottom: 6px; }
.vcard p { margin: 0; color: var(--muted); font-size: .92rem; }
.v-blue { --vc: var(--blue); --vc-50: var(--blue-50); }
.v-green { --vc: var(--green-btn); --vc-50: var(--green-50); }
.v-red { --vc: var(--red); --vc-50: var(--red-50); }
.v-orange { --vc: var(--orange); --vc-50: var(--orange-50); }
.v-navy { --vc: var(--navy); --vc-50: #E7ECF5; }
.metrics-card { grid-column: span 2; }
.metrics-card .metrics { margin: 0; }
.metrics-card .metrics div { background: var(--paper); border: 0; }
.trust-card { grid-column: span 1; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.checks .icon { color: var(--green-btn); margin-top: 2px; }

/* ---------- Dashboard / admin ---------- */
.app-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; padding: 24px 0 64px; align-items: start; }
.app-shell > * { min-width: 0; }
.side-nav { background: var(--navy); border-radius: var(--r-lg); padding: 12px; display: grid; gap: 2px; position: sticky; top: 96px; max-width: 100%; box-shadow: var(--shadow); }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: #C9D3E8; text-decoration: none; font-weight: 500; font-size: .93rem; }
.side-nav a .icon { color: #8EA2C9; }
.side-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.side-nav a[aria-current="page"] { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.side-nav a[aria-current="page"] .icon { color: var(--gold); }
.side-nav .count { margin-left: auto; background: var(--gold); color: var(--navy-2); font-size: .75rem; font-weight: 700; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; }
.nav-group { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #7F93BC; padding: 14px 12px 4px; }
.nav-group:first-child { padding-top: 4px; }
.app-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.app-main > * { min-width: 0; }
.app-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.app-title h1 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0; }
.app-title p { margin: 4px 0 0; color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.stat span { color: var(--muted); font-size: .86rem; display: flex; align-items: center; gap: 6px; font-weight: 500; }
.stat b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.9rem; line-height: 1.15; margin-top: 6px; color: var(--ink); }
.stat small { display: block; font-size: .82rem; color: var(--muted); }
.stat a { font-size: .86rem; font-weight: 600; text-decoration: none; }
.stat-row:has(> .stat:nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat.attention { border-color: #F0DDB2; background: var(--gold-50); }
.stat-row.solid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-row.solid .stat { border: 0; color: #fff; background: var(--navy); box-shadow: var(--shadow); }
.stat-row.solid .stat:nth-child(2) { background: var(--blue); }
.stat-row.solid .stat:nth-child(3) { background: var(--navy-3); }
.stat-row.solid .stat:nth-child(4) { background: var(--gold); }
.stat-row.solid .stat span, .stat-row.solid .stat small { color: rgba(255, 255, 255, .78); }
.stat-row.solid .stat b { color: #fff; }
.stat-row.solid .stat a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.stat-row.solid .stat:nth-child(4) span, .stat-row.solid .stat:nth-child(4) small, .stat-row.solid .stat:nth-child(4) b, .stat-row.solid .stat:nth-child(4) a { color: var(--navy-2); }
.progress { height: 10px; border-radius: 99px; background: var(--paper); overflow: hidden; margin: 10px 0 6px; }
.progress span { display: block; height: 100%; background: var(--green-btn); border-radius: inherit; }
.checklist { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: center; }
.checklist .done { color: var(--green-btn); }
.checklist .todo { color: var(--line-strong); }
.checklist li.is-done span { color: var(--muted); text-decoration: line-through; }
.table-wrap { position: relative; max-width: 100%; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.table-wrap.flat { border-radius: var(--r-md); }
.table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table-wrap.flat .table { min-width: 460px; }
.table th, .table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .93rem; }
.table th { font-weight: 600; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; background: #F8F9FC; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #FAFBFD; }
.table td .sub { display: block; color: var(--muted); font-size: .85rem; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-form select, .inline-form input { border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 7px 10px; background: var(--surface); min-height: 38px; }
.inline-form .search-inline { max-width: 100%; }
.inline-form .search-inline input { min-width: 0; flex: 1 1 120px; }
.app-title .search-inline { flex-wrap: wrap; max-width: 100%; }
.app-title .search-inline input, .app-title .search-inline select { min-width: 0; flex: 1 1 140px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; max-width: 100%; }
.tabs a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .92rem; }
.tabs a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.tabs a em { font-style: normal; opacity: .7; margin-left: 4px; }
.hours-form { display: grid; gap: 10px; }
.hours-row { display: grid; grid-template-columns: 140px 120px 1fr 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.hours-row:last-child { border-bottom: 0; }
.hours-row input[type="time"] { border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 8px 10px; min-height: 42px; width: 100%; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.photo-grid figure { margin: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.photo-grid img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.photo-grid figcaption { padding: 8px 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.list-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.list-row:last-child { border-bottom: 0; }
.list-row p { margin: 4px 0 0; color: var(--ink-2); }
.list-row > .muted { white-space: nowrap; }
#editor { background: var(--surface); min-height: 380px; font: inherit; font-size: 1rem; border-radius: 0 0 var(--r-md) var(--r-md); }
#editor .ql-editor { min-height: 380px; line-height: 1.65; }
#editor .ql-editor h2 { font-family: var(--display); font-size: 1.35rem; }
.ql-toolbar.ql-snow { border-radius: var(--r-md) var(--r-md) 0 0; background: var(--paper); font-family: var(--body); }
/* Documents and change review */
.doc-review { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.doc-thumb { display: grid; place-items: center; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); overflow: hidden; text-decoration: none; }
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.doc-pdf { display: grid; justify-items: center; gap: 6px; color: var(--red); font-weight: 600; }
.doc-review + .doc-review { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.change-block { padding: 16px 0; border-top: 1px dashed var(--line); }
.change-block:first-of-type { border-top: 0; padding-top: 4px; }
.change-head { display: flex; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.diff-old { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(194, 54, 43, .4); }
.diff-new { background: var(--green-50); color: var(--ink); }

/* ---------- Thank-you page ---------- */
.thanks-hero { position: relative; overflow: hidden; color: #fff; text-align: center; background-color: var(--navy); background-size: cover; background-position: center 65%; }
.thanks-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 32, 73, .82), rgba(11, 32, 73, .9)); }
.thanks-inner { position: relative; z-index: 1; padding: 56px 0 64px; max-width: 720px; }
.thanks-badge { display: inline-block; margin-bottom: 14px; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.thanks.hero h1, .hero-lead, .hero-tagline { text-shadow: 0 2px 18px rgba(8, 18, 40, .45); }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 2.9rem); margin-bottom: 12px; }
.thanks-lead { color: #D6DEF0; font-size: 1.08rem; max-width: 38em; margin: 0 auto 16px; }
.thanks-lead strong { color: #fff; }
.thanks-ref { display: inline-block; background: rgba(255, 255, 255, .08); border: 1px dashed rgba(216, 163, 59, .7); border-radius: 999px; padding: 6px 16px; color: #C9D3E8; margin: 0; }
.thanks-ref b { color: var(--gold); font-family: var(--display); letter-spacing: .04em; }
.timeline { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; position: relative; padding-bottom: 22px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; border-left: 2px dashed var(--line-strong); }
.timeline li p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.tl-dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--muted); border: 2px solid var(--line-strong); }
.timeline .is-done .tl-dot { background: var(--green-btn); border-color: var(--green-btn); color: #fff; }
.timeline .is-current .tl-dot { background: var(--gold); border-color: var(--gold); color: var(--navy-2); box-shadow: 0 0 0 6px var(--gold-50); animation: pulse 1.8s ease-in-out infinite; }
.timeline .is-current strong { color: #8A5A0B; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(216, 163, 59, .15); } }
.next-steps { display: grid; gap: 10px; margin-top: 14px; }
.next-step { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); transition: border-color .15s, background-color .15s; }
.next-step:hover { border-color: var(--navy); background: var(--blue-50); color: var(--ink); }
.next-step .cat-ico { width: 44px; height: 44px; border-radius: 12px; margin: 0; background: var(--navy); color: var(--gold); }
.next-step small { display: block; color: var(--muted); font-size: .88rem; }
.next-step > .icon { color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); width: 100%; color: #fff; }
.lightbox::backdrop { background: rgba(8, 18, 40, .9); }
.lightbox figure { margin: 0; }
.lightbox img { width: auto; max-width: 100%; max-height: 78vh; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 12px 4px; }
.lightbox-nav { display: flex; gap: 8px; }
.lightbox button { background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 10px; min-width: 44px; height: 44px; display: inline-grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lightbox .lb-close { position: absolute; top: 8px; right: 8px; background: rgba(8, 18, 40, .6); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: #B9C5DE; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.1fr 1fr 1fr 1fr; gap: 28px; padding: 52px 0 36px; }
.site-footer h2 { font-family: var(--display); color: #fff; font-size: .95rem; font-weight: 600; margin: 4px 0 14px; letter-spacing: 0; }
.site-footer a { color: #B9C5DE; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid nav a { display: block; padding: 4px 0; font-size: .92rem; }
.site-footer .brand-logo { height: 52px; }
.footer-about p { max-width: 34em; margin: 14px 0; font-size: .93rem; }
.footer-contact { display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.footer-contact .icon { color: var(--gold); }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0 24px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .85rem; color: #8EA2C9; }
.footer-base span:last-child { max-width: 46em; text-align: right; }


/* Admin provider view header and area page facts */
.profile-top { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.profile-top h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 4px; }
.profile-top .cats { color: var(--ink-2); margin: 0 0 10px; }
.profile-top .profile-tags { justify-content: flex-start; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-facts div { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); }
.hero-facts b { color: var(--ink); }


/* ---------- Standout features: Available now, Trusted Pro, Promise, invites, Yatra ---------- */
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: live 1.8s ease-out infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.tag-live { background: #E3F8EA; color: #12723A; gap: 6px; }
.tag-trusted { background: linear-gradient(135deg, #F7E6BD, #EFD18B); color: #6B4507; text-decoration: none; }
a.tag-trusted:hover { color: #4F3305; }
.chip-live { display: inline-flex; align-items: center; gap: 7px; background: rgba(34, 197, 94, .18) !important; border-color: rgba(74, 222, 128, .55) !important; font-weight: 600; }
.check .live-dot { margin-right: 4px; vertical-align: 1px; }
.live-banner { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: #E3F8EA; color: #12723A; font-weight: 600; font-size: .88rem; }
.live-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; border-left: 4px solid var(--line-strong); }
.live-card.is-live { border-left-color: #22C55E; background: linear-gradient(90deg, #F0FBF4, var(--surface) 60%); }
.live-card h2 { font-size: 1.1rem; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; }
.live-card p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.live-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.trusted-progress.is-trusted { border-color: #EFD18B; background: linear-gradient(135deg, #FFFBF1, var(--surface) 70%); }
.trusted-progress h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.trusted-progress .checklist li.is-done span { text-decoration: none; color: var(--ink); }
.promise-box { display: grid; grid-template-columns: 40px 1fr; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--r-md); padding: 16px; font-size: .92rem; }
.promise-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.promise-box strong { display: block; margin-bottom: 2px; }
.promise-box p { margin: 0 0 6px; color: var(--ink-2); }
.promise-box a { font-weight: 600; }
.promise-seal { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy-2); margin-bottom: 16px; box-shadow: 0 0 0 8px rgba(216, 163, 59, .25); }
.trusted-card { border: 2px solid #EFD18B; }
.checks.big { font-size: 1rem; gap: 14px; }
.checks.big li { grid-template-columns: 22px 1fr; }
.invite-ready { background: var(--green-50); border: 1px solid #BFE1CD; border-radius: var(--r-md); padding: 16px; margin-bottom: 16px; }
.copy-row { display: flex; gap: 8px; margin-bottom: 10px; }
.copy-row input { flex: 1; min-width: 0; min-height: 42px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 6px 12px; background: var(--surface); font-size: .9rem; }
.invite-form { align-items: flex-end; }
.review-invite { padding: 30px; }
.ri-head { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin-bottom: 16px; }
.ri-head h1 { font-size: 1.6rem; margin: 0 0 2px; }
.ri-head .eyebrow { margin-bottom: 2px; }
.report-card { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
.report-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.report-form { display: grid; gap: 10px; }
.report-form label { display: grid; gap: 4px; font-weight: 600; }
.report-form .icon { color: var(--muted); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-outline-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.facts-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.yatra-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.yatra-facts li { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; background: var(--paper); }
.yatra-facts b { display: block; font-family: var(--display); font-size: 1.35rem; color: var(--navy); }
.yatra-facts span { font-size: .85rem; color: var(--muted); }
.cat-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hindi-card { background: var(--gold-50); border-color: #F0DDB2; font-family: var(--body); }
.hindi-card .checks { font-size: .98rem; color: var(--ink); }
.mela-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; background: linear-gradient(135deg, #7A2E0E 0%, #B4471A 55%, #D8A33B 100%); color: #fff; border-radius: 20px; padding: 40px 44px; }
.mela-band h2 { color: #fff; }
.mela-band p { color: #FBE7D3; margin: 0; }
.mela-band .eyebrow { color: #FFE3A3; }
.mela-band .cta-list li { color: #FFF5EA; }
.mela-band .cta-list .icon { color: #FFE3A3; }
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.place { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; background: var(--paper); }
.place b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.place span { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--gold-deep); margin: 2px 0 8px; }
.place p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.yatra-band { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 24px 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: box-shadow .15s, border-color .15s; }
.yatra-band:hover { border-color: var(--gold); box-shadow: var(--shadow-lift); color: var(--ink); }
.yatra-ico { color: var(--gold-deep); }
.yatra-ico svg { width: 100%; height: auto; display: block; }
.yatra-copy { display: grid; gap: 4px; }
.yatra-copy strong { font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.yatra-copy > span:last-child { color: var(--ink-2); font-size: .95rem; }
.yatra-copy em { font-style: normal; color: var(--gold-deep); font-weight: 600; }
.yatra-copy .eyebrow { margin: 0; }
@media (max-width: 960px) {
  .yatra-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mela-band { grid-template-columns: minmax(0, 1fr); padding: 32px 28px; }
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-card { grid-template-columns: minmax(0, 1fr); }
  .live-card { grid-template-columns: minmax(0, 1fr); }
  .live-actions { justify-content: flex-start; }
  .yatra-band { grid-template-columns: 80px minmax(0, 1fr); }
  .yatra-band .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .yatra-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .places { grid-template-columns: minmax(0, 1fr); }
  .mela-band { padding: 26px 20px; }
  .review-invite { padding: 22px 18px; }
  .ri-head { grid-template-columns: minmax(0, 1fr); }
  .copy-row { flex-direction: column; }
  .yatra-band { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 14px; }
  .yatra-ico { width: 90px; }
  .live-actions .btn { flex: 1 1 auto; }
}

/* ---------- Responsive ---------- */
@media (min-width: 1440px) { .container { width: min(1240px, 100% - 48px); } }
@media (max-width: 1180px) {
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .carousel { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
  .about-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mission { grid-column: 1 / -1; grid-row: auto; }
  .metrics-card { grid-column: span 2; }
}
@media (max-width: 1080px) {
  .profile { grid-template-columns: 300px minmax(0, 1fr); }
  .feature { gap: 32px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .main-nav { display: none; position: absolute; left: -20px; right: -20px; top: 100%; background: var(--surface); border-top: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 20px 18px; gap: 2px; box-shadow: 0 18px 30px -20px rgba(16, 27, 51, .4); }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.btn) { padding: 12px; }
  .main-nav > a[aria-current="page"]::after { display: none; }
  .main-nav > a[aria-current="page"] { background: var(--paper); }
  .main-nav .btn, .main-nav .btn + .btn { margin: 8px 0 0; min-height: 44px; }
  .nav-sep { width: auto; height: 1px; margin: 6px 0; }
  .listing { grid-template-columns: minmax(0, 1fr); }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters-head { grid-column: 1 / -1; }
  .filters details { border-bottom: 0; border-top: 1px solid var(--line); }
  .filters details:nth-of-type(odd) { border-right: 1px solid var(--line); }
  .profile { grid-template-columns: minmax(0, 1fr); padding-bottom: 96px; }
  .profile-side { position: static; }
  .mobile-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--surface); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 20px -12px rgba(16, 27, 51, .25); }
  .has-mobile-contact .site-footer { padding-bottom: 72px; }
  .app-shell { grid-template-columns: minmax(0, 1fr); }
  .side-nav { position: static; display: flex; overflow-x: auto; padding: 8px; }
  .side-nav a { white-space: nowrap; }
  .side-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gold); }
  .nav-group { display: none; }
  .two-col, .feature { grid-template-columns: minmax(0, 1fr); }
  .cta-band { grid-template-columns: minmax(0, 1fr); padding: 34px 28px; }
  .cta-art { display: none; }
  .auth, .auth-wide { grid-template-columns: minmax(0, 1fr); }
  .auth-side { padding: 36px 28px; text-align: center; align-items: center; }
  .auth-side .cta-list { text-align: left; }
  .auth-art { width: 170px; }
  .stat-row.solid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-base span:last-child { text-align: left; }
}
@media (max-width: 760px) {
  .carousel { grid-auto-columns: calc((100% - 18px) / 1.6); }
  .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics-card, .trust-card { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 44px 0; }
  .brand-logo { height: 42px; }
  .nav-wrap { min-height: 66px; }
  .main-nav { left: -16px; right: -16px; }
  .hero-inner { padding: 44px 0 46px; }
  .hero h1 { font-size: 1.95rem; }
  .hero-lead { font-size: .98rem; }
  .hero-search { grid-template-columns: minmax(0, 1fr); padding: 6px; }
  .hero-search label + label { border-left: 0; border-top: 1px solid var(--line); }
  .hero-search .btn { width: 100%; }
  .hero-trust { gap: 6px 16px; font-size: .88rem; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .cat-tile { padding: 14px 6px 12px; }
  .cat-ico { width: 46px; height: 46px; }
  .cat-ico svg { width: 24px; height: 24px; }
  .cat-name { font-size: .84rem; }
  .cat-count { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .carousel { grid-auto-columns: 82%; }
  .pgrid { grid-template-columns: minmax(0, 1fr); }
  .pcard-row { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 12px; }
  .pcard-row .pcard-avatar { position: absolute; top: 16px; left: 16px; }
  .pcard-row .avatar-lg { width: 52px; height: 52px; font-size: 1.15rem; }
  .pcard-row .pcard-top { padding-left: 64px; min-height: 52px; flex-direction: column; gap: 4px; }
  .pcard-foot { align-items: stretch; flex-direction: column; }
  .pcard-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .pcard-actions .btn-ghost { grid-column: 1 / -1; }
  .filters { grid-template-columns: minmax(0, 1fr); }
  .filters details:nth-of-type(odd) { border-right: 0; }
  .filters details:not(:first-of-type) { }
  .page-head-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .page-head-row .cat-ico { width: 52px; height: 52px; }
  .feature-media figcaption { left: 10px; bottom: 10px; font-size: .8rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .id-card { padding: 24px 18px; }
  .avatar-xl { width: 104px; height: 104px; font-size: 2.1rem; }
  .ptab-panel { padding: 22px 18px; }
  .hours { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rating-summary { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .card { padding: 20px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .mission { padding: 26px; }
  .stat-row, .stat-row:has(> .stat:nth-child(6):last-child) { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 1.6rem; }
  .hours-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hours-row > * { min-width: 0; }
  .hours-row > :first-child { grid-column: 1 / -1; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-card { padding: 22px; }
  .auth-wrap { padding: 20px 0 48px; }
  .auth-main { padding: 30px 20px; }
  .banner-setting { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .doc-review { grid-template-columns: minmax(0, 1fr); }
  .profile-top { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .app-title .search-inline, .inline-form .search-inline { width: 100%; }
  .cta-band { padding: 28px 22px; border-radius: 16px; }
  .search-inline { flex-wrap: wrap; }
  .page-head .search-inline .btn { width: 100%; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 28px); }
  .brand-logo { height: 38px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .check-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-actions { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
