/* ==========================================================================
   Digital Startup India — Design System
   Mobile-first · CSS custom properties (brand colours come from Admin → Settings)
   ========================================================================== */

:root {
  --brand: #1d4ed8;
  --brand-600: #1e40af;
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --accent: #f97316;
  --accent-50: #fff7ed;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #f1f5f9;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --green: #16a34a; --green-50: #f0fdf4;
  --amber: #d97706; --amber-50: #fffbeb;
  --red: #dc2626; --red-50: #fef2f2;
  --violet: #7c3aed; --violet-50: #f5f3ff;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 4px 16px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, .18);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Plus Jakarta Sans', var(--font);
  --header-h: 68px;
  --container: 1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
picture { display: contents; } picture > source { display: none; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand-100); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
[hidden] { display: none !important; }
.ico { flex-shrink: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
.section { padding: 48px 0; }
@media (min-width: 992px) { .section { padding: 72px 0; } }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 8px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
.grid-6 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-6 { grid-template-columns: repeat(6, 1fr); } }
.layout-sidebar { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 992px) { .layout-sidebar { grid-template-columns: 280px 1fr; gap: 32px; } .layout-sidebar.right { grid-template-columns: 1fr 340px; } }
.stack > * + * { margin-top: 16px; }
.flex { display: flex; align-items: center; gap: 10px; }
.flex-wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 16px; } .mt-4 { margin-top: 24px; } .mb-3 { margin-bottom: 16px; } .mb-4 { margin-bottom: 24px; }
.w-full { width: 100%; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hide-mobile { display: none !important; }
@media (min-width: 992px) { .hide-mobile { display: revert !important; } .btn.hide-mobile { display: inline-flex !important; } .hide-desktop { display: none !important; } }
@media (max-width: 599px) { .site-header .logo small { display: none; } .site-header .logo { font-size: 16px; } .site-header .logo > span:last-child { max-width: 42vw; white-space: normal; line-height: 1.15; } .header-actions .btn-primary span { display: none; } .header-actions .btn-primary { padding: 9px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent; font-weight: 600; font-size: 14.5px; line-height: 1.3; cursor: pointer; transition: all .15s ease; white-space: nowrap; text-decoration: none; background: none; }
.btn:disabled, .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::after { content: ''; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(29, 78, 216, .3); }
.btn-primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(.95); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { background: var(--line-2); color: var(--ink); }
.btn-light { background: var(--brand-50); color: var(--brand); }
.btn-light:hover { background: var(--brand-100); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: var(--brand-50); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { filter: brightness(.92); color: #fff; }
.btn-success { background: var(--green); color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 13px 24px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-icon { padding: 8px; border-radius: 10px; }

/* ---------- Badges & tags ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-green { background: var(--green-50); color: var(--green); }
.badge-amber { background: var(--amber-50); color: var(--amber); }
.badge-red { background: var(--red-50); color: var(--red); }
.badge-violet { background: var(--violet-50); color: var(--violet); }
.badge-gray { background: var(--line-2); color: var(--muted); }
.badge-blue { background: var(--brand-50); color: var(--brand); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .01em; }
.tag-premium { background: linear-gradient(135deg, #fde68a, #f59e0b); color: #78350f; }
.tag-popular { background: #ffe4e6; color: #be123c; }
.tag-featured { background: var(--violet-50); color: var(--violet); }
.tag-verified { background: var(--green-50); color: var(--green); }
.tag-sponsored { background: var(--line-2); color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); font-size: 13px; font-weight: 500; border: 1px solid transparent; }
a.chip:hover, .chip.active { background: var(--brand-50); color: var(--brand); border-color: var(--brand-100); }
.stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.stars svg { fill: #e2e8f0; }
.stars svg.on { fill: #f59e0b; }

/* ---------- Header ---------- */
@media (min-width: 992px) { .topbar.hide-mobile { display: block !important; } }
.topbar { background: var(--ink); color: #cbd5e1; font-size: 12.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 12px; }
.topbar a { color: #e2e8f0; }
.topbar .flex { gap: 16px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--ink); white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--accent)); display: grid; place-items: center; color: #fff; font-size: 16px; font-weight: 800; box-shadow: 0 4px 12px rgba(29, 78, 216, .3); }
.logo img { height: 38px; width: auto; }
.logo small { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; line-height: 1; margin-top: 2px; }
.main-nav { display: none; }
@media (min-width: 1100px) {
  .main-nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
  .main-nav > a, .main-nav .nav-dd > button { padding: 8px 11px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: 14.5px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
  .main-nav > a:hover, .main-nav > a.active, .main-nav .nav-dd > button:hover { background: var(--line-2); color: var(--ink); }
  .main-nav > a.active { color: var(--brand); }
}
.nav-dd { position: relative; }
.nav-dd-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: all .15s; z-index: 60; }
.nav-dd.open .nav-dd-menu, .nav-dd:hover .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd-menu a { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 8px; color: var(--ink); font-size: 14px; }
.nav-dd-menu a:hover { background: var(--line-2); }
.nav-dd-menu a .ico { color: var(--brand); margin-top: 2px; }
.nav-dd-menu a small { display: block; color: var(--muted); font-size: 12px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-search { display: none; position: relative; }
@media (min-width: 1280px) { .header-search { display: block; } }
.header-search input[type] { width: 210px; padding: 8px 12px 8px 34px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); font-size: 14px; transition: width .2s; }
.header-search input[type]:focus { width: 260px; background: #fff; outline: none; border-color: var(--brand); }
.header-search .ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.bell { position: relative; }
.bell .dot { position: absolute; top: 4px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--brand-50); color: var(--brand); display: inline-grid; place-items: center; font-weight: 700; font-size: 14px; flex-shrink: 0; overflow: hidden; }
.avatar-lg { width: 72px; height: 72px; font-size: 26px; }
.user-menu { position: relative; }
.user-menu > button { display: flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; padding: 4px; border-radius: 999px; }
.user-menu .nav-dd-menu { left: auto; right: 0; }
.menu-toggle { display: inline-flex; }
@media (min-width: 1100px) { .menu-toggle { display: none; } }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); opacity: 0; transition: opacity .2s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: #fff; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer-body { overflow-y: auto; padding: 12px; flex: 1; }
.drawer-body a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; }
.drawer-body a:hover, .drawer-body a.active { background: var(--brand-50); color: var(--brand); }
.drawer-body .ico { color: var(--muted); }
.drawer-body hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }
.drawer-foot { padding: 14px 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; }

/* Bottom nav (mobile app feel) */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 16px rgba(15, 23, 42, .05); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.bottom-nav a.active { color: var(--brand); }
@media (min-width: 768px) { .bottom-nav { display: none; } }
@media (max-width: 767px) { body.has-bottom-nav { padding-bottom: 64px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 10% -10%, #dbeafe 0%, transparent 60%), radial-gradient(900px 500px at 110% 10%, #ffedd5 0%, transparent 55%), #fff; }
.hero-slider { position: relative; }
.hero-slide { display: none; }
.hero-slide.active { display: block; animation: fadeIn .5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hero-inner { display: grid; gap: 32px; align-items: center; padding: 48px 0 56px; }
@media (min-width: 992px) { .hero-inner { grid-template-columns: 1.1fr .9fr; padding: 72px 0 84px; } }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 16px; }
.hero h1 .hl { background: linear-gradient(90deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--ink-2); max-width: 600px; margin-bottom: 24px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-search { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; display: grid; gap: 8px; grid-template-columns: 1fr; max-width: 640px; }
@media (min-width: 640px) { .hero-search { grid-template-columns: 1.4fr 1fr auto; } }
.hero-search input, .hero-search select { border: 0; padding: 12px; background: var(--bg-soft); border-radius: 10px; width: 100%; }
.hero-search input:focus, .hero-search select:focus { outline: 2px solid var(--brand-100); background: #fff; }
.hero-trust { margin-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .ico { color: var(--green); }
.hero-visual { position: relative; display: none; }
@media (min-width: 992px) { .hero-visual { display: block; } }
.hero-visual .panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 18px; }
.hero-visual .panel + .panel { margin-top: 14px; margin-left: 48px; }
.hero-visual .float { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px 14px; font-size: 13px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.hero-img { border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.slider-dots { display: flex; gap: 6px; justify-content: center; position: absolute; bottom: 18px; left: 0; right: 0; }
.slider-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: #cbd5e1; cursor: pointer; padding: 0; transition: width .2s; }
.slider-dots button.active { width: 24px; background: var(--brand); }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(180deg, var(--brand-50), #fff); padding: 28px 0 24px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 6px 0 6px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.page-hero p { color: var(--muted); margin: 0; max-width: 720px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); list-style: none; padding: 0; margin: 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs li + li::before { content: '/'; margin: 0 6px; color: #cbd5e1; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 20px; }
@media (min-width: 768px) { .card-pad { padding: 24px; } }
.card-title { font-size: 16px; font-weight: 700; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.card-hover { transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }

/* Listing card (business / professional) */
.lcard { display: flex; flex-direction: column; overflow: hidden; position: relative; height: 100%; }
.lcard-cover { aspect-ratio: 16/7; background: linear-gradient(135deg, var(--brand-50), var(--accent-50)); position: relative; overflow: hidden; }
.lcard-cover img { width: 100%; height: 100%; object-fit: cover; }
.lcard-tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.lcard-body { padding: 0 18px 18px; display: flex; flex-direction: column; flex: 1; }
.lcard-logo { width: 64px; height: 64px; border-radius: 14px; border: 3px solid #fff; background: #fff; box-shadow: var(--shadow); margin-top: -32px; position: relative; object-fit: cover; display: grid; place-items: center; font-weight: 800; font-size: 22px; color: var(--brand); overflow: hidden; }
.lcard-logo.round { border-radius: 50%; }
.lcard h3 { font-size: 16.5px; margin: 10px 0 2px; }
.lcard h3 a { color: var(--ink); }
.lcard h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.lcard .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); margin: 4px 0 8px; }
.lcard .meta span { display: inline-flex; align-items: center; gap: 4px; }
.lcard p { font-size: 14px; color: var(--ink-2); margin: 0 0 12px; }
.lcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--line); position: relative; z-index: 2; }
.lcard-foot .btn { position: relative; z-index: 2; }

/* Row cards (jobs, events list) */
.rcard { display: flex; gap: 14px; padding: 16px; position: relative; }
@media (min-width: 768px) { .rcard { padding: 18px 20px; gap: 18px; } }
.rcard-logo { width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line); object-fit: cover; flex-shrink: 0; background: var(--bg-soft); display: grid; place-items: center; font-weight: 800; color: var(--brand); overflow: hidden; }
.rcard h3 { font-size: 16px; margin: 0 0 3px; }
.rcard h3 a { color: var(--ink); }
.rcard h3 a::after { content: ''; position: absolute; inset: 0; }
.rcard .meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.rcard .meta span { display: inline-flex; align-items: center; gap: 5px; }
.rcard-side { margin-left: auto; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; position: relative; z-index: 2; }

/* Event card */
.ecard { overflow: hidden; display: flex; flex-direction: column; height: 100%; position: relative; }
.ecard-img { aspect-ratio: 16/9; background: linear-gradient(135deg, #1e3a8a, #7c3aed); position: relative; overflow: hidden; }
.ecard-img img { width: 100%; height: 100%; object-fit: cover; }
.ecard-date { position: absolute; top: 12px; left: 12px; background: #fff; border-radius: 12px; padding: 6px 10px; text-align: center; line-height: 1.1; box-shadow: var(--shadow); }
.ecard-date b { display: block; font-size: 20px; font-family: var(--font-head); }
.ecard-date small { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; }
.ecard-mode { position: absolute; top: 12px; right: 12px; }
.ecard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ecard-body h3 { font-size: 16.5px; margin: 0; }
.ecard-body h3 a { color: var(--ink); }
.ecard-body h3 a::after { content: ''; position: absolute; inset: 0; }
.ecard .meta { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.ecard .meta span { display: flex; align-items: center; gap: 6px; }
.ecard-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px dashed var(--line); }
.progress { height: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 99px; }

/* Post card */
.pcard { overflow: hidden; display: flex; flex-direction: column; height: 100%; position: relative; }
.pcard-img { aspect-ratio: 16/9; background: var(--line-2); overflow: hidden; position: relative; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard-body h3 { font-size: 16.5px; margin: 0; }
.pcard-body h3 a { color: var(--ink); }
.pcard-body h3 a::after { content: ''; position: absolute; inset: 0; }
.pcard .kicker { font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .05em; }
.pcard .meta { font-size: 12.5px; color: var(--muted); margin-top: auto; display: flex; gap: 12px; }
.media-badge { position: absolute; bottom: 10px; left: 10px; background: rgba(15, 23, 42, .75); color: #fff; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }

/* Category tiles */
.cat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 20px 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); transition: all .18s; }
.cat-tile:hover { border-color: var(--brand-100); background: var(--brand-50); color: var(--ink); transform: translateY(-2px); }
.cat-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); transition: all .18s; }
.cat-tile:hover .cat-icon { background: var(--brand); color: #fff; }
.cat-tile b { font-size: 14px; line-height: 1.3; }
.cat-tile small { color: var(--muted); font-size: 12px; }

/* City tiles */
.city-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; display: flex; align-items: flex-end; padding: 16px; color: #fff; background: linear-gradient(135deg, #1e3a8a, #0ea5e9); }
.city-tile:nth-child(3n+2) { background: linear-gradient(135deg, #7c3aed, #db2777); }
.city-tile:nth-child(3n+3) { background: linear-gradient(135deg, #ea580c, #f59e0b); }
.city-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.city-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0, 0, 0, .6)); }
.city-tile > div { position: relative; z-index: 1; }
.city-tile b { font-size: 18px; font-family: var(--font-head); display: block; }
.city-tile small { opacity: .9; }
.city-tile:hover { color: #fff; }

/* Feature (why us) */
.feature { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: 100%; }
.feature .fi { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--brand-50), var(--accent-50)); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.feature h3 { font-size: 16.5px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

/* Stats band */
.stats-band { background: linear-gradient(120deg, var(--brand), #312e81); color: #fff; border-radius: var(--radius-lg); padding: 28px 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: center; box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .stats-band { grid-template-columns: repeat(4, 1fr); padding: 36px; } }
.stats-band b { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.stats-band span { font-size: 13.5px; opacity: .85; }

/* Testimonials */
.tcard { padding: 22px; height: 100%; display: flex; flex-direction: column; gap: 14px; }
.tcard blockquote { margin: 0; color: var(--ink-2); font-size: 15px; }
.tcard .who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.tcard .who b { display: block; font-size: 14.5px; }
.tcard .who small { color: var(--muted); }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; }
@media (min-width: 640px) { .scroller { grid-auto-columns: 46%; } }
@media (min-width: 992px) { .scroller { grid-auto-columns: calc(33.333% - 11px); } }

/* Magazine */
.mag-feature { display: grid; gap: 28px; align-items: center; background: linear-gradient(135deg, #0f172a, #1e3a8a); color: #fff; border-radius: var(--radius-lg); padding: 28px; overflow: hidden; }
@media (min-width: 768px) { .mag-feature { grid-template-columns: 260px 1fr; padding: 40px; } }
.mag-feature h2, .mag-feature h3 { color: #fff; }
.mag-feature p { color: #cbd5e1; }
.mag-cover { aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); background: linear-gradient(160deg, var(--accent), #be123c); display: grid; place-items: center; color: #fff; text-align: center; padding: 16px; transform: rotate(-3deg); }
.mag-cover img { width: 100%; height: 100%; object-fit: cover; }
.mag-cover .ph b { font-family: var(--font-head); font-size: 22px; display: block; line-height: 1.1; }
.issue-card { display: block; color: var(--ink); position: relative; }
.issue-card .mag-cover { transform: none; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.issue-card:hover .mag-cover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.issue-card h3 { font-size: 15px; margin: 12px 0 2px; }

/* Newsletter */
.newsletter { background: linear-gradient(120deg, var(--accent), #db2777); border-radius: var(--radius-lg); padding: 28px; color: #fff; display: grid; gap: 18px; align-items: center; }
@media (min-width: 768px) { .newsletter { grid-template-columns: 1fr 1fr; padding: 40px; } }
.newsletter h2 { color: #fff; margin: 0 0 6px; }
.newsletter p { margin: 0; opacity: .92; }
.newsletter form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 12px; }
.newsletter input { flex: 1; border: 0; padding: 10px 12px; border-radius: 8px; min-width: 0; color: var(--ink); }
.newsletter input:focus { outline: none; }

/* FAQ accordion */
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; 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-size: 22px; font-weight: 400; color: var(--brand); transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } .form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .span-2 { grid-column: span 2; } .span-3 { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field .req { color: var(--red); }
.input, .select, .textarea, input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=tel], input[type=date], input[type=datetime-local], input[type=month], input[type=search], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: var(--radius-sm); background: #fff; font-size: 15px; transition: border-color .15s, box-shadow .15s; min-height: 44px;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 34px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field-error { color: var(--red); font-size: 12.5px; font-weight: 500; }
.hint { color: var(--muted); font-size: 12.5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
input[type=file] { padding: 8px; font-size: 14px; background: var(--bg-soft); border: 1px dashed #cbd5e1; border-radius: var(--radius-sm); width: 100%; }
.input-icon { position: relative; }
.input-icon .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon input[type], .input-icon input:not([type]) { padding-left: 38px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px; }
.img-preview { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); background: var(--bg-soft); }
.form-section { padding: 22px 0; border-top: 1px solid var(--line); }
.form-section:first-child { border-top: 0; padding-top: 0; }
.form-section h3 { font-size: 15.5px; margin-bottom: 14px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding-top: 20px; margin-top: 8px; border-top: 1px solid var(--line); }
.sticky-actions { position: sticky; bottom: 0; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); padding: 14px 0; z-index: 5; }

/* Switch (one-click toggles) */
.switch { position: relative; display: inline-flex; width: 44px; height: 24px; flex-shrink: 0; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: #cbd5e1; border-radius: 99px; transition: .2s; }
.switch span::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::before { transform: translateX(20px); }
.switch input:focus-visible + span { box-shadow: 0 0 0 3px var(--brand-100); }
.switch.busy { opacity: .5; pointer-events: none; }

/* Filters */
.filters { position: sticky; top: calc(var(--header-h) + 16px); }
.filters .card-pad { display: grid; gap: 14px; }
.filters h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0; }
.filter-toggle { display: flex; }
@media (min-width: 992px) { .filter-toggle { display: none; } }
@media (max-width: 991px) {
  .filters { position: fixed; inset: 0; z-index: 95; top: 0; background: rgba(15, 23, 42, .5); display: none; }
  .filters.open { display: block; }
  .filters > .card { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow-y: auto; border-radius: 20px 20px 0 0; }
}
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.results-bar select { width: auto; min-height: 38px; padding-top: 7px; padding-bottom: 7px; font-size: 14px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 32px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: 14px; background: #fff; }
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination .gap { border: 0; background: none; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a, .tabs button { padding: 10px 14px; font-weight: 600; font-size: 14px; color: var(--muted); border: 0; background: none; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.tabs a:hover, .tabs button:hover { color: var(--ink); }
.tabs .active { color: var(--brand); border-bottom-color: var(--brand); }
.tabs .count { background: var(--line-2); border-radius: 99px; padding: 0 7px; font-size: 12px; }
.tabs .active .count { background: var(--brand-50); }
.pill-tabs { display: inline-flex; background: var(--line-2); padding: 4px; border-radius: 12px; gap: 2px; }
.pill-tabs a { padding: 7px 14px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 14px; }
.pill-tabs a.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Detail pages ---------- */
.profile-cover { height: 180px; background: linear-gradient(135deg, var(--brand), #7c3aed 60%, var(--accent)); position: relative; overflow: hidden; }
@media (min-width: 768px) { .profile-cover { height: 280px; } }
.profile-cover img { width: 100%; height: 100%; object-fit: cover; }
.profile-head { display: flex; flex-direction: column; gap: 14px; margin-top: -48px; position: relative; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .profile-head { flex-direction: row; align-items: flex-end; margin-top: -56px; } }
.profile-logo { width: 104px; height: 104px; border-radius: 20px; border: 4px solid #fff; background: #fff; box-shadow: var(--shadow-lg); object-fit: cover; display: grid; place-items: center; font-size: 38px; font-weight: 800; color: var(--brand); flex-shrink: 0; overflow: hidden; }
.profile-logo.round { border-radius: 50%; }
.profile-head h1 { margin: 0 0 4px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.profile-head .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 14px; }
.profile-head .meta span { display: inline-flex; gap: 5px; align-items: center; }
.profile-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; word-break: break-word; }
.info-list .ico { color: var(--brand); margin-top: 3px; }
.info-list small { display: block; color: var(--muted); font-size: 12px; }
.locked { background: repeating-linear-gradient(45deg, var(--bg-soft), var(--bg-soft) 8px, #fff 8px, #fff 16px); border: 1px dashed #cbd5e1; border-radius: var(--radius-sm); padding: 14px; text-align: center; font-size: 13.5px; color: var(--muted); }
.prose { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: 1.45rem; margin: 1.6em 0 .6em; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h3 { font-size: 1.15rem; margin: 1.4em 0 .5em; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose img { border-radius: 12px; margin: 1em 0; }
.prose blockquote { border-left: 4px solid var(--accent); margin: 1.4em 0; padding: 6px 18px; background: var(--accent-50); border-radius: 0 10px 10px 0; font-style: italic; color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-list li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; display: inline-flex; gap: 6px; align-items: center; }
.pill-list .ico { color: var(--green); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery a { aspect-ratio: 1; border-radius: 10px; overflow: hidden; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.06); }
.video-embed { aspect-ratio: 16/9; width: 100%; border: 0; border-radius: 14px; }
.toc { font-size: 14px; }
.toc a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--line); color: var(--muted); }
.toc a:hover, .toc a.active { color: var(--brand); border-left-color: var(--brand); }
.toc a.l3 { padding-left: 24px; font-size: 13px; }
.review { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review .reply { margin-top: 10px; padding: 10px 14px; background: var(--bg-soft); border-radius: 10px; font-size: 14px; border-left: 3px solid var(--brand); }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-input input { display: none; }
.rating-input label { cursor: pointer; color: #e2e8f0; }
.rating-input label svg { width: 28px; height: 28px; fill: currentColor; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #f59e0b; }
.key-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .key-facts { grid-template-columns: repeat(4, 1fr); } }
.key-facts div { background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; }
.key-facts small { display: block; color: var(--muted); font-size: 12px; }
.key-facts b { font-size: 14.5px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; flex-shrink: 0; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before { content: '✓'; color: var(--green); font-weight: 800; }
.answer-box { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius); padding: 16px 18px; font-size: 16px; color: var(--ink); }
.disclaimer { background: var(--amber-50); border: 1px solid #fde68a; border-radius: 12px; padding: 12px 14px; font-size: 13px; color: #92400e; display: flex; gap: 10px; }
.share { display: flex; gap: 6px; }
.share a, .share button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-2); background: #fff; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Ads ---------- */
.ad-slider { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); margin-bottom: 24px; }
.ad-slide { display: none; position: relative; }
.ad-slide.active { display: block; animation: fadeIn .4s; }
.ad-slide img { width: 100%; aspect-ratio: 4/1; object-fit: cover; }
@media (max-width: 767px) { .ad-slide img { aspect-ratio: 2/1; } }
.ad-label { position: absolute; top: 8px; right: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; letter-spacing: .05em; }
.ad-text { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: linear-gradient(120deg, var(--brand-50), var(--accent-50)); }
.ad-text b { font-size: 16px; }

/* ---------- Alerts / toasts / modal ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; font-size: 14.5px; border: 1px solid; margin-bottom: 16px; }
.alert-success { background: var(--green-50); border-color: #bbf7d0; color: #166534; }
.alert-error { background: var(--red-50); border-color: #fecaca; color: #991b1b; }
.alert-info { background: var(--brand-50); border-color: var(--brand-100); color: #1e3a8a; }
.alert-warning { background: var(--amber-50); border-color: #fde68a; color: #92400e; }
.alert .btn { margin-left: auto; }
.toasts { position: fixed; top: 16px; right: 16px; left: 16px; z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
@media (min-width: 640px) { .toasts { left: auto; width: 380px; } }
.toast { pointer-events: auto; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-size: 14px; animation: toastIn .25s ease; width: 100%; }
.toast.success .ico { color: #4ade80; } .toast.error .ico { color: #f87171; } .toast.info .ico { color: #60a5fa; }
.toast button { margin-left: auto; background: none; border: 0; color: #94a3b8; cursor: pointer; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.modal { position: fixed; inset: 0; z-index: 150; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); animation: fadeIn .15s; }
.modal-dialog { position: relative; background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: toastIn .2s; }
.modal-dialog.lg { max-width: 760px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; }
.modal-body { padding: 22px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--bg-soft); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .9); z-index: 160; display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; border-radius: 8px; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: rgba(255, 255, 255, .15); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }

/* Empty state */
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .ei { width: 64px; height: 64px; border-radius: 50%; background: var(--line-2); display: grid; place-items: center; margin: 0 auto 14px; color: var(--muted); }
.empty h3 { color: var(--ink); margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1220; color: #94a3b8; padding: 56px 0 24px; margin-top: 48px; font-size: 14px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; } }
.footer-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 992px) { .footer-grid > div:first-child { grid-column: auto; } }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { width: 38px; height: 38px; border-radius: 10px; background: #1e293b; display: grid; place-items: center; color: #cbd5e1; }
.social a:hover { background: var(--brand); color: #fff; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.site-footer .logo small { color: #94a3b8; }

/* Floating buttons */
.fab-wa { position: fixed; right: 16px; bottom: 80px; z-index: 45; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); }
.fab-wa:hover { color: #fff; transform: scale(1.06); }
@media (min-width: 768px) { .fab-wa { bottom: 24px; } }
.to-top { position: fixed; right: 16px; bottom: 144px; z-index: 45; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transition: .2s; color: var(--ink); }
.to-top.show { opacity: 1; visibility: visible; }
@media (min-width: 768px) { .to-top { bottom: 88px; } }
.install-bar { position: fixed; left: 16px; right: 16px; bottom: 76px; z-index: 46; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .install-bar { left: auto; right: 24px; bottom: 24px; width: 380px; } }
.install-bar .logo-mark { width: 40px; height: 40px; }
.install-bar small { color: #94a3b8; display: block; }
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 47; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 13.5px; max-width: 560px; }
@media (max-width: 767px) { .cookie-bar { bottom: 76px; } }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr; background: var(--bg-soft); }
@media (min-width: 992px) { .auth-wrap { grid-template-columns: 1fr 1fr; } }
.auth-side { display: none; background: linear-gradient(145deg, var(--brand) 0%, #312e81 60%, #7c3aed 100%); color: #fff; padding: 48px; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
@media (min-width: 992px) { .auth-side { display: flex; } }
.auth-side h2 { color: #fff; font-size: 2rem; }
.auth-side p { color: #c7d2fe; font-size: 16px; }
.auth-side .logo { color: #fff; }
.auth-side .logo small { color: #c7d2fe; }
.auth-side ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.auth-side li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.auth-side li .ico { background: rgba(255, 255, 255, .15); border-radius: 10px; padding: 7px; width: 34px; height: 34px; }
.auth-side::after { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(255, 255, 255, .06); right: -120px; bottom: -120px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.auth-card { width: 100%; max-width: 480px; }
.auth-card.wide { max-width: 720px; }
.auth-card h1 { font-size: 1.7rem; margin-bottom: 6px; }
.type-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .type-grid { grid-template-columns: 1fr 1fr; } }
.type-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; transition: .15s; color: var(--ink); position: relative; }
.type-card:hover { border-color: var(--brand-100); color: var(--ink); }
.type-card.selected, .type-card:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.type-card input { position: absolute; opacity: 0; }
.type-card .ti { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.type-card.selected .ti, .type-card:has(input:checked) .ti { background: var(--brand); color: #fff; }
.type-card b { display: block; font-size: 15px; }
.type-card small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; }
.type-seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
@media (min-width: 480px) { .type-seg { grid-template-columns: repeat(4, 1fr); } }
.type-seg label { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 6px; text-align: center; cursor: pointer; font-size: 12.5px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink-2); background: #fff; }
.type-seg input { display: none; }
.type-seg label:has(input:checked) { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.stepper { display: flex; gap: 8px; margin-bottom: 20px; }
.stepper span { flex: 1; height: 4px; border-radius: 99px; background: var(--line); }
.stepper span.on { background: var(--brand); }

/* ---------- Account (member dashboard) ---------- */
.acc-wrap { display: grid; grid-template-columns: 1fr; min-height: calc(100vh - var(--header-h)); background: var(--bg-soft); }
@media (min-width: 992px) { .acc-wrap { grid-template-columns: 260px 1fr; } }
.acc-side { background: #fff; border-right: 1px solid var(--line); padding: 20px 14px; display: none; }
@media (min-width: 992px) { .acc-side { display: block; position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow-y: auto; } }
.acc-side .who { display: flex; gap: 10px; align-items: center; padding: 6px 8px 16px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.acc-side .who b { display: block; font-size: 14.5px; line-height: 1.2; }
.acc-side .who small { color: var(--muted); font-size: 12px; }
.side-nav { display: grid; gap: 2px; }
.side-nav .grp { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #94a3b8; padding: 14px 10px 6px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.side-nav a:hover { background: var(--line-2); color: var(--ink); }
.side-nav a.active { background: var(--brand-50); color: var(--brand); font-weight: 600; }
.side-nav a .ico { color: #94a3b8; }
.side-nav a.active .ico { color: var(--brand); }
.side-nav a .badge { margin-left: auto; }
.acc-main { padding: 20px 16px 40px; min-width: 0; }
@media (min-width: 768px) { .acc-main { padding: 28px 32px 48px; } }
.acc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.acc-head h1 { font-size: 1.5rem; margin: 0 0 4px; }
.acc-head p { margin: 0; color: var(--muted); }
.acc-mobile-nav { display: flex; gap: 6px; overflow-x: auto; margin: -4px -16px 16px; padding: 0 16px 4px; scrollbar-width: none; }
.acc-mobile-nav::-webkit-scrollbar { display: none; }
.acc-mobile-nav a { white-space: nowrap; }
@media (min-width: 992px) { .acc-mobile-nav { display: none; } }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
@media (min-width: 992px) { .kpis { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; gap: 12px; align-items: center; }
.kpi .ki { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--brand-50); color: var(--brand); }
.kpi:nth-child(2) .ki { background: var(--accent-50); color: var(--accent); }
.kpi:nth-child(3) .ki { background: var(--green-50); color: var(--green); }
.kpi:nth-child(4) .ki { background: var(--violet-50); color: var(--violet); }
.kpi b { display: block; font-size: 22px; font-family: var(--font-head); line-height: 1.1; }
.kpi small { color: var(--muted); font-size: 12.5px; }
.completion { display: flex; gap: 16px; align-items: center; }
.ring { --p: 0; width: 72px; height: 72px; border-radius: 50%; background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--line-2) 0); display: grid; place-items: center; flex-shrink: 0; }
.ring::before { content: attr(data-label); width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; font-family: var(--font-head); }
.list-rows { display: grid; }
.list-rows > * { padding: 12px 0; border-bottom: 1px solid var(--line); }
.list-rows > *:last-child { border-bottom: 0; }
.notif { display: flex; gap: 12px; align-items: flex-start; }
.notif .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-top: 8px; flex-shrink: 0; }
.notif.read .dot { background: transparent; }
.notif b { font-size: 14px; font-weight: 600; display: block; }
.notif small { color: var(--muted); }
.checklist-task { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--bg-soft); font-size: 14px; color: var(--ink); }
.checklist-task.done { color: var(--muted); text-decoration: line-through; }
.checklist-task .ico { color: var(--green); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 11px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th a { color: inherit; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafbff; }
.table .thumb { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--line-2); }
.table .actions { display: flex; gap: 4px; justify-content: flex-end; white-space: nowrap; }
@media (max-width: 767px) {
  .table.responsive thead { display: none; }
  .table.responsive tr { display: block; padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .table.responsive td { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border: 0; }
  .table.responsive td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: 12px; }
  .table.responsive .actions { justify-content: flex-start; }
}

/* Pricing */
.plans { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans.four { grid-template-columns: repeat(4, 1fr); } .plans.three { grid-template-columns: repeat(3, 1fr); } }
.plan { padding: 24px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan.rec { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.plan .price { font-family: var(--font-head); font-size: 32px; font-weight: 800; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14px; }
.plan li { display: flex; gap: 8px; }
.plan li .ico { color: var(--green); margin-top: 3px; }
.plan .btn { margin-top: auto; }

/* Misc */
.hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.kbd { font-family: ui-monospace, monospace; background: var(--line-2); padding: 1px 6px; border-radius: 5px; font-size: 12.5px; }
.offline-banner { position: fixed; top: 0; left: 0; right: 0; background: var(--amber); color: #fff; text-align: center; padding: 6px; font-size: 13px; z-index: 300; }
.skeleton { background: linear-gradient(90deg, var(--line-2), #fff, var(--line-2)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }
.ql-container { font-size: 15px !important; min-height: 220px; border-radius: 0 0 10px 10px; }
.ql-toolbar { border-radius: 10px 10px 0 0; background: var(--bg-soft); }
.rte-wrap .ql-editor { min-height: 220px; }
@media print { .site-header, .site-footer, .bottom-nav, .fab-wa, .to-top, .topbar, .no-print { display: none !important; } body { padding: 0 !important; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
.kv { display: grid; grid-template-columns: 180px 1fr; font-size: 14px; }
.kv > div { padding: 8px 0; border-bottom: 1px solid var(--line); word-break: break-word; }
.kv > div:nth-child(odd) { color: var(--muted); font-weight: 500; padding-right: 12px; }

/* ==========================================================================
   v1.2 components — checkout, messaging, requirements, consultations, analytics, privacy
   ========================================================================== */
.avatar-xl { width: 96px; height: 96px; font-size: 34px; }
.imp-bar { background: #111827; color: #fff; display: flex; align-items: center; gap: 10px; padding: 8px 16px; font-size: 13.5px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 70; }
.imp-bar form { margin: 0; }
.captcha { min-height: 70px; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.link-list li { display: grid; gap: 2px; }
.link-list a { font-weight: 600; color: var(--ink); line-height: 1.35; }
.link-list a:hover { color: var(--brand); }

/* Checkout */
.pay-wrap { max-width: 980px; }
.pay-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .pay-grid { grid-template-columns: 1.15fr .85fr; align-items: start; } .pay-action { position: sticky; top: calc(var(--header-h) + 16px); } }
.sum-lines { margin: 18px 0 8px; display: grid; gap: 8px; }
.sum-lines > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.sum-lines dt, .sum-lines dd { margin: 0; }
.sum-lines .good { color: var(--green); }
.sum-lines .muted { color: var(--muted); font-size: 13.5px; }
.sum-lines .total { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 4px; font-weight: 800; font-size: 17px; }
.coupon-on { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--green-50); color: var(--green); font-size: 14px; }
.coupon-on span { flex: 1; }
details > summary.link { cursor: pointer; color: var(--brand); font-weight: 600; list-style: none; display: inline-flex; gap: 6px; align-items: center; }
details > summary::-webkit-details-marker { display: none; }

/* Messaging */
.chat { display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: calc(100vh - 260px); min-height: 460px; }
@media (min-width: 900px) { .chat { grid-template-columns: 300px 1fr; } }
.chat-list { border-right: 1px solid var(--line); overflow-y: auto; }
.chat-item { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.chat-item:hover, .chat-item.active { background: var(--brand-50); }
.chat-item.unread b { color: var(--brand); }
.ci-body { flex: 1; min-width: 0; display: grid; }
.ci-top { display: flex; justify-content: space-between; gap: 8px; }
.ci-top time { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.ci-last { font-size: 13px; color: var(--muted); }
.chat-thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.chat-back { display: inline-flex; }
@media (min-width: 900px) { .chat-back { display: none; } }
@media (max-width: 899px) { .chat.has-thread .chat-list { display: none; } .chat:not(.has-thread) .chat-thread { display: none; } }
.chat-placeholder { margin: auto; text-align: center; color: var(--muted); display: grid; justify-items: center; gap: 6px; }
.msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 6px; background: var(--bg-soft); }
.msg { display: flex; flex-direction: column; max-width: 78%; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.them { align-self: flex-start; }
.bubble { padding: 9px 13px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; word-wrap: break-word; overflow-wrap: anywhere; }
.msg.me .bubble { background: var(--brand); color: #fff; border-color: var(--brand); border-bottom-right-radius: 4px; }
.msg.them .bubble { border-bottom-left-radius: 4px; }
.msg time { font-size: 11px; color: var(--muted); margin: 2px 4px 4px; }
.msg-day { align-self: center; font-size: 11.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin: 8px 0; }
.composer { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.composer textarea { flex: 1; resize: none; min-height: 44px; max-height: 140px; border-radius: 22px; padding: 11px 16px; field-sizing: content; }

/* Requirements (RFQ) */
.how-strip { display: grid; gap: 12px; margin-bottom: 20px; }
@media (min-width: 768px) { .how-strip { grid-template-columns: repeat(3, 1fr); } }
.how-strip > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.how-strip small { grid-column: 2; color: var(--muted); font-size: 13px; }
.step-n { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
a.rfq-card { color: var(--ink); display: block; transition: border-color .15s, box-shadow .15s; }
a.rfq-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }
.quote-card.accepted { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-50); }

/* Consultations */
.consult-list { display: grid; gap: 10px; }
.consult-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); }
.consult-item:hover { border-color: var(--brand-100); background: var(--brand-50); }
.consult-price { display: flex; align-items: center; gap: 10px; font-weight: 800; white-space: nowrap; }
.slot-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.slot-day { flex: 0 0 auto; display: grid; justify-items: center; min-width: 62px; padding: 8px 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; line-height: 1.15; }
.slot-day b { font-size: 20px; }
.slot-day small { font-size: 11.5px; color: var(--muted); }
.slot-day.active { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 12px; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot span { display: block; text-align: center; padding: 10px 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; cursor: pointer; background: #fff; }
.slot input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand); }
.slot input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.svc-list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.svc-list li.off { opacity: .55; }
.chip-x { border: 0; background: none; cursor: pointer; font-size: 16px; line-height: 1; padding: 0 0 0 2px; color: var(--muted); }
.chip-x:hover { color: var(--red); }
.booking { display: flex; gap: 16px; align-items: flex-start; }
.booking.past { opacity: .7; }
.bk-date { display: grid; justify-items: center; min-width: 60px; padding: 8px; border-radius: var(--radius-sm); background: var(--brand-50); color: var(--brand); line-height: 1.1; }
.bk-date b { font-size: 24px; }
.bk-date small { font-size: 11.5px; text-transform: uppercase; font-weight: 700; }

/* Owner analytics */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.seg a { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); display: inline-flex; gap: 4px; align-items: center; }
.seg a.active { background: var(--brand); color: #fff; }
.seg a.locked { opacity: .6; }
.legend { display: flex; gap: 14px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg-views, .b-views { background: var(--brand-100); fill: var(--brand-100); }
.lg-acts, .b-acts { background: var(--accent); fill: var(--accent); }
.chart-wrap { overflow-x: auto; margin-top: 12px; }
.bar-chart { width: 100%; min-width: 520px; height: auto; }
.bar-chart .grid-l { stroke: var(--line); stroke-width: 1; }
.bar-chart .ax { font-size: 10px; fill: var(--muted); }
.bar-chart g:hover .b-views { fill: var(--brand); }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: minmax(110px, 1.2fr) 2fr auto auto; gap: 10px; align-items: center; font-size: 13.5px; }
.bar { height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 999px; min-width: 2px; }
.danger-zone { border-color: var(--red-50); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); }
.meta > span { display: inline-flex; align-items: center; gap: 5px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; }
.check-list li { display: flex; gap: 8px; align-items: flex-start; }
.check-list li .ico { color: var(--green); margin-top: 3px; flex-shrink: 0; }

/* ==========================================================================
   v1.3 — interactive components & page sections
   ========================================================================== */
/* Phone with country code */
.phone-field { display: flex; align-items: stretch; width: 100%; }
.phone-field .cc { width: auto; max-width: 118px; flex-shrink: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0; background-color: var(--bg-soft); padding-left: 10px; font-size: 14px; }
.phone-field input { border-top-left-radius: 0; border-bottom-left-radius: 0; min-width: 0; flex: 1; }
.phone-field:focus-within .cc { border-color: var(--brand); }
/* Password show / hide */
.pw-wrap { position: relative; width: 100%; }
.pw-wrap input { padding-right: 44px; width: 100%; }
.pw-wrap .pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: none; border: 0; color: var(--muted); cursor: pointer; }
.pw-wrap .pw-toggle:hover { background: var(--line-2); color: var(--ink); }
.pw-wrap .pw-toggle.on { color: var(--brand); }
.pw-wrap .pw-toggle.on svg { opacity: .85; }
.pw-wrap .pw-toggle.on::after { content: ''; position: absolute; width: 20px; height: 2px; background: currentColor; transform: rotate(-45deg); border-radius: 2px; }
/* Icon picker */
.icon-field { display: flex; gap: 8px; align-items: center; }
.icon-field input { flex: 1; min-width: 0; }
.icon-prev { width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; border: 1px solid var(--line); background: var(--brand-50); color: var(--brand); display: grid; place-items: center; cursor: pointer; }
.icon-prev svg { width: 20px; height: 20px; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin-top: 12px; max-height: 58vh; overflow-y: auto; }
.icon-grid button { display: grid; justify-items: center; gap: 6px; padding: 12px 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; color: var(--ink-2); font-size: 11px; }
.icon-grid button svg { width: 22px; height: 22px; }
.icon-grid button:hover, .icon-grid button.sel { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.icon-grid button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
/* Repeater (add / remove / reorder) */
.repeater { display: grid; gap: 8px; }
.rp-list { display: grid; gap: 8px; }
.rp-row { display: flex; gap: 8px; align-items: flex-start; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: box-shadow .15s; }
.rp-row:hover { box-shadow: var(--shadow-sm); }
.rp-row.dragging { opacity: .5; border-style: dashed; }
.rp-handle { cursor: grab; color: #94a3b8; padding: 10px 2px; user-select: none; letter-spacing: -2px; }
.rp-fields { flex: 1; display: grid; gap: 8px; min-width: 0; }
.repeater.multi .rp-fields { grid-template-columns: 1fr; }
@media (min-width: 640px) { .repeater.multi .rp-fields { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } .repeater.multi .rp-fields .rp-f:has(textarea) { grid-column: 1 / -1; } }
.rp-f { display: grid; gap: 4px; margin: 0; }
.rp-f small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.rp-actions { display: flex; gap: 2px; }
.rp-actions button { width: 30px; height: 30px; border: 0; border-radius: 8px; background: var(--line-2); color: var(--muted); cursor: pointer; font-size: 13px; }
.rp-actions button:hover { background: var(--brand-50); color: var(--brand); }
.rp-actions [data-del]:hover { background: var(--red-50); color: var(--red); }
.rp-add { justify-self: start; }
/* Member picker */
.picker { position: relative; }
.picker-menu { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); max-height: 280px; overflow-y: auto; padding: 4px; }
.picker-menu button { display: grid; width: 100%; text-align: left; padding: 8px 10px; border: 0; background: none; border-radius: 8px; cursor: pointer; }
.picker-menu button:hover { background: var(--brand-50); }
.picker-menu small { color: var(--muted); }
/* Countdown */
[data-countdown] { display: inline-flex; gap: 8px; }
[data-countdown] span { display: grid; justify-items: center; min-width: 54px; padding: 8px 6px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
[data-countdown] b { font-size: 20px; line-height: 1.1; font-family: var(--font-head); color: var(--brand); }
[data-countdown] small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
/* Carousel */
.carousel { position: relative; }
.car-viewport { overflow: hidden; margin: -6px; padding: 6px; }
.car-track { display: flex; gap: 20px; transition: transform .5s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.car-track > * { min-width: 0; }
.car-btn { position: absolute; top: 44%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); font-size: 24px; line-height: 1; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: .15s; }
.car-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.car-btn.prev { left: -12px; } .car-btn.next { right: -12px; }
@media (max-width: 699px) { .car-btn { display: none; } }
.car-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.car-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: #cbd5e1; cursor: pointer; padding: 0; transition: width .25s, background .25s; }
.car-dots button.on { width: 26px; background: var(--brand); }
.carousel.static .car-btn, .carousel.static .car-dots { display: none; }
/* Testimonials */
.tst-section { background: radial-gradient(1200px 400px at 10% 0%, var(--brand-50), transparent 60%), radial-gradient(900px 300px at 100% 100%, var(--accent-50), transparent 60%); }
.tst-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.tst-head h2 { margin: 0; }
.tst-score { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 16px; box-shadow: var(--shadow-sm); }
.tst-score > b { font-size: 34px; font-family: var(--font-head); line-height: 1; }
.tst-score small { display: block; color: var(--muted); font-size: 12px; }
.tcard2 { margin: 0; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; height: 100%; }
.tcard2:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tcard2::before { content: '“'; position: absolute; right: 18px; top: -6px; font-size: 96px; font-family: Georgia, serif; color: var(--brand-100); line-height: 1; pointer-events: none; }
.tcard2 blockquote { margin: 0; font-size: 15.5px; color: var(--ink-2); flex: 1; }
.tcard2 figcaption { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.tcard2 figcaption b { display: block; font-size: 14.5px; }
.tcard2 figcaption small { color: var(--muted); font-size: 12.5px; }
.tcard2 .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; flex-shrink: 0; }
.tc-logo { margin-left: auto; max-height: 28px; max-width: 80px; object-fit: contain; filter: grayscale(1); opacity: .75; }
.tc-video { position: absolute; left: 20px; top: -14px; display: inline-flex; gap: 6px; align-items: center; border: 0; background: var(--accent); color: #fff; font-weight: 700; font-size: 12.5px; padding: 6px 12px; border-radius: 99px; cursor: pointer; box-shadow: var(--shadow); }
/* Login / sign-up modal */
.auth-modal .modal-dialog { max-width: 560px; padding: 0; overflow: hidden auto; }
.auth-modal .am-close { position: absolute; right: 10px; top: 10px; z-index: 3; }
.auth-modal .am-body .auth-card { box-shadow: none; border: 0; margin: 0; max-width: none; width: 100%; }
.auth-modal .am-loading { padding: 80px 20px; text-align: center; color: var(--muted); }
.auth-modal .am-loading::before { content: ''; display: block; width: 28px; height: 28px; margin: 0 auto 12px; border-radius: 50%; border: 3px solid var(--brand-100); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* Compare bar */
.compare-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; background: rgba(15, 23, 42, .96); color: #fff; padding: 12px 0; box-shadow: 0 -8px 24px rgba(0, 0, 0, .18); animation: toastIn .25s; }
.compare-bar .chip { background: rgba(255, 255, 255, .12); color: #fff; }
.compare-bar .chip button { background: none; border: 0; color: #cbd5e1; cursor: pointer; padding: 0 0 0 4px; }
.compare-bar .btn-ghost { color: #cbd5e1; }
@media (max-width: 767px) { body.has-bottom-nav .compare-bar { bottom: 64px; } }
[data-compare].on { background: var(--brand-50); color: var(--brand); border-color: var(--brand-100); }
/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- Ad slots ---------- */
.ad-wrap { margin-top: 18px; margin-bottom: 4px; }
.ad-top .ad-slider, .ad-bottom .ad-slider { max-width: 1040px; margin-left: auto; margin-right: auto; }
.ad-slot { position: relative; }
.ad-slot .ad-slider { margin-bottom: 0; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.ad-mid { margin: 24px 0; }
.ad-bottom { margin: 8px 0 32px; }
.ad-sidebar .ad-slide img { aspect-ratio: auto; }
.ad-slot .slider-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.home-ad { margin-top: 24px; }

/* ---------- Page FAQs ---------- */
.page-faqs { background: var(--bg-soft); border-top: 1px solid var(--line); }
.faq-split { display: grid; gap: 24px; }
@media (min-width: 992px) { .faq-split { grid-template-columns: 340px 1fr; gap: 48px; align-items: start; } .faq-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq-aside h2 { margin: 0 0 8px; }
.faq-modern { border: 0; background: none; display: grid; gap: 10px; }
.faq-modern details { background: #fff; border: 1px solid var(--line) !important; border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.faq-modern details[open] { border-color: var(--brand-100) !important; box-shadow: var(--shadow); }
.faq-modern summary { gap: 14px; justify-content: flex-start; }
.faq-modern summary > span:nth-child(2) { flex: 1; }
.faq-n { font-family: var(--font-head); font-size: 13px; color: var(--brand); background: var(--brand-50); border-radius: 8px; padding: 3px 7px; flex-shrink: 0; }
.faq-modern details > div { padding-left: 62px; }
@media (max-width: 599px) { .faq-modern details > div { padding-left: 20px; } }

/* ---------- Page sections (About, Services …) ---------- */
.psec { padding: 56px 0; position: relative; }
@media (min-width: 992px) { .psec { padding: 88px 0; } }
.psec.bg-soft { background: var(--bg-soft); }
.psec.bg-brand { background: var(--brand); color: #fff; }
.psec.bg-dark { background: #0b1220; color: #e2e8f0; }
.psec.bg-gradient { background: linear-gradient(135deg, var(--brand-50), #fff 45%, var(--accent-50)); }
.psec.bg-brand .lead, .psec.bg-dark .lead, .psec.bg-brand .prose, .psec.bg-dark .prose { color: inherit; opacity: .9; }
.psec.bg-brand h2, .psec.bg-dark h2 { color: #fff; }
.sec-head { max-width: 760px; margin-bottom: 32px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.2; margin: 0 0 10px; letter-spacing: -.01em; }
.lead { font-size: 17px; color: var(--muted); margin: 0; }
.center-narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.eyebrow.light { color: #fde68a; }
.psec-split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .psec-split { grid-template-columns: 1.05fr .95fr; gap: 64px; } .psec-split.rev > :first-child { order: 2; } }
.psec-copy .btn { margin-top: 18px; }
.psec-media img { width: 100%; border-radius: 24px; aspect-ratio: 5/4; object-fit: cover; box-shadow: var(--shadow-lg); }
.psec-art { aspect-ratio: 5/4; border-radius: 28px; background: conic-gradient(from 140deg at 60% 40%, var(--brand-100), var(--accent-50), var(--violet-50), var(--brand-100)); display: grid; place-items: center; position: relative; overflow: hidden; }
.psec-art::before, .psec-art::after { content: ''; position: absolute; border-radius: 50%; border: 1px dashed rgba(29, 78, 216, .25); }
.psec-art::before { width: 70%; aspect-ratio: 1; animation: spin 40s linear infinite; }
.psec-art::after { width: 45%; aspect-ratio: 1; animation: spin 28s linear infinite reverse; }
.psec-art span { width: 128px; height: 128px; border-radius: 32px; background: #fff; display: grid; place-items: center; color: var(--brand); box-shadow: var(--shadow-lg); transform: rotate(-6deg); position: relative; z-index: 1; }
.tick-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; }
.tick-list li > .ico { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.feature-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } .feature-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); } .feature-grid:has(> :nth-child(8):last-child) { grid-template-columns: repeat(4, 1fr); } }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature-card::after { content: ''; position: absolute; inset: auto -40% -60% auto; width: 160px; height: 160px; border-radius: 50%; background: var(--brand-50); transition: transform .4s; z-index: 0; }
.feature-card > * { position: relative; z-index: 1; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.feature-card:hover::after { transform: scale(1.6); }
.feature-card h3 { font-size: 17px; margin: 14px 0 6px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.fc-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--violet)); color: #fff; box-shadow: 0 8px 18px -8px var(--brand); flex-shrink: 0; }
.fc-icon.lg { width: 60px; height: 60px; border-radius: 18px; }
.tile-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } .tile-grid:has(> :nth-child(4):last-child), .tile-grid:has(> :nth-child(8):last-child) { grid-template-columns: repeat(4, 1fr); } }
.tile { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; transition: .2s; }
.tile .fc-icon { grid-row: span 2; width: 44px; height: 44px; background: var(--brand-50); color: var(--brand); box-shadow: none; }
.tile h3 { margin: 0; font-size: 16px; }
.tile p { margin: 0; font-size: 13.5px; color: var(--muted); }
.tile:hover { border-color: var(--brand); background: var(--brand-50); }
.tile:hover .fc-icon { background: var(--brand); color: #fff; }
.steps-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 900px) { .steps-flow { grid-template-columns: repeat(var(--n, 4), 1fr); gap: 20px; } .steps-flow:has(> :nth-child(3):last-child) { --n: 3; } .steps-flow:has(> :nth-child(5):last-child) { --n: 5; } }
.steps-flow li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px; display: flex; gap: 14px; }
@media (min-width: 900px) { .steps-flow li { flex-direction: column; } .steps-flow li:not(:last-child)::after { content: ''; position: absolute; top: 44px; right: -21px; width: 22px; border-top: 2px dashed var(--brand-100); } }
.sf-num { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); font-size: 18px; flex-shrink: 0; border: 2px solid var(--brand-100); transition: .2s; }
.steps-flow li:hover .sf-num { background: var(--brand); color: #fff; transform: scale(1.08); }
.steps-flow h3 { font-size: 16px; margin: 0 0 4px; display: flex; gap: 6px; align-items: center; }
.steps-flow p { margin: 0; color: var(--muted); font-size: 14px; }
.check-cards { display: grid; gap: 12px; }
@media (min-width: 640px) { .check-cards { grid-template-columns: 1fr 1fr; } }
.check-card { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; transition: .2s; }
.check-card > .ico { color: #fff; background: var(--green); border-radius: 10px; padding: 7px; width: 34px; height: 34px; flex-shrink: 0; }
.check-card p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.check-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
@media (min-width: 900px) { .stat-band { grid-template-columns: repeat(4, 1fr); } }
.stat-cell { background: #fff; padding: 28px 18px; text-align: center; display: grid; justify-items: center; gap: 6px; }
.stat-cell b { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; background: linear-gradient(135deg, var(--brand), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-cell > span:last-child { color: var(--muted); font-weight: 600; font-size: 14px; }
.stat-cell .fc-icon { width: 38px; height: 38px; border-radius: 12px; background: var(--brand-50); color: var(--brand); box-shadow: none; }
.timeline { position: relative; display: grid; gap: 18px; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand), var(--accent)); border-radius: 2px; }
.tl-item { display: flex; gap: 18px; align-items: flex-start; position: relative; }
.tl-dot { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; z-index: 1; }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; flex: 1; }
.tl-card h3 { margin: 0 0 4px; font-size: 16px; }
.tl-card p { margin: 0; color: var(--muted); font-size: 14px; }
@media (min-width: 900px) {
  .timeline::before { left: 50%; transform: translateX(-1px); }
  .tl-item { width: 50%; padding-right: 40px; }
  .tl-item .tl-dot { position: absolute; right: -22px; top: 8px; }
  .tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 0 40px; }
  .tl-item:nth-child(even) .tl-dot { left: -22px; right: auto; }
  .tl-item:nth-child(odd) .tl-card { text-align: right; }
}
.statement { text-align: center; max-width: 900px; margin: 0 auto; }
.statement blockquote { margin: 8px 0 14px; font-family: var(--font-head); font-size: clamp(1.5rem, 3.6vw, 2.5rem); line-height: 1.25; font-weight: 800; letter-spacing: -.02em; background: linear-gradient(120deg, var(--ink), var(--brand) 60%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.pill { display: inline-flex; gap: 6px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; font-weight: 600; font-size: 14px; }
.cta-band { display: grid; gap: 22px; align-items: center; padding: 36px 28px; border-radius: 28px; color: #fff; background: radial-gradient(600px 240px at 90% 0%, rgba(249, 115, 22, .45), transparent 60%), linear-gradient(120deg, var(--brand), var(--violet)); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; padding: 48px 52px; } }
.cta-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { margin: 0; opacity: .92; }
.cta-points { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; font-size: 14px; }
.cta-points li { display: inline-flex; gap: 6px; align-items: center; }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
/* About / Services hero */
.about-hero { position: relative; overflow: hidden; color: #fff; padding: 36px 0 56px; background: radial-gradient(900px 400px at 85% -10%, rgba(249, 115, 22, .5), transparent 60%), radial-gradient(700px 400px at -10% 110%, rgba(124, 58, 237, .55), transparent 60%), linear-gradient(135deg, #0b1f5e, var(--brand)); }
.about-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(#000, transparent 85%); pointer-events: none; }
.about-hero .container { position: relative; z-index: 1; }
.about-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.1; letter-spacing: -.02em; margin: 10px 0 14px; }
.about-hero .lead { color: rgba(255, 255, 255, .88); max-width: 620px; margin-bottom: 24px; }
.breadcrumbs.light a, .breadcrumbs.light span, .breadcrumbs.light li::after { color: rgba(255, 255, 255, .75); }
.ah-grid { display: grid; gap: 32px; align-items: center; margin-top: 18px; }
@media (min-width: 992px) { .ah-grid { grid-template-columns: 1.3fr 1fr; gap: 56px; } .about-hero { padding: 48px 0 88px; } }
.ah-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ah-stats > div { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); border-radius: 18px; padding: 20px; transition: transform .25s, background .25s; }
.ah-stats > div:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .16); }
.ah-stats b { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.1; }
.ah-stats span { font-size: 13.5px; opacity: .85; }
.svc-orbit { position: relative; width: min(360px, 80vw); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .35); display: grid; place-items: center; }
.svc-orbit b { width: 46%; aspect-ratio: 1; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-size: 15px; padding: 10px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .35); }
.svc-orbit span { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px; border-radius: 16px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; color: #fff; animation: orbit 24s linear infinite; animation-delay: calc(var(--i) * -4s); }
@keyframes orbit { from { transform: rotate(0deg) translateX(min(170px, 38vw)) rotate(0deg); } to { transform: rotate(360deg) translateX(min(170px, 38vw)) rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) { .svc-orbit span { animation: none; transform: rotate(calc(var(--i) * 60deg)) translateX(150px) rotate(calc(var(--i) * -60deg)); } }
/* Sticky in-page section nav (scroll-spy) */
.sec-nav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.sec-nav-track { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
.sec-nav-track::-webkit-scrollbar { display: none; }
.sec-nav a { white-space: nowrap; padding: 7px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: .15s; }
.sec-nav a:hover { color: var(--ink); background: var(--line-2); }
.sec-nav a.active { background: var(--brand); color: #fff; }
.psec, .page-faqs, [id] { scroll-margin-top: calc(var(--header-h) + 64px); }
.team-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-align: center; display: grid; justify-items: center; gap: 4px; transition: .2s; }
.team-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; border: 4px solid var(--brand-50); }
.team-card span { color: var(--muted); font-size: 13.5px; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* ---------- Newsletter ---------- */
.nl-form { display: grid; gap: 10px; }
.nl-row { display: flex; gap: 8px; }
.nl-row input { flex: 1; min-width: 0; }
.nl-form.compact .nl-row { flex-direction: column; }
.nl-lists { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nl-chip input { position: absolute; opacity: 0; pointer-events: none; }
.nl-chip span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 12.5px; font-weight: 600; cursor: pointer; transition: .15s; }
.nl-chip span .ico { display: none; }
.nl-chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.nl-chip input:checked + span .ico { display: inline; }
.nl-chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--brand-100); }
.nl-note { opacity: .8; font-size: 12px; }
.newsletter .nl-chip span { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .3); color: #fff; }
.newsletter .nl-chip input:checked + span { background: #fff; color: var(--brand); }
.pref-list { display: grid; gap: 10px; }
.pref-item { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: .15s; }
.pref-item input { position: absolute; opacity: 0; }
.pref-box { flex: 1; display: grid; }
.pref-box small { color: var(--muted); }
.pref-box em { font-style: normal; font-size: 12px; color: var(--brand); font-weight: 600; margin-top: 2px; }
.pref-item:has(input:checked) { border-color: var(--brand-100); background: var(--brand-50); }
.pref-item input:checked ~ .switch span { background: var(--green); }
.pref-item input:checked ~ .switch span::before { transform: translateX(20px); }
.flex-end { display: flex; justify-content: flex-end; }
.card-pad-lg { padding: 28px; }
@media (min-width: 768px) { .card-pad-lg { padding: 40px; } }

/* ---------- Choice rows (custom fields) ---------- */
.choice-row { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 4px 0; }
.auth-modal .am-body .auth-card { padding: 30px 26px 24px; }
@media (min-width: 640px) { .auth-modal .am-body .auth-card { padding: 36px 36px 28px; } }
.rp-f .icon-field input, .rp-fields > .icon-field input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rp-f .icon-field .btn { white-space: nowrap; }

/* ---------- Blog ---------- */
.blog-hero { padding: 28px 0 34px; background: radial-gradient(700px 260px at 100% 0%, var(--accent-50), transparent 70%), linear-gradient(180deg, var(--brand-50), #fff); border-bottom: 1px solid var(--line); }
.blog-hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); letter-spacing: -.02em; line-height: 1.12; margin: 6px 0 10px; }
.bh-grid { display: grid; gap: 22px; align-items: end; margin-top: 10px; }
@media (min-width: 992px) { .bh-grid { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.bh-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px 6px 6px 16px; box-shadow: var(--shadow); }
.bh-search > .ico { color: var(--muted); flex-shrink: 0; }
.bh-search input[type] { border: 0; box-shadow: none; padding: 10px 4px; min-height: 0; background: none; }
.bh-search input:focus { box-shadow: none; }
.blog-featured { padding-top: 32px; padding-bottom: 24px; }
.bf-grid { display: grid; gap: 22px; }
@media (min-width: 992px) { .bf-grid { grid-template-columns: 1.65fr 1fr; } }
.bf-side { display: grid; gap: 10px; align-content: start; }
.h-sm { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display: flex; gap: 6px; align-items: center; margin: 0 0 6px; }
.bf-mini { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: .2s; }
.bf-mini:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateX(3px); }
.bf-mini img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
.bf-mini small { color: var(--brand); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; display: block; }
.bf-mini b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.35; }
.bf-mini time { font-size: 12px; color: var(--muted); }
.cat-rail { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 12px; border-bottom: 1px solid var(--line); }
.cat-rail::-webkit-scrollbar { display: none; }
.cat-rail a { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; font-size: 14px; transition: .15s; }
.cat-rail a small { background: var(--line-2); border-radius: 99px; padding: 0 7px; font-size: 11.5px; color: var(--muted); }
.cat-rail a:hover { border-color: var(--brand-100); color: var(--brand); }
.cat-rail a.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-rail a.active small { background: rgba(255, 255, 255, .18); color: #fff; }
.sub-rail { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; }
.list-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.sort-select { width: auto; min-height: 38px; padding-top: 6px; padding-bottom: 6px; }
.blog-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.bcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; height: 100%; animation: fadeIn .4s; }
.bcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.bcard-img { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--line-2); }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bcard:hover .bcard-img img { transform: scale(1.06); }
.bcard-flag { position: absolute; left: 12px; top: 12px; display: inline-flex; gap: 4px; align-items: center; background: rgba(255, 255, 255, .95); color: var(--accent); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 99px; box-shadow: var(--shadow-sm); }
.bcard-body { padding: 18px 20px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bcard-cats { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bcard-cat { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); background: var(--brand-50); padding: 4px 10px; border-radius: 99px; }
.bcard-cat.soft { color: var(--ink-2); background: var(--line-2); }
.bcard-time { font-size: 12px; color: var(--muted); display: inline-flex; gap: 4px; align-items: center; }
.bcard h3 { font-size: 17.5px; line-height: 1.35; margin: 2px 0 0; }
.bcard h3 a { color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s; }
.bcard:hover h3 a { background-size: 100% 1.5px; }
.bcard p { margin: 0; color: var(--muted); font-size: 14.5px; }
.bcard-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bcard-author { display: flex; gap: 8px; align-items: center; min-width: 0; }
.bcard-author img, .bcard-author i { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; display: grid; place-items: center; background: var(--brand); color: #fff; font-style: normal; font-weight: 700; font-size: 13px; }
.bcard-author span { display: grid; line-height: 1.25; min-width: 0; }
.bcard-author b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcard-author time { font-size: 12px; color: var(--muted); }
.bcard-more { font-weight: 700; font-size: 13px; display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.bcard-more .ico { transition: transform .2s; }
.bcard:hover .bcard-more .ico { transform: translateX(3px); }
@media (min-width: 768px) {
  .bcard.wide { display: grid; grid-template-columns: 1.15fr 1fr; }
  .bcard.wide .bcard-img { aspect-ratio: auto; min-height: 340px; }
  .bcard.wide .bcard-body { padding: 28px; justify-content: center; }
  .bcard.wide h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
  .bcard.wide p { font-size: 15.5px; }
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); }
.tag-cloud .h-sm { width: 100%; }
.tag-cloud a { padding: 6px 12px; border-radius: 10px; background: var(--line-2); color: var(--ink-2); font-size: 13.5px; font-weight: 600; transition: .15s; }
.tag-cloud a:hover, .tag-cloud a.active { background: var(--brand); color: #fff; }
.nl-band { display: grid; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .nl-band { grid-template-columns: 1fr 1fr; padding: 36px 40px; } }
.nl-band h2 { margin: 0 0 6px; }
.empty-state { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: 20px; background: var(--bg-soft); display: grid; justify-items: center; gap: 8px; }
.empty-state h3 { margin: 6px 0 0; }
/* Blog post */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 200; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width .1s linear; }
.post-hero { padding: 26px 0 30px; background: linear-gradient(180deg, var(--brand-50), #fff); }
.post-narrow { max-width: 880px; }
.post-cats { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 4px; }
.post-hero h1 { font-size: clamp(1.8rem, 4.4vw, 3rem); line-height: 1.12; letter-spacing: -.02em; margin: 8px 0 12px; }
.post-dek { font-size: 18.5px; color: var(--ink-2); margin: 0 0 18px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; color: var(--muted); font-size: 14px; }
.post-meta > span { display: inline-flex; gap: 6px; align-items: center; }
.pm-author img, .pm-author i { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--brand); color: #fff; font-style: normal; font-weight: 700; }
.pm-author span { display: grid; line-height: 1.25; }
.pm-author b { color: var(--ink); }
.pm-author small { font-size: 12.5px; }
.post-cover { margin-top: 0; margin-bottom: 0; }
.post-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: auto; height: auto; }
.post-layout { display: grid; gap: 28px; padding-top: 32px; padding-bottom: 48px; }
@media (min-width: 1100px) { .post-layout { grid-template-columns: 56px minmax(0, 1fr) 300px; gap: 40px; } }
.post-share { display: none; }
@media (min-width: 1100px) {
  .post-share { display: flex; flex-direction: column; align-items: center; gap: 8px; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
  .post-share > span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 6px; }
  .post-share .share { flex-direction: column; }
}
.post-main { min-width: 0; max-width: 760px; }
.post-body { font-size: 17px; line-height: 1.8; }
.post-body h2 { margin-top: 1.8em; }
.post-body img { border-radius: 14px; }
.post-body blockquote { border-left: 4px solid var(--brand); background: var(--brand-50); margin: 1.5em 0; padding: 14px 20px; border-radius: 0 12px 12px 0; font-size: 18px; }
.toc-mobile { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 22px; background: var(--bg-soft); }
.toc-mobile summary { cursor: pointer; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.toc-mobile .toc { margin-top: 10px; }
@media (min-width: 1100px) { .toc-mobile { display: none; } }
.post-aside { display: grid; gap: 18px; align-content: start; }
@media (min-width: 1100px) { .post-aside > :first-child { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (max-width: 1099px) { .post-aside .toc-card { display: none; } }
.toc-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; max-height: calc(100vh - var(--header-h) - 60px); overflow-y: auto; }
.toc-card h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 10px; }
.toc-card .toc a { display: block; padding: 6px 10px; border-left: 2px solid var(--line); color: var(--ink-2); font-size: 14px; }
.toc-card .toc a.l3 { padding-left: 22px; font-size: 13.5px; }
.toc-card .toc a.active, .toc-card .toc a:hover { border-left-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 30px 0 0; color: var(--muted); }
.post-tags a { padding: 5px 12px; background: var(--line-2); border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.post-tags a:hover { background: var(--brand); color: #fff; }
.post-faqs { margin-top: 36px; }
.post-sharebar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; padding: 16px 20px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(135deg, #fff, var(--brand-50)); }
.author-box > img, .author-box > picture > img, .author-box > i { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; display: grid; place-items: center; background: var(--brand); color: #fff; font-style: normal; font-weight: 800; font-size: 28px; border: 4px solid #fff; box-shadow: var(--shadow); }
.author-box small { text-transform: uppercase; letter-spacing: .07em; font-size: 11px; color: var(--muted); font-weight: 700; }
.author-box h3 { margin: 2px 0; }
.ab-role { color: var(--brand); font-weight: 600; font-size: 14px; }
.author-box p { margin: 8px 0 4px; color: var(--ink-2); font-size: 14.5px; }
.post-nav { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.pn { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); transition: .2s; background: #fff; }
.pn:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.pn small { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; display: inline-flex; gap: 4px; align-items: center; }
.pn > span { display: flex; gap: 12px; align-items: center; }
.pn img { width: 64px; height: 52px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.pn b { font-size: 14.5px; line-height: 1.35; }
.pn.next { text-align: right; }
.pn.next small { justify-content: flex-end; }
.pn.next > span { justify-content: flex-end; }
.post-cta { margin-top: 32px; }
.share { display: flex; gap: 6px; }

/* ---------- Marketplace ---------- */
.mk-hero { padding: 26px 0 22px; background: radial-gradient(800px 300px at 90% -20%, rgba(124, 58, 237, .12), transparent 60%), linear-gradient(180deg, var(--brand-50), #fff); border-bottom: 1px solid var(--line); }
.mk-hero.slim { padding-bottom: 26px; }
.mk-hero h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -.02em; line-height: 1.12; margin: 6px 0 8px; }
.mk-hero-grid { display: grid; gap: 20px; align-items: end; margin-top: 8px; }
@media (min-width: 992px) { .mk-hero-grid { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.mk-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mk-kinds a { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink-2); transition: .15s; box-shadow: var(--shadow-sm); }
.mk-kinds a:hover { border-color: var(--brand); color: var(--brand); }
.mk-kinds a.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.mk-kinds a.sell { margin-left: auto; background: var(--accent); color: #fff; border-color: var(--accent); }
.mk-filters { display: grid; gap: 14px; }
.fgroup { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.fgroup > b { font-size: 13px; }
.range-row { display: flex; align-items: center; gap: 6px; }
.range-row input { min-width: 0; }
.mk-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (min-width: 1200px) { .mk-grid { grid-template-columns: repeat(3, 1fr); } .mk-grid.four { grid-template-columns: repeat(4, 1fr); } }
.mcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; height: 100%; animation: fadeIn .4s; }
.mcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.mcard-img { position: relative; display: block; aspect-ratio: 4/3; background: var(--line-2); overflow: hidden; }
.mcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mcard:hover .mcard-img img { transform: scale(1.05); }
.mcard-badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.mb { display: inline-flex; gap: 3px; align-items: center; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.mb-feat { background: #fff; color: var(--accent); box-shadow: var(--shadow-sm); }
.mb-off { background: var(--green); color: #fff; }
.mcard-kind { position: absolute; right: 10px; bottom: 10px; display: inline-flex; gap: 4px; align-items: center; background: rgba(15, 23, 42, .72); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 99px; backdrop-filter: blur(4px); }
.mcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mcard-cat { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); }
.mcard h3 { font-size: 16px; line-height: 1.35; margin: 0; }
.mcard h3 a { color: var(--ink); }
.mcard-seller { font-size: 13px; color: var(--ink-2); }
.vbadge { color: var(--green); display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 600; vertical-align: -2px; }
.mcard-hl { display: flex; flex-wrap: wrap; gap: 5px; }
.mcard-hl span { font-size: 11.5px; background: var(--line-2); padding: 3px 8px; border-radius: 6px; color: var(--ink-2); }
.mcard-sum { font-size: 13.5px; color: var(--muted); margin: 0; }
.mcard-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; border-top: 1px dashed var(--line); }
.mcard-price { display: grid; line-height: 1.2; }
.mcard-price b { font-size: 16.5px; font-family: var(--font-head); }
.mcard-price small { color: var(--muted); font-size: 11.5px; }
.mcard-price s { color: var(--muted); font-size: 12px; }
.mcard-act { display: flex; gap: 6px; align-items: center; }
.icon-btn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); transition: .15s; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.carousel .mcard { animation: none; }
/* Product detail */
.pd-top { padding: 20px 0 28px; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.pd-grid { display: grid; gap: 28px; margin-top: 12px; }
@media (min-width: 992px) { .pd-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; } }
.pd-main { position: relative; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 4/3; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pd-main img.swap { animation: fadeIn .35s; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.pd-thumbs button { flex: 0 0 72px; height: 58px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--line-2); opacity: .75; transition: .15s; }
.pd-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs button.on, .pd-thumbs button:hover { border-color: var(--brand); opacity: 1; }
.pd-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pill-sm { display: inline-flex; gap: 5px; align-items: center; padding: 4px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: var(--brand); color: #fff; }
.pill-sm.soft { background: var(--brand-50); color: var(--brand); }
.pd-info h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.15; margin: 12px 0 8px; letter-spacing: -.01em; }
.pd-seller-line { display: flex; gap: 8px; align-items: center; margin: 12px 0; font-size: 14.5px; color: var(--ink-2); }
.pd-seller-line img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.pd-price { padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; gap: 6px; box-shadow: var(--shadow-sm); }
.pd-price b { font-size: 28px; font-family: var(--font-head); }
.pd-price small { color: var(--muted); }
.pd-price s { color: var(--muted); margin-left: 6px; }
.pd-price .save { background: var(--green-50); color: var(--green); font-weight: 700; font-size: 12.5px; padding: 3px 8px; border-radius: 99px; }
.pd-avail { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.pd-avail i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-50); }
.pd-avail.warn i { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-50); }
.pd-avail.info i { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.pd-avail.bad i { background: var(--red); box-shadow: 0 0 0 3px var(--red-50); }
.pd-quick { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pd-quick li { background: var(--bg-soft); border-radius: 12px; padding: 9px 12px; display: grid; }
.pd-quick span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.pd-quick b { font-size: 14px; }
.pd-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pd-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.pd-trust span { display: inline-flex; gap: 5px; align-items: center; }
.sec-nav .nav-cta { margin-left: auto; background: var(--accent); color: #fff; display: inline-flex; gap: 5px; align-items: center; }
.pd-body { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 48px; }
@media (min-width: 1100px) { .pd-body { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; } .pd-side { position: sticky; top: calc(var(--header-h) + 64px); align-self: start; } }
.pd-side { display: grid; gap: 14px; }
.pd-sec { padding: 26px 0; border-bottom: 1px solid var(--line); }
.pd-sec:first-child { padding-top: 0; }
.pd-sec > h2 { font-size: 1.35rem; margin: 0 0 16px; }
.feature-grid.two { grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid.two { grid-template-columns: repeat(2, 1fr) !important; } }
.spec-groups { display: grid; gap: 16px; }
@media (min-width: 768px) { .spec-groups { grid-template-columns: 1fr 1fr; } }
.spec-group { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.spec-group h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0; padding: 10px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); color: var(--ink-2); }
.spec-group dl { margin: 0; }
.spec-group dl > div { display: grid; grid-template-columns: 42% 1fr; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.spec-group dl > div:last-child { border-bottom: 0; }
.spec-group dt { color: var(--muted); }
.spec-group dd { margin: 0; font-weight: 600; }
.yes { color: var(--green); display: inline-flex; gap: 3px; align-items: center; }
.no { color: var(--red); display: inline-flex; gap: 3px; align-items: center; }
.tier-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 18px; }
.tier { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: #fff; transition: .2s; display: flex; flex-direction: column; }
.tier:hover { box-shadow: var(--shadow); border-color: var(--brand-100); }
.tier.pop { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.tier-flag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.tier h3 { margin: 0 0 6px; font-size: 16px; }
.tier-price { font-family: var(--font-head); font-size: 24px; font-weight: 800; }
.tier-price small { font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.tier .check-list { margin-top: 12px; font-size: 13.5px; flex: 1; }
.terms-grid { display: grid; gap: 12px; }
@media (min-width: 768px) { .terms-grid { grid-template-columns: 1fr 1fr; } }
.term { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: var(--bg-soft); }
.term .fc-icon { width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--brand); box-shadow: none; border: 1px solid var(--line); }
.term p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.doc-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .doc-grid { grid-template-columns: 1fr 1fr; } }
.doc-card { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); transition: .15s; }
.doc-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.doc-card > span:nth-child(2) { flex: 1; display: grid; min-width: 0; }
.doc-card small { color: var(--muted); font-size: 12.5px; }
.doc-ic { position: relative; width: 44px; height: 50px; border-radius: 8px; background: var(--red-50); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.doc-ic small { position: absolute; bottom: 2px; font-size: 8.5px !important; font-weight: 800; color: var(--red) !important; }
.seller-card { border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: linear-gradient(135deg, #fff, var(--bg-soft)); display: grid; gap: 14px; }
.sc-head { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.sc-head > img, .sc-head > picture > img, .sc-head > i { width: 60px; height: 60px; border-radius: 16px; object-fit: cover; background: var(--brand); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 22px; border: 1px solid var(--line); }
.sc-head > div { flex: 1; min-width: 180px; }
.sc-head h3 { margin: 0; font-size: 18px; }
.sc-facts, .sc-contact { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--ink-2); }
.sc-facts span { display: inline-flex; gap: 5px; align-items: center; }
.sc-contact a { display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 13.5px; }
.sc-contact a:hover { border-color: var(--brand); }
.video-wrap .video-embed { width: 100%; aspect-ratio: 16/9; border-radius: 16px; border: 0; }
/* Compare */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.cmp-table { border-collapse: collapse; width: 100%; min-width: calc(180px + var(--n) * 220px); table-layout: fixed; }
.cmp-table th, .cmp-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; font-size: 14px; }
.cmp-table .cmp-label { width: 180px; color: var(--muted); font-weight: 600; background: var(--bg-soft); position: sticky; left: 0; z-index: 1; }
.cmp-table thead th { background: #fff; vertical-align: bottom; }
.cmp-head { display: grid; gap: 8px; position: relative; }
.cmp-head img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.cmp-title { font-weight: 700; color: var(--ink); line-height: 1.3; }
.cmp-price b { font-family: var(--font-head); font-size: 18px; }
.cmp-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-sm); cursor: pointer; display: grid; place-items: center; }
.cmp-table tr.grp th { background: var(--brand-50); color: var(--brand); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.cmp-table tr.diff td { background: #fffdf5; }
.cmp-table.only-diff tr.same { display: none; }
/* Seller product form */
.pf-layout { display: grid; gap: 18px; }
@media (min-width: 1100px) { .pf-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; } }
.pf-steps { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; background: var(--bg); padding: 6px 0; }
@media (min-width: 1100px) { .pf-steps { flex-direction: column; align-self: start; } }
.pf-steps a { display: flex; gap: 8px; align-items: center; padding: 9px 12px; border-radius: 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; border: 1px solid transparent; }
.pf-steps a > span { width: 22px; height: 22px; border-radius: 50%; background: var(--line-2); display: grid; place-items: center; font-size: 11.5px; }
.pf-steps a.active, .pf-steps a:hover { background: var(--brand-50); color: var(--brand); border-color: var(--brand-100); }
.pf-steps a.active > span { background: var(--brand); color: #fff; }
.pf-main { display: grid; gap: 18px; min-width: 0; }
.pf-h { font-size: 1.1rem; display: flex; gap: 8px; align-items: center; margin: 0 0 14px; }
.pf-sec { scroll-margin-top: calc(var(--header-h) + 20px); }
.kind-cards, .price-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.kind-card input, .price-card input { position: absolute; opacity: 0; }
.kind-card > span, .price-card > span { display: grid; gap: 6px; justify-items: start; padding: 14px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; transition: .15s; height: 100%; background: #fff; }
.kind-card > span .ico { color: var(--brand); }
.price-card small { color: var(--muted); font-size: 12.5px; }
.kind-card input:checked + span, .price-card input:checked + span { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-100); }
.kind-card input:focus-visible + span, .price-card input:focus-visible + span { box-shadow: 0 0 0 3px var(--brand-100); }
.attr-box { transition: opacity .2s; }
.attr-box.is-loading { opacity: .45; pointer-events: none; }
.attr-group { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 16px; margin: 0 0 12px; }
.attr-group legend { font-weight: 700; font-size: 13px; padding: 0 6px; color: var(--brand); text-transform: uppercase; letter-spacing: .05em; }
.thumb-keep { position: relative; cursor: pointer; }
.thumb-keep img { width: 76px; height: 60px; object-fit: cover; border-radius: 10px; border: 2px solid var(--line); }
.thumb-keep input { position: absolute; opacity: 0; }
.thumb-keep span { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.thumb-keep input:not(:checked) ~ span { background: var(--red); }
.thumb-keep:has(input:not(:checked)) img { opacity: .35; }
.doc-list { display: grid; gap: 6px; margin-bottom: 6px; }
.doc-row { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.doc-row span { display: grid; }
.doc-row small { color: var(--muted); }
.doc-row:has(input:not(:checked)) { opacity: .45; text-decoration: line-through; }
.doc-new { display: grid; gap: 8px; }
.doc-new-row { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .doc-new-row { grid-template-columns: 1.2fr .8fr 1.2fr; } }
.alert-warn { background: var(--amber-50); border: 1px solid #fde68a; color: #92400e; padding: 10px 14px; border-radius: 12px; display: flex; gap: 8px; align-items: center; }
.kpi-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.kpi { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.kpi .fc-icon { width: 40px; height: 40px; border-radius: 12px; }
.kpi b { font-size: 22px; font-family: var(--font-head); display: block; line-height: 1.1; }
.kpi small { color: var(--muted); }
.badge-orange { background: var(--accent-50); color: var(--accent); }

/* ---------- Legal & CMS pages ---------- */
.legal-hero { padding: 26px 0 30px; background: linear-gradient(180deg, var(--brand-50), #fff); border-bottom: 1px solid var(--line); }
.lh-row { display: flex; gap: 18px; align-items: center; margin-top: 10px; }
.lh-ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--violet)); box-shadow: 0 12px 24px -12px var(--brand); flex-shrink: 0; }
.legal-hero h1 { margin: 0 0 6px; font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -.01em; }
.lh-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 13.5px; }
.lh-meta > * { display: inline-flex; gap: 5px; align-items: center; }
.linkish { background: none; border: 0; color: var(--brand); cursor: pointer; font: inherit; padding: 0; }
.legal-grid { display: grid; gap: 28px; }
@media (min-width: 992px) { .legal-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 44px; } .legal-aside { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; } .legal-grid.single { grid-template-columns: minmax(0, 860px); justify-content: center; } }
.legal-aside { display: grid; gap: 14px; }
@media (max-width: 991px) { .legal-aside .toc-card { display: none; } }
.policy-list { display: grid; gap: 2px; }
.policy-list h4, .toc-card h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 8px; }
.policy-list a { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.policy-list a:hover, .policy-list a.active { background: var(--brand-50); color: var(--brand); }
.legal-doc { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; min-width: 0; }
@media (min-width: 768px) { .legal-doc { padding: 40px 48px; } }
.in-short { background: linear-gradient(135deg, var(--accent-50), #fff); border: 1px solid #fed7aa; border-radius: 16px; padding: 16px 20px; margin-bottom: 24px; }
.in-short b { display: inline-flex; gap: 6px; align-items: center; color: #c2410c; }
.in-short p { margin: 6px 0 0; }
.legal-img { border-radius: 16px; margin-bottom: 24px; }
.prose.numbered { counter-reset: h2; }
.prose.numbered h2 { counter-increment: h2; display: flex; gap: 12px; align-items: baseline; padding-top: 18px; border-top: 1px solid var(--line-2); }
.prose.numbered h2:first-child { border-top: 0; padding-top: 0; }
.prose.numbered h2::before { content: counter(h2); display: inline-grid; place-items: center; min-width: 32px; height: 32px; border-radius: 10px; background: var(--brand-50); color: var(--brand); font-size: 15px; }
.legal-callout { display: flex; gap: 14px; margin-top: 28px; padding: 18px 20px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); }
.legal-callout h2 { font-size: 1.1rem; margin: 0 0 6px; }
.legal-help { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; padding: 18px 20px; border-radius: 16px; border: 1px dashed var(--brand-100); background: var(--brand-50); }
@media print { .site-header, .site-footer, .legal-aside, .legal-help, .ad-slot, .page-faqs, .bottom-nav, .fab-wa, .topbar, .cookie-bar { display: none !important; } .legal-doc { border: 0; padding: 0; } }

/* ---------- Business profile: inline sections ---------- */
.biz-main { gap: 18px; }
.sec-nav.in-page { top: var(--header-h); margin: 0 0 4px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .95); padding: 0 6px; }
.sec-nav a small { background: var(--line-2); border-radius: 99px; padding: 0 6px; font-size: 11px; margin-left: 2px; color: var(--muted); }
.sec-nav a.active small { background: rgba(255, 255, 255, .25); color: #fff; }
.biz-sec { scroll-margin-top: calc(var(--header-h) + 70px); }
.biz-h { font-size: 1.15rem; display: flex; gap: 8px; align-items: center; margin: 0 0 14px; }
.svc-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.svc-item { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 14px; background: #fff; transition: .15s; }
.svc-item > span { width: 26px; height: 26px; border-radius: 8px; background: var(--green-50); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.svc-item a { margin-left: auto; font-size: 12px; opacity: 0; transition: .15s; }
.svc-item:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.svc-item:hover a { opacity: 1; }
@media (hover: none) { .svc-item a { opacity: 1; } }

/* ---------- Event timing ---------- */
.ev-phase { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .95); color: var(--brand); box-shadow: var(--shadow-sm); }
.ev-live { background: var(--red); color: #fff; }
.ev-live i, .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; display: inline-block; animation: pulse 1.4s infinite; }
.live-dot { background: var(--red); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .6); } 70% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); } 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); } }
.ev-soon { background: var(--accent); color: #fff; }
.ev-ended, .ev-cancelled { background: #334155; color: #fff; }
.ecard.ph-ended .ecard-img img, .ecard.ph-cancelled .ecard-img img { filter: grayscale(1); opacity: .7; }
.ecard.ph-ended, .ecard.ph-cancelled { opacity: .85; }
.ecard.ph-live { border-color: #fecaca; box-shadow: 0 0 0 3px var(--red-50); }
.pill-tabs a small { background: var(--line-2); border-radius: 99px; padding: 0 6px; font-size: 11px; margin-left: 3px; }
.pill-tabs a { display: inline-flex; align-items: center; gap: 4px; }
.next-event { display: grid; gap: 0; border-radius: 22px; overflow: hidden; margin-bottom: 26px; color: #fff; background: linear-gradient(120deg, #0b1f5e, var(--brand) 60%, var(--violet)); box-shadow: var(--shadow-lg); position: relative; }
@media (min-width: 768px) { .next-event { grid-template-columns: 320px 1fr auto; align-items: center; } }
.ne-img { height: 100%; min-height: 160px; background: rgba(255, 255, 255, .1); }
.ne-img img { width: 100%; height: 100%; object-fit: cover; }
.ne-body { padding: 22px 26px; }
.ne-body h2 { color: #fff; margin: 4px 0 6px; font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.ne-body .muted { color: rgba(255, 255, 255, .8) !important; display: flex; gap: 6px; align-items: center; }
.ne-body .eyebrow { color: #fde68a; }
.ne-body [data-countdown] span { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); }
.ne-body [data-countdown] b { color: #fff; }
.ne-body [data-countdown] small { color: rgba(255, 255, 255, .75); }
.ne-cta { margin: 0 26px 22px; justify-self: start; background: #fff; color: var(--brand); }
@media (min-width: 768px) { .ne-cta { margin: 0 26px; } }
.ev-status { padding: 12px 0; font-size: 14.5px; }
.ev-status .container { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ev-status-upcoming, .ev-status-soon { background: var(--brand-50); color: var(--brand); border-bottom: 1px solid var(--brand-100); }
.ev-status-live { background: var(--red-50); color: var(--red); border-bottom: 1px solid #fecaca; }
.ev-status-ended, .ev-status-cancelled { background: #f1f5f9; color: #334155; border-bottom: 1px solid var(--line); }
.ev-status [data-countdown] span { min-width: 46px; padding: 4px; }
.ev-status [data-countdown] b { font-size: 16px; }

/* ---------- PDF reader (magazine) ---------- */
.pdf-reader { margin-top: 28px; border-radius: 22px; overflow: hidden; background: #1e293b; color: #e2e8f0; box-shadow: var(--shadow-lg); outline: none; }
.pdf-reader:fullscreen { border-radius: 0; display: flex; flex-direction: column; }
.pr-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding: 10px 16px; background: #0f172a; }
.pr-bar > b { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; }
.pr-ctrl { display: flex; align-items: center; gap: 4px; font-size: 13.5px; }
.pr-ctrl button, .pr-ctrl a { width: 34px; height: 34px; border-radius: 9px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.pr-ctrl button:hover, .pr-ctrl a:hover, .pr-ctrl button.on { background: var(--brand); }
.pr-ctrl button:disabled { opacity: .35; cursor: default; }
.pr-ctrl > span { padding: 0 8px; white-space: nowrap; }
.pr-sep { width: 1px; height: 20px; background: rgba(255, 255, 255, .15); margin: 0 4px; padding: 0 !important; }
.pr-stage { min-height: 420px; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 12px; overflow: auto; flex: 1; background: radial-gradient(circle at 50% 0%, #334155, #1e293b 70%); }
.pr-stage canvas { background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); border-radius: 3px; max-width: none; }
.pr-stage.turn canvas { animation: fadeIn .35s; }
.pr-status { color: #cbd5e1; text-align: center; }
.pr-hint { margin: 0; padding: 8px 16px; font-size: 12px; color: #94a3b8; text-align: center; background: #0f172a; }

/* ---------- v1.3.1 layout hardening ---------- */
.layout-sidebar > *, .grid > *, .plans > *, .stack > *, .biz-main, .pd-main-col, .post-main, .legal-doc { min-width: 0; }
.plan .price { overflow-wrap: anywhere; }
.plan { overflow: hidden; }
.mcard-foot { flex-wrap: wrap; }
.mcard-act { margin-left: auto; }
.prose, .card, .pd-sec { overflow-wrap: break-word; }
.ad-top .ad-slider, .ad-bottom .ad-slider { max-width: 970px; }
.ad-slot .ad-slide img { max-height: 250px; object-fit: cover; }
@media (max-width: 767px) { .ad-wrap { margin-top: 12px; } .ad-slot .ad-slide img { max-height: 180px; } }
.newsletter > *, .nl-band > *, .faq-split > *, .psec-split > *, .bh-grid > *, .mk-hero-grid > *, .ah-grid > *, .pd-grid > *, .pf-layout > * { min-width: 0; }
@media (max-width: 480px) { .nl-row { flex-wrap: wrap; } .nl-row .btn { flex: 1 1 100%; justify-content: center; } }
.acc-head > * { min-width: 0; }
.acc-head .flex { flex-wrap: wrap; }
.kpis > *, .kpi-row > * { min-width: 0; }
.kpi b, .kpis b { overflow-wrap: anywhere; }
.inv .flex.between { flex-wrap: wrap; gap: 12px; }
.tabs { max-width: 100%; }

/* v1.3.1: newsletter form — compact (sidebar) stays a single column; grid children may shrink */
.nl-form { grid-template-columns: minmax(0, 1fr); }
.nl-form > * { min-width: 0; }
@media (max-width: 480px) { .nl-form.compact .nl-row { flex-wrap: nowrap; } .nl-form.compact .nl-row .btn { flex: 0 0 auto; } }
/* v1.4: rich text editor — container no longer overflows onto the next field */
.rte-wrap { display: flex; flex-direction: column; border-radius: 10px; }
.rte-wrap .ql-container { height: auto; flex: 1; font-size: 15px; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }
.rte-wrap .ql-toolbar { border-top-left-radius: 10px; border-top-right-radius: 10px; background: var(--bg-soft, #f8fafc); }
.rte-wrap .ql-editor { min-height: 260px; max-height: 70vh; overflow-y: auto; line-height: 1.7; }

/* v1.4: notification centre */
.ncenter { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .ncenter { grid-template-columns: 240px minmax(0, 1fr); } .ncats { position: sticky; top: 90px; } }
.ncats { padding: 8px; display: flex; flex-direction: column; gap: 2px; }
@media (max-width: 899px) { .ncats { flex-direction: row; overflow-x: auto; scrollbar-width: none; } .ncats a { flex: 0 0 auto; } }
.ncats a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.ncats a:hover { background: var(--bg-soft); }
.ncats a.active { background: var(--brand-50); color: var(--brand); font-weight: 600; }
.ncats a > span:nth-child(2) { flex: 1; white-space: nowrap; }
.ncats small { color: var(--muted); }
.ncount { background: var(--brand); color: #fff; border-radius: 99px; font-size: 11px; padding: 1px 7px; }
.ncat-ic { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.ntools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.ntools .search-input { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; min-width: 0; flex: 1 1 220px; max-width: 340px; }
.ntools .search-input input { border: 0; min-height: 38px; padding: 0; box-shadow: none; }
.notif-row { display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); }
.notif-row:last-child { border-bottom: 0; }
.notif-row .notif { flex: 1; min-width: 0; border: 0; }
.notif-row.read .notif b { font-weight: 500; }
.notif-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }

/* v1.4: Government schemes */
.span-all { grid-column: 1 / -1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.gs-hero { background: radial-gradient(900px 300px at 85% -10%, rgba(249, 115, 22, .18), transparent 60%), linear-gradient(135deg, #0b1f4d, #12317a 55%, #1d4ed8); color: #fff; padding: 34px 0 40px; }
.gs-hero .breadcrumbs a, .gs-hero .breadcrumbs span { color: rgba(255, 255, 255, .75); }
.gs-hero-in { display: grid; gap: 24px; align-items: center; }
@media (min-width: 980px) { .gs-hero-in { grid-template-columns: minmax(0, 1fr) 340px; } }
.gs-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 4px 0 10px; }
.gs-hero p { color: rgba(255, 255, 255, .82); max-width: 640px; }
.gs-hero .eyebrow { color: #fdba74; }
.gs-search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 6px 6px 6px 14px; max-width: 620px; color: var(--muted); margin-top: 16px; box-shadow: 0 10px 30px rgba(2, 6, 23, .25); }
.gs-search input { border: 0; box-shadow: none; padding: 0; min-height: 44px; min-width: 0; flex: 1; }
.gs-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.gs-stats b { color: #fff; font-size: 1.15rem; margin-right: 4px; }
.gs-finder { display: grid; gap: 8px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; padding: 22px; color: #fff; backdrop-filter: blur(6px); transition: .2s; }
.gs-finder:hover { background: rgba(255, 255, 255, .14); color: #fff; transform: translateY(-2px); }
.gs-finder b { font-size: 1.15rem; }
.gs-finder > span:not(.btn):not(.gs-finder-ic) { color: rgba(255, 255, 255, .78); font-size: 14px; }
.gs-finder .btn { justify-self: start; }
.gs-finder-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #f97316, #fb923c); color: #fff; }
.gs-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gs-cats a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.gs-cats a small { color: var(--muted); }
.gs-cats a.active, .gs-cats a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.gs-cats a.active small, .gs-cats a:hover small { color: rgba(255, 255, 255, .8); }
.scard { padding: 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.scard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.scard-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.scard-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.scard-grant, .scard-equity { background: #ecfdf5; color: #059669; } .scard-loan, .scard-credit_guarantee { background: #eff6ff; color: #2563eb; }
.scard-subsidy, .scard-tax { background: #fff7ed; color: #ea580c; } .scard-incubation, .scard-skilling { background: #f5f3ff; color: #7c3aed; } .scard-market { background: #fdf2f8; color: #db2777; }
.scard h3 { font-size: 1.05rem; margin: 2px 0 0; line-height: 1.35; }
.scard h3 a { color: var(--ink); }
.scard-min { display: flex; align-items: center; gap: 5px; }
.scard p { margin: 0; flex: 1; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-1 { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.scard-benefit { display: flex; align-items: center; gap: 8px; color: var(--brand); min-width: 0; }
.scard-benefit span { display: grid; line-height: 1.2; }
.scard-benefit small { color: var(--muted); font-size: 11px; }
.scard-benefit b { color: var(--ink); font-size: 14px; }
.scard-why { font-size: 12.5px; color: #047857; background: #ecfdf5; border-radius: 8px; padding: 6px 10px; }
.gs-detail-hero { background: linear-gradient(180deg, var(--brand-50), #fff); padding: 26px 0 22px; border-bottom: 1px solid var(--line); }
.gs-dh { display: flex; gap: 18px; align-items: flex-start; margin-top: 8px; }
.gs-dh-ic { width: 70px; height: 70px; border-radius: 18px; }
.gs-dh h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 8px 0 4px; }
.gs-min { color: var(--muted); display: flex; align-items: center; gap: 6px; margin: 0 0 6px; }
.gs-dh .lead { margin: 0; max-width: 820px; }
.gs-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 20px; }
.gs-facts > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; }
.gs-facts small { color: var(--muted); font-size: 12px; }
.gs-facts b { display: flex; align-items: center; gap: 6px; font-size: 14.5px; }
.gs-h { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; margin: 0 0 14px; }
.gs-h .ico { color: var(--brand); }
.gs-meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.gs-meta-grid small { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.gs-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.gs-benefits > div { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--bg-soft, #f8fafc); }
.gs-benefits span { color: #059669; flex-shrink: 0; margin-top: 2px; }
.gs-benefits p { margin: 0; font-size: 14.5px; }
.gs-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: s; }
.gs-steps li { display: flex; gap: 14px; position: relative; padding-bottom: 16px; }
.gs-steps li:not(:last-child)::before { content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--brand-100); }
.gs-steps span { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; position: relative; }
.gs-steps p { margin: 5px 0 0; }
.gs-docs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.gs-docs li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.gs-docs .ico { color: var(--brand); flex-shrink: 0; }
.gs-big { font-size: 1.45rem; font-weight: 800; color: var(--ink); margin: 4px 0 12px; line-height: 1.25; }
@media (min-width: 980px) { .gs-aside { position: sticky; top: 90px; align-self: start; } }
.gs-finder-wrap { display: grid; gap: 22px; align-items: start; }
@media (min-width: 1000px) { .gs-finder-wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.gs-quiz { display: grid; gap: 18px; }
.gs-q { display: flex; gap: 14px; }
.gs-q > div { flex: 1; min-width: 0; }
.gs-qn { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-weight: 800; }
.gs-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gs-opts .opt input { position: absolute; opacity: 0; pointer-events: none; }
.gs-opts .opt span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 500; transition: .15s; background: #fff; }
.gs-opts .opt input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }
.gs-opts .opt input:focus-visible + span { box-shadow: 0 0 0 3px var(--brand-100); }
.gs-finder-intro { display: grid; gap: 10px; }
.gs-finder-intro h2 { margin: 0; }

/* v1.4: shortcodes inside rich text */
.prose .sc-section .section, .prose .page-faqs, .prose .tst-section { padding: 24px 0; background: transparent; }
.prose .sc-section .container, .prose .page-faqs .container, .prose .tst-section .container { padding: 0; max-width: none; }
.prose .sc-block { margin: 20px 0; }
.prose .sc-block h3, .prose .sc-block h4 { margin: 0; font-size: 1.02rem; }
.prose .sc-block p { margin: 0; }
.prose .sc-block img { margin: 0; border-radius: inherit; }
.prose .sc-block a { text-decoration: none; }
.sc-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 24px 0; padding: 24px 26px; border-radius: 18px; color: #fff; background: radial-gradient(500px 200px at 90% 0, rgba(249, 115, 22, .35), transparent 60%), linear-gradient(135deg, #0b1f4d, #1d4ed8); }
.sc-cta b { font-size: 1.3rem; display: block; }
.sc-cta p { margin: 4px 0 0; color: rgba(255, 255, 255, .85); }
.prose .sc-cta a { color: #fff; }
.sc-news { display: grid; gap: 12px; margin: 22px 0; background: linear-gradient(135deg, var(--brand-50), #fff); }
@media (min-width: 760px) { .sc-news { grid-template-columns: 1fr 1.2fr; align-items: center; } }
.sc-video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; margin: 20px 0; background: #000; }
.sc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sc-blk { display: grid; gap: 8px; }
.sc-contact { display: grid; gap: 10px; margin: 18px 0; }
.sc-contact > div { display: flex; align-items: center; gap: 10px; }
.sc-contact .ico { color: var(--brand); flex-shrink: 0; }

/* v1.4: CMS page templates */
.lp-hero { position: relative; color: #fff; padding: 64px 0 70px; background: radial-gradient(800px 300px at 80% 0, rgba(249, 115, 22, .3), transparent 60%), linear-gradient(135deg, #0b1f4d, #1d4ed8); overflow: hidden; }
.lp-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.lp-hero-in { position: relative; max-width: 860px; }
.lp-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 6px 0 12px; line-height: 1.12; }
.lp-hero .lead { color: rgba(255, 255, 255, .86); font-size: 1.15rem; }
.lp-hero .breadcrumbs a, .lp-hero .breadcrumbs span { color: rgba(255, 255, 255, .75); }
.lp-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); background: transparent; }
.lp-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.gov-hero { position: relative; background: linear-gradient(180deg, #fff7ed 0%, #fff 55%, #f0fdf4 100%); border-bottom: 1px solid var(--line); padding: 30px 0 30px; }
.gov-flag { position: absolute; inset: 0 0 auto 0; display: grid; grid-template-columns: repeat(3, 1fr); height: 5px; }
.gov-flag i:nth-child(1) { background: #ff9933; } .gov-flag i:nth-child(2) { background: #fff; } .gov-flag i:nth-child(3) { background: #138808; }
.gov-hero-in { display: grid; gap: 24px; align-items: center; }
@media (min-width: 980px) { .gov-hero-in { grid-template-columns: minmax(0, 1fr) 360px; } }
.gov-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 4px 0 10px; }
.gov-hero .eyebrow { color: #c2410c; }
.gov-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--muted); }
.gov-meta span, .gov-meta button { display: inline-flex; align-items: center; gap: 6px; }
.gov-hero-img { width: 100%; border-radius: 18px; box-shadow: 0 20px 40px rgba(15, 23, 42, .12); aspect-ratio: 4 / 3; object-fit: cover; }
.gov-toc { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--brand-50); }
.gov-toc b { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; margin-right: 6px; }
.gov-toc a { font-size: 13px; padding: 5px 10px; border-radius: 99px; background: #fff; color: var(--ink-2); font-weight: 500; }
.gov-prose > h2 { padding-left: 12px; border-left: 4px solid #ff9933; }
.gov-prose table { width: 100%; }
.gov-link { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.related-jobs { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.related-jobs h2 { display: flex; align-items: center; gap: 8px; font-size: 1.35rem; margin: 0; }
.related-jobs h2 .ico { color: var(--brand); }

.gov-link > span:last-child { min-width: 0; display: grid; }
.prose .sc-section .psec-head h2, .prose .sc-section h2 { border: 0; padding-left: 0; }
.prose .sc-section .section { padding: 18px 0; }
.rte-modes { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; flex-wrap: wrap; }
.rte-modes button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.rte-modes button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.rte-note { font-size: 12px; color: #b45309; margin-left: 6px; }
textarea.rte-source { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; min-height: 340px; line-height: 1.55; }

/* v1.4: DPDP request page */
.dr-hero { background: linear-gradient(135deg, #ecfdf5, #eff6ff); padding: 30px 0 28px; border-bottom: 1px solid var(--line); }
.dr-hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 4px 0 8px; }
.dr-hero .eyebrow { color: #047857; }
.dr-rights { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.dr-right input { position: absolute; opacity: 0; pointer-events: none; }
.dr-right > span { display: grid; gap: 4px; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; height: 100%; transition: .15s; }
.dr-right > span:hover { border-color: var(--brand-100); transform: translateY(-1px); }
.dr-right input:checked + span { border-color: var(--brand); background: var(--brand-50); }
.dr-right small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.dr-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-50); color: var(--brand); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* v1.4: billing periods */
.cycle-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.cycle-pick a { display: grid; gap: 2px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink); position: relative; }
.cycle-pick a.on { border-color: var(--brand); background: var(--brand-50); }
.cycle-pick a span { font-size: 14px; color: var(--muted); }
.cycle-pick em { font-style: normal; font-size: 11px; font-weight: 700; color: #047857; }
.cycle-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,.05)); flex-wrap: wrap; justify-content: center; }
.cycle-tabs button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.cycle-tabs button.on { background: var(--brand); color: #fff; }
.cycle-tabs button em { font-style: normal; font-size: 11px; background: #dcfce7; color: #047857; padding: 1px 6px; border-radius: 99px; }
.cycle-tabs button.on em { background: rgba(255,255,255,.2); color: #fff; }
.plan .price-alt { font-size: 12.5px; color: var(--muted); margin-top: -6px; min-height: 18px; }
.plan [data-cycle-price][hidden] { display: none; }

/* v1.4: reviews */
.rvw { display: grid; gap: 14px; }
.rv-top { display: grid; gap: 20px; align-items: center; }
@media (min-width: 760px) { .rv-top { grid-template-columns: auto minmax(0, 1fr) auto; } .rv-aspects { grid-column: 1 / -1; } }
.rv-score { display: flex; align-items: center; gap: 16px; }
.rv-big { font-size: 3.2rem; font-weight: 800; line-height: 1; font-family: var(--font-head); color: var(--ink); }
.rv-rec { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: #047857; background: #ecfdf5; border-radius: 99px; padding: 3px 10px; }
.rv-dist { display: grid; gap: 4px; min-width: 0; }
.rv-bar { display: grid; grid-template-columns: 44px minmax(0, 1fr) 34px; align-items: center; gap: 10px; background: none; border: 0; padding: 3px 4px; border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--ink-2); text-align: left; }
.rv-bar:hover:not(:disabled) { background: var(--bg-soft, #f8fafc); }
.rv-bar:disabled { cursor: default; opacity: .6; }
.rv-bar span { display: inline-flex; align-items: center; gap: 3px; font-weight: 600; }
.rv-bar span .ico { color: #f59e0b; fill: #f59e0b; }
.rv-bar i, .rv-aspects i { display: block; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.rv-bar i b, .rv-aspects i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.rv-bar small { color: var(--muted); text-align: right; }
.rv-aspects { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 20px; padding-top: 14px; border-top: 1px dashed var(--line); }
.rv-aspects small { color: var(--muted); font-size: 12px; }
.rv-aspects span { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; font-size: 13px; }
.rv-aspects i b { background: linear-gradient(90deg, var(--brand), #6366f1); }
.rv-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.rv-chips button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.rv-chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.rv-chips small { opacity: .7; }
.rv-sort select { min-height: 36px; width: auto; font-size: 13px; }
.rv-list { display: grid; gap: 12px; }
.rv-item { padding: 18px; display: grid; gap: 10px; }
.rv-item header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.rv-av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(135deg, hsl(var(--h, 220) 65% 52%), hsl(calc(var(--h, 220) + 40) 70% 45%)); }
.rv-when { display: grid; justify-items: end; gap: 2px; }
.rv-title { font-size: 1rem; margin: 0; }
.rv-body { margin: 0; color: var(--ink-2); line-height: 1.65; }
.rv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-tags .chip { font-size: 12px; padding: 4px 10px; }
.chip-green { background: #ecfdf5 !important; color: #047857 !important; }
.rv-reply { margin-left: 16px; padding: 12px 14px; border-left: 3px solid var(--brand); background: var(--brand-50); border-radius: 0 10px 10px 0; font-size: 14px; }
.rv-reply b { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); }
.rv-replyform summary { cursor: pointer; color: var(--brand); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.rv-item footer { display: flex; gap: 10px; }
.rv-help { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 5px 12px; font-size: 13px; cursor: pointer; color: var(--muted); }
.rv-help.on { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.rv-empty { display: grid; justify-items: center; text-align: center; gap: 6px; color: var(--muted); }
.rv-empty .ico { color: #f59e0b; }
.rv-write h3 { font-size: 1.15rem; }
.rv-asp-input { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.rv-asp-input small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.rating-input.sm label svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .rv-item header { grid-template-columns: auto minmax(0, 1fr); } .rv-when { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; justify-content: start; gap: 8px; align-items: center; } .rv-reply { margin-left: 0; } }

/* v1.4: business profile — highlights, services, amenities, hours, social links */
.biz-hl { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.biz-hl-item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.biz-hl-item b { display: block; font-size: 14.5px; line-height: 1.3; }
.biz-hl-item p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.biz-hl-ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.hl-0 { background: #eff6ff; color: #2563eb; } .hl-1 { background: #ecfdf5; color: #059669; } .hl-2 { background: #fff7ed; color: #ea580c; } .hl-3 { background: #f5f3ff; color: #7c3aed; }
.svc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 12px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg-soft, #f8fafc)); transition: .15s; min-width: 0; }
.svc-card:hover { border-color: var(--brand-100); box-shadow: 0 6px 18px rgba(29, 78, 216, .08); transform: translateY(-1px); }
.svc-n { font-size: 11px; font-weight: 800; color: var(--brand); letter-spacing: .06em; }
.svc-card b { font-size: 14.5px; line-height: 1.35; }
.svc-cta { margin-top: auto; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.amen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.amen { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--bg-soft, #f8fafc); font-size: 14px; }
.amen span { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }
.hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours th, .hours td { padding: 8px 4px; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 500; }
.hours th { color: var(--ink-2); }
.hours td { text-align: right; color: var(--ink); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.today th, .hours tr.today td { color: var(--brand); font-weight: 700; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-links .soc { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: #fff; transition: .15s; }
.social-links .soc:hover { border-color: currentColor; transform: translateY(-1px); }
.soc-linkedin { color: #0a66c2 !important; } .soc-facebook { color: #1877f2 !important; } .soc-instagram { color: #c13584 !important; } .soc-twitter { color: #0f172a !important; }
.soc-youtube { color: #ff0000 !important; } .soc-whatsapp { color: #128c7e !important; } .soc-github { color: #24292f !important; } .soc-telegram { color: #229ed9 !important; }
.rel-biz { align-items: stretch; }
@media (max-width: 560px) { .rel-biz { grid-template-columns: 1fr; } }

/* v1.4: tall hero ads + in-list ads */
.ad-hero_left .ad-slide img, .ad-hero_right .ad-slide img { aspect-ratio: 1 / 2; max-height: none; object-fit: cover; }
.ad-hero_left .ad-slider, .ad-hero_right .ad-slider { margin: 0; }
.ad-in_list { grid-column: 1 / -1; }

/* ==========================================================================
   v1.4: top bar socials, ticker, theme switch, footer, dark theme
   ========================================================================== */
.tb-soc { display: inline-flex; gap: 10px; padding-left: 12px; margin-left: 4px; border-left: 1px solid rgba(255, 255, 255, .2); }
.tb-soc a { opacity: .85; } .tb-soc a:hover { opacity: 1; }
.theme-toggle .t-sun { display: none; }
[data-theme="dark"] .theme-toggle .t-sun { display: inline-flex; } [data-theme="dark"] .theme-toggle .t-moon { display: none; }
.logo-img { height: 40px; width: auto; }
.drawer-grp { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 12px 12px 4px; }
/* ticker */
.ticker { background: linear-gradient(90deg, #0b1f4d, #12317a); color: #fff; font-size: 13px; overflow: hidden; }
.ticker-in { display: flex; align-items: center; gap: 12px; height: 38px; }
.ticker-label { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; background: var(--accent); color: #fff; font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .04em; }
.ticker-track { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: inline-flex; gap: 34px; white-space: nowrap; animation: tick 60s linear infinite; padding-left: 10px; }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-move a { color: rgba(255, 255, 255, .92); display: inline-flex; align-items: center; gap: 8px; }
.ticker-move a:hover { color: #fde68a; }
.ticker-move a::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #fbbf24; }
.ticker-move em { font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; background: rgba(255, 255, 255, .14); padding: 1px 7px; border-radius: 99px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; } .ticker-track { overflow-x: auto; } }
/* footer */
.footer-grid2 { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid2 { grid-template-columns: 1.6fr repeat(4, 1fr) 1.5fr; } }
.footer-brand p { color: #94a3b8; font-size: 14px; max-width: 340px; margin: 12px 0; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; font-size: 14px; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; color: #cbd5e1; }
.footer-contact a { color: #cbd5e1; } .footer-contact .ico { color: #64748b; margin-top: 3px; flex-shrink: 0; }
.footer-news p { color: #94a3b8; }
.footer-news .nl-form input[type=email] { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #fff; }
.footer-news .nl-note, .footer-news .nl-lists { color: #94a3b8; }
.footer-seo { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-seo h4 { margin-bottom: 10px; }
.footer-seo div { display: flex; flex-wrap: wrap; gap: 6px 4px; }
.footer-seo a { color: #94a3b8; font-size: 12.5px; padding: 3px 10px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 99px; }
.footer-seo a:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.footer-disclaimer { color: #64748b; font-size: 12px; margin: 20px 0 0; line-height: 1.6; }
.footer-bottom { flex-wrap: wrap; gap: 12px; align-items: center; }
.footer-mini a { color: #94a3b8; }
.site-footer .logo span, .site-footer .logo small { color: #fff; }

/* dark theme */
[data-theme="dark"] {
  --ink: #e2e8f0; --ink-2: #cbd5e1; --muted: #94a3b8; --line: #1f2a3d; --line-2: #162032; --bg: #0b1220; --bg-soft: #0f1829;
  --brand-50: #13213f; --brand-100: #1e3366; --accent-50: #2a1a0e; --green-50: #0d2a1c; --amber-50: #2a210c; --red-50: #2c1215; --violet-50: #1f1638;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 4px 16px rgba(0, 0, 0, .35); --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
[data-theme="dark"] .card, [data-theme="dark"] .site-header, [data-theme="dark"] .nav-dd-menu, [data-theme="dark"] .drawer-panel, [data-theme="dark"] .modal-box, [data-theme="dark"] .fcard,
[data-theme="dark"] .svc-card, [data-theme="dark"] .biz-hl-item, [data-theme="dark"] .rv-help, [data-theme="dark"] .rv-chips button, [data-theme="dark"] .gs-cats a, [data-theme="dark"] .gs-facts > div,
[data-theme="dark"] .gs-opts .opt span, [data-theme="dark"] .dr-right > span, [data-theme="dark"] .cycle-tabs, [data-theme="dark"] .social-links .soc, [data-theme="dark"] .amen span, [data-theme="dark"] .gov-toc a,
[data-theme="dark"] .bottom-nav, [data-theme="dark"] .sec-nav, [data-theme="dark"] .toast, [data-theme="dark"] .cookie-bar, [data-theme="dark"] .hp-card, [data-theme="dark"] .hm-side-card { background: #111a2b; color: var(--ink); border-color: var(--line); }
[data-theme="dark"] .site-header { background: rgba(11, 18, 32, .92); }
[data-theme="dark"] input, [data-theme="dark"] select, [data-theme="dark"] textarea { background: #0f1829; color: var(--ink); border-color: #263449; }
[data-theme="dark"] input::placeholder, [data-theme="dark"] textarea::placeholder { color: #64748b; }
[data-theme="dark"] .btn-outline { background: transparent; color: var(--ink); border-color: #334155; }
[data-theme="dark"] .btn-ghost { color: var(--ink); }
[data-theme="dark"] .btn-light { background: #1e2a44; color: #93c5fd; }
[data-theme="dark"] .section-soft, [data-theme="dark"] .bg-soft, [data-theme="dark"] .page-hero, [data-theme="dark"] .gs-detail-hero, [data-theme="dark"] .dr-hero, [data-theme="dark"] .gov-hero, [data-theme="dark"] .legal-hero { background: #0f1829; }
[data-theme="dark"] .badge-gray, [data-theme="dark"] .chip { background: #1e293b; color: #cbd5e1; }
[data-theme="dark"] .table th { background: #0f1829; color: var(--muted); }
[data-theme="dark"] .table td { border-color: var(--line); }
[data-theme="dark"] .prose, [data-theme="dark"] .prose p, [data-theme="dark"] .prose li { color: var(--ink-2); }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4 { color: #f1f5f9; }
[data-theme="dark"] .faq details { background: #111a2b; border-color: var(--line); }
[data-theme="dark"] .disclaimer, [data-theme="dark"] .answer-box, [data-theme="dark"] .in-short { background: #13213f; color: var(--ink-2); border-color: #1e3366; }
[data-theme="dark"] .alert { filter: brightness(.9); }
[data-theme="dark"] img.lcard-logo, [data-theme="dark"] .profile-logo { background: #fff; }
[data-theme="dark"] .rv-reply { background: #13213f; }
[data-theme="dark"] .amen, [data-theme="dark"] .gs-benefits > div { background: #0f1829; }
[data-theme="dark"] .scard-why { background: #0d2a1c; color: #6ee7b7; }

/* ==========================================================================
   v1.4: community homepage
   ========================================================================== */
.btn-dark { background: #0f172a; color: #fff; } .btn-dark:hover { background: #1e293b; color: #fff; }
.hm-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: var(--brand-50); padding: 5px 12px; border-radius: 99px; margin-bottom: 10px; }
.hm-eyebrow.light { background: rgba(255, 255, 255, .14); color: #fff; }
.hm-head.center { justify-content: center; text-align: center; }
.hm-head.center p { margin-inline: auto; }
.hm-head.light h2, .hm-head.light p { color: #fff; }
.hm-head.light .hm-eyebrow { background: rgba(255, 255, 255, .14); color: #fff; }
.hm-band { padding: 64px 0; color: #fff; background: radial-gradient(900px 340px at 85% -10%, rgba(255, 255, 255, .12), transparent 60%), linear-gradient(135deg, #0b1f4d, #1d4ed8); }
.hm-band h2, .hm-band h3 { color: #fff; }
.hm-band p { color: rgba(255, 255, 255, .84); }
/* hero */
.hm-hero { padding: 26px 0 40px; background: radial-gradient(700px 320px at 50% 0, var(--brand-50), transparent 70%), linear-gradient(180deg, #fff, var(--bg-soft)); }
.hm-hero-grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 1100px) { .hm-hero-grid { grid-template-columns: 250px minmax(0, 1fr) 250px; } }
.hm-center { text-align: center; padding: 20px 6px 0; }
.hm-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 99px; box-shadow: 0 8px 20px rgba(29, 78, 216, .25); }
.hm-center h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.1; margin: 16px auto 12px; max-width: 760px; letter-spacing: -.02em; }
.hm-center .lead { max-width: 640px; margin: 0 auto; color: var(--muted); }
.hm-stats { display: flex; justify-content: center; gap: 10px; margin: 24px 0 22px; flex-wrap: wrap; }
.hm-stats > div { min-width: 132px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); display: grid; }
.hm-stats b { font-size: 1.7rem; font-family: var(--font-head); color: var(--brand); line-height: 1.1; }
.hm-stats span { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.hm-cta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hm-joined { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.hm-joined b { color: var(--ink); }
.hm-avs { display: inline-flex; }
.hm-avs img, .hm-avs i { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; margin-left: -9px; object-fit: cover; display: inline-grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, hsl(var(--h, 220) 65% 52%), hsl(calc(var(--h, 220) + 40) 70% 45%)); }
.hm-avs > :first-child { margin-left: 0; }
.hm-search { display: flex; align-items: center; gap: 8px; max-width: 560px; margin: 22px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 14px; box-shadow: var(--shadow); color: var(--muted); }
.hm-search input { border: 0; box-shadow: none; padding: 0; min-height: 44px; min-width: 0; flex: 1; background: transparent; }
.hm-side { display: grid; gap: 12px; align-content: start; }
@media (max-width: 1099px) { .hm-side { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } .hm-side .ad-slot { display: none; } .hm-left { order: 2; } .hm-right { order: 3; } }
.hm-side .ad-slider { margin: 0; border-radius: 16px; }
.hm-spot, .hm-quick { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; color: var(--ink); box-shadow: var(--shadow-sm); transition: .15s; }
.hm-spot:hover, .hm-quick:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.hm-spot img, .hm-spot-ph { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--brand-50); display: grid; place-items: center; font-weight: 800; color: var(--brand); }
.hm-spot > span, .hm-quick > span:nth-child(2) { display: grid; min-width: 0; flex: 1; line-height: 1.3; }
.hm-spot small { color: var(--accent); font-weight: 700; font-size: 11px; display: inline-flex; gap: 4px; align-items: center; text-transform: uppercase; letter-spacing: .05em; }
.hm-spot b { font-size: 14px; display: inline-flex; gap: 4px; align-items: center; }
.hm-spot b .ico { color: var(--green); }
.hm-spot em { font-style: normal; font-size: 12px; color: var(--muted); }
.hm-quick b { font-size: 14px; } .hm-quick small { font-size: 12px; color: var(--muted); }
.hm-quick > .ico { color: var(--muted); }
.hq-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.hq-ic.green { background: #ecfdf5; color: #059669; } .hq-ic.blue { background: #eff6ff; color: #2563eb; } .hq-ic.orange { background: #fff7ed; color: #ea580c; }
/* why */
.hm-why-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hm-why-grid { grid-template-columns: 1fr 1fr; } }
.hm-why h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; }
.hm-feats { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 16px; }
.hm-feats li { display: flex; gap: 14px; }
.hm-feats li > span { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.hm-feats li:nth-child(2) > span { background: #ecfdf5; color: #059669; } .hm-feats li:nth-child(3) > span { background: #fff7ed; color: #ea580c; } .hm-feats li:nth-child(4) > span { background: #f5f3ff; color: #7c3aed; }
.hm-feats b { display: block; } .hm-feats p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.hm-follow { display: flex; gap: 8px; flex-wrap: wrap; }
.hm-follow a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; color: #fff; font-weight: 600; font-size: 13.5px; }
.hm-follow a span { display: grid; line-height: 1.15; } .hm-follow small { font-size: 10.5px; opacity: .85; font-weight: 500; }
.hf-youtube { background: #dc2626; } .hf-linkedin { background: #0a66c2; } .hf-instagram { background: linear-gradient(45deg, #f59e0b, #db2777, #7c3aed); }
.hm-collage { position: relative; min-height: 420px; }
.hm-collage img { position: absolute; border-radius: 22px; object-fit: cover; box-shadow: var(--shadow-lg); }
.hm-collage .c1 { width: 78%; aspect-ratio: 4 / 3; top: 0; left: 0; }
.hm-collage .c2 { width: 46%; aspect-ratio: 1; bottom: 0; right: 0; border: 6px solid #fff; }
.hm-float { position: absolute; display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: 13px; max-width: 240px; color: var(--ink); }
.hm-float .ico { color: var(--brand); flex-shrink: 0; }
.hm-float span { display: grid; line-height: 1.3; } .hm-float small { color: var(--muted); font-size: 11.5px; }
.hm-float.f1 { right: 0; top: 18%; } .hm-float.f2 { left: 6%; bottom: 6%; } .hm-float.f3 { left: -10px; bottom: 24px; }
@media (max-width: 600px) { .hm-collage { min-height: 300px; } .hm-float.f1 { top: 4%; } }
/* resources band */
.hm-res { padding: 48px 0; }
.hm-res-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.hm-res-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 22px; display: grid; gap: 8px; align-content: start; box-shadow: 0 20px 40px -18px rgba(2, 6, 23, .5); }
.hm-res-card h3 { color: var(--ink); font-size: 1.05rem; margin: 4px 0 0; }
.hm-res-card p { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.hm-res-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
/* directory */
.hm-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hm-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink-2); font-weight: 600; font-size: 14px; box-shadow: var(--shadow-sm); transition: .15s; }
.hm-chips a span { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.hm-chips a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
/* stories band */
.hm-stories { padding: 60px 0; }
.hm-stories .card { color: var(--ink); }
.hm-stories .card h3 a, .hm-stories .card h3 { color: var(--ink); }
.hm-stories .card p { color: var(--muted); }
/* case studies */
.hm-case { padding: 20px; display: flex; flex-direction: column; gap: 10px; border-top: 4px solid var(--brand); }
.hm-case:nth-child(2) { border-top-color: var(--accent); } .hm-case:nth-child(3) { border-top-color: #059669; }
.hm-case-tag { align-self: flex-start; display: inline-flex; gap: 5px; align-items: center; font-size: 11.5px; font-weight: 700; color: var(--brand); background: var(--brand-50); padding: 4px 10px; border-radius: 99px; }
.hm-case h3 { font-size: 1.05rem; margin: 0; line-height: 1.35; } .hm-case h3 a { color: var(--ink); }
.hm-case p { margin: 0; flex: 1; }
.hm-case-link { font-weight: 600; font-size: 14px; display: inline-flex; gap: 4px; align-items: center; }
/* schemes band */
.hm-gov-grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 980px) { .hm-gov-grid { grid-template-columns: 1fr 1.25fr; } }
.hm-gov h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.hm-gov-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.hm-gov-chips a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: .15s; }
.hm-gov-chips a:hover { background: #fff; color: var(--ink); }
.hm-gov-chips a span { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.hm-gov-chips a:hover span { background: var(--brand-50); color: var(--brand); }
.hm-gov-chips b { font-size: 14px; } .hm-gov-chips small { font-size: 11.5px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-ghost-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); background: transparent; } .hm-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
/* events list */
.hm-events { display: grid; gap: 12px; }
.hm-ev { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px; color: var(--ink); }
.hm-ev:hover { color: var(--ink); }
.hm-ev-date { width: 64px; text-align: center; border-radius: 12px; background: var(--brand); color: #fff; padding: 8px 0; display: grid; line-height: 1.1; }
.hm-ev-date b { font-size: 1.5rem; } .hm-ev-date small { font-size: 11px; text-transform: uppercase; opacity: .9; }
.hm-ev img { width: 120px; height: 76px; object-fit: cover; border-radius: 10px; }
.hm-ev-body { display: grid; gap: 4px; min-width: 0; } .hm-ev-body b { font-size: 1.02rem; line-height: 1.35; }
@media (max-width: 700px) { .hm-ev { grid-template-columns: auto minmax(0, 1fr); } .hm-ev img, .hm-ev-cta { display: none; } }
/* magazine band */
.hm-mag { background: radial-gradient(800px 300px at 90% 10%, rgba(249, 115, 22, .25), transparent 60%), linear-gradient(135deg, #0f172a, #1e1b4b); }
.hm-mag-grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 980px) { .hm-mag-grid { grid-template-columns: 1fr 1.1fr; } }
.hm-mag h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.hm-mag-form { max-width: 460px; margin: 18px 0 12px; } .hm-mag-form .nl-note, .hm-mag-form .nl-chip span { color: #cbd5e1; }
.hm-mag-form input[type=email] { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.hm-link-light { color: #fdba74; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.hm-covers { display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 300px; }
.hm-cover { width: 34%; max-width: 210px; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); background: #1e293b; aspect-ratio: 3 / 4; transition: .25s; }
.hm-cover img { width: 100%; height: 100%; object-fit: cover; }
.hm-cover span { display: grid; place-items: center; height: 100%; padding: 12px; text-align: center; font-weight: 700; color: #fff; }
.hm-cover.cv0 { z-index: 3; transform: scale(1.08); } .hm-cover.cv1 { transform: translateX(16px) rotate(-6deg); order: -1; } .hm-cover.cv2 { transform: translateX(-16px) rotate(6deg); }
.hm-cover:hover { transform: translateY(-8px) scale(1.1); z-index: 4; }
/* faq + blogs + CTA */
.hm-faq-grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 980px) { .hm-faq-grid { grid-template-columns: 1.3fr 1fr; } }
.hm-faq-img { position: relative; }
.hm-faq-img img { width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg); aspect-ratio: 7 / 8; object-fit: cover; }
@media (max-width: 979px) { .hm-faq-img { display: none; } }
.hm-blogs { align-items: stretch; }
@media (max-width: 560px) { .hm-blogs { grid-template-columns: 1fr; } }
.hm-cta-band { display: grid; gap: 22px; align-items: center; padding: 36px; border-radius: 24px; color: #fff; background: radial-gradient(600px 240px at 0 0, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(120deg, #1d4ed8, #7c3aed); }
@media (min-width: 900px) { .hm-cta-band { grid-template-columns: 1fr 1fr; padding: 44px 48px; } }
.hm-cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 6px; }
.hm-cta-band p { color: rgba(255, 255, 255, .85); margin: 0; }
.hm-cta-band .nl-note, .hm-cta-band .nl-chip span { color: rgba(255, 255, 255, .85); }
[data-theme="dark"] .hm-hero { background: radial-gradient(700px 320px at 50% 0, #13213f, transparent 70%), var(--bg); }
[data-theme="dark"] .hm-stats > div, [data-theme="dark"] .hm-search, [data-theme="dark"] .hm-spot, [data-theme="dark"] .hm-quick, [data-theme="dark"] .hm-chips a, [data-theme="dark"] .hm-float, [data-theme="dark"] .hm-res-card { background: #111a2b; border-color: var(--line); color: var(--ink); }
[data-theme="dark"] .hm-res-card h3 { color: var(--ink); }
[data-theme="dark"] .hm-collage .c2 { border-color: #0b1220; }
.hm-ev-body small { display: flex; align-items: center; gap: 5px; }
/* v1.4: header fits longer admin-managed menus */
.main-nav > a, .main-nav .nav-dd > button { white-space: nowrap; }
@media (min-width: 1024px) {
  .menu-many .main-nav { margin-left: 8px; gap: 0; }
  .menu-many .main-nav > a, .menu-many .main-nav .nav-dd > button { padding: 8px 8px; font-size: 14px; }
  .menu-many .logo small { display: none; }
}
@media (max-width: 1499px) { .menu-many .header-search { display: none; } }
@media (min-width: 1024px) and (max-width: 1239px) { .menu-many .main-nav > a, .menu-many .main-nav .nav-dd > button { padding: 6px 6px; font-size: 13.5px; } .menu-many .header-actions .btn-ghost.hide-mobile { display: none; } }
.hm-ev .ev-phase { position: static; transform: none; box-shadow: none; }
.hm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 540px; margin-inline: auto; }
.hm-stats > div { min-width: 0; }
@media (max-width: 480px) { .hm-stats b { font-size: 1.35rem; } .hm-stats > div { padding: 10px 8px; } .hm-stats span { font-size: 11.5px; line-height: 1.3; } }
.hm-cta-band .nl-chip span, .hm-mag .nl-chip span, .site-footer .nl-chip span { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .28); }
.hm-cta-band .nl-chip input:checked + span, .hm-mag .nl-chip input:checked + span, .site-footer .nl-chip input:checked + span { background: #fff; color: var(--brand); border-color: #fff; }
.hm-float.f3 { top: 22px; bottom: auto; left: 22px; }
.list-rows > a, .list-rows > div { min-width: 0; }

/* v1.4.1 logos: light / dark / footer variants */
.logo.has-img .logo-dark { display: none; }
[data-theme="dark"] .logo.has-img:not(.logo-on-dark) .logo-light { display: none; } [data-theme="dark"] .logo.has-img:not(.logo-on-dark) .logo-dark { display: block; }
.logo-on-dark .logo-img[data-invert], [data-theme="dark"] .logo-img.logo-dark[data-invert] { filter: brightness(0) invert(1); }
.logo-img.logo-light[data-invert-light] { filter: brightness(0); }
.logo .logo-img { width: auto; max-width: 240px; object-fit: contain; display: block; }
.logo-on-dark, .logo-on-dark:hover { color: #fff; } .logo-on-dark small { color: #94a3b8 !important; }
.site-footer .logo.has-img { display: inline-flex; }
.brand-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bp-cell { border-radius: 12px; padding: 14px 16px 18px; border: 1px solid var(--line); min-height: 96px; display: flex; flex-direction: column; gap: 10px; }
.bp-cell .xs { text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.bp-light { background: #fff; } .bp-light .xs { color: #64748b; } .bp-light .logo { color: #0f172a; }
.bp-dark { background: #0b1220; border-color: #0b1220; } .bp-dark .xs { color: #94a3b8; }
.bp-cell .logo { pointer-events: none; }
@media (max-width: 599px) { .brand-preview { grid-template-columns: 1fr; } }
/* dark theme: surfaces that used --ink as a background (it turns light in dark mode) */
[data-theme="dark"] .topbar { background: #050a14; border-bottom: 1px solid #1e293b; }
[data-theme="dark"] .skip-link, [data-theme="dark"] .toast, [data-theme="dark"] .install-bar { background: #1e293b; color: #f1f5f9; }
[data-theme="dark"] .cat-rail a.active, [data-theme="dark"] .rv-chips button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.hm-ad-mid { padding-top: 8px; padding-bottom: 8px; }
.contact-lock.is-gate { background: linear-gradient(135deg, #fffbeb, #fff7ed); border-color: #fde68a; }
.contact-lock.is-gate > .ico { color: #d97706; }
[data-theme="dark"] .contact-lock.is-gate { background: #2a2210; border-color: #78591c; }

.unlock-note { display: flex; gap: 12px; align-items: center; margin: 20px auto 0; padding: 14px 18px; border-radius: 14px; background: linear-gradient(135deg, #fffbeb, #fff7ed); border: 1px solid #fde68a; color: #92400e; }
.unlock-note b { display: block; color: #78350f; } .unlock-note span { font-size: 14px; }
[data-theme="dark"] .unlock-note { background: #2a2210; border-color: #78591c; color: #fcd34d; } [data-theme="dark"] .unlock-note b { color: #fde68a; }
.plan.rec { overflow: visible; } .plans { padding-top: 12px; }
.media-alt { margin-top: 8px; display: grid; gap: 4px; } .media-alt label { font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.media-alt input { font-size: 13.5px; } .media-alt .hint .ico { color: #16a34a; vertical-align: -2px; }
.sc-image { margin: 1.6em 0; } .sc-image img { border-radius: 12px; width: 100%; } .sc-image figcaption { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 8px; }
.prose picture img, .prose img { border-radius: 10px; }
/* v1.6: wide artwork (banners with text) keeps its shape instead of being cropped */
@media (min-width: 768px) {
  .bcard.wide { align-items: center; }
  .bcard.wide .bcard-img { aspect-ratio: 1200 / 630; min-height: 0; margin: 16px 0 16px 16px; border-radius: 14px; }
}
.hero-visual .hero-img { aspect-ratio: auto; height: auto; }
.ne-img { height: auto; min-height: 0; padding: 14px; background: transparent; }
.ne-img img { aspect-ratio: 1200 / 630; height: auto; border-radius: 14px; }
@media (min-width: 768px) { .next-event { grid-template-columns: 340px 1fr auto; } }
/* sidebar / tall ads carry text — never crop them, whatever the column width */
.ad-slot.ad-sidebar .ad-slide img, .ad-slot.ad-hero_left .ad-slide img, .ad-slot.ad-hero_right .ad-slide img { max-height: none; object-fit: contain; }
@media (max-width: 1099px) { .ad-slot.ad-sidebar { max-width: 420px; margin-left: auto; margin-right: auto; } }
/* ───────── AI chat assistant widget ───────── */
.dchat { --dc-brand: var(--brand); position: fixed; right: 16px; bottom: 80px; z-index: 60; font-size: 14.5px; }
@media (min-width: 768px) { .dchat { right: 24px; bottom: 24px; } }
.dchat-launch { width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--violet, #7c3aed)); box-shadow: 0 10px 28px rgba(29, 78, 216, .38); transition: transform .2s, box-shadow .2s; position: relative; }
.dchat-launch:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 34px rgba(29, 78, 216, .45); }
.dchat-launch:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
.dchat-launch-x { display: none; } .dchat.open .dchat-launch-x { display: grid; } .dchat.open .dchat-launch-ic { display: none; }
.dchat-launch::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(124, 58, 237, .35); animation: dcPulse 2.4s ease-out infinite; }
.dchat.open .dchat-launch::after { display: none; }
@keyframes dcPulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.dchat-tip { position: absolute; right: 70px; bottom: 6px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px 14px 4px 14px; padding: 10px 30px 10px 14px; box-shadow: var(--shadow-lg); white-space: nowrap; display: grid; gap: 1px; animation: fadeIn .4s; }
.dchat-tip b { font-size: 14px; } .dchat-tip span { font-size: 12px; color: var(--muted); }
.dchat-tip-x { position: absolute; top: 6px; right: 6px; border: 0; background: none; color: var(--muted); cursor: pointer; padding: 2px; }
.dchat-panel { position: absolute; right: 0; bottom: 72px; width: 384px; height: min(620px, calc(100vh - 120px)); background: var(--card, #fff); border-radius: 20px; box-shadow: 0 24px 60px rgba(15, 23, 42, .28); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; animation: dcIn .22s ease-out; }
@keyframes dcIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.dchat-head { display: flex; align-items: center; gap: 10px; padding: 14px 12px 14px 16px; color: #fff; background: linear-gradient(135deg, #0b1f5e, var(--brand) 55%, var(--violet, #7c3aed)); }
.dchat-av { position: relative; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); letter-spacing: .02em; flex-shrink: 0; }
.dchat-av i { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; border: 2px solid #1d4ed8; }
.dchat-title { flex: 1; min-width: 0; line-height: 1.25; } .dchat-title b { display: block; font-size: 15.5px; } .dchat-title small { font-size: 12px; opacity: .85; }
.dchat-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; margin-right: 2px; vertical-align: 1px; }
.dchat-hbtn { border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; }
.dchat-hbtn:hover { background: rgba(255, 255, 255, .24); }
.dchat-body { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft, #f8fafc); scroll-behavior: smooth; overscroll-behavior: contain; }
.dchat-msg { display: flex; flex-direction: column; max-width: 88%; }
.dchat-msg.me { align-self: flex-end; align-items: flex-end; } .dchat-msg.bot { align-self: flex-start; }
.dchat-bubble { padding: 10px 13px; border-radius: 16px; line-height: 1.5; word-wrap: break-word; overflow-wrap: anywhere; }
.dchat-msg.me .dchat-bubble { background: var(--brand); color: #fff; border-bottom-right-radius: 5px; white-space: pre-wrap; }
.dchat-msg.bot .dchat-bubble { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.dchat-bubble p { margin: 0 0 4px; } .dchat-bubble p:last-child { margin-bottom: 0; }
.dchat-bubble ul { margin: 4px 0 6px; padding-left: 18px; } .dchat-bubble li { margin: 2px 0; }
.dchat-bubble a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.dchat-src { display: flex; flex-direction: column; gap: 5px; margin-top: 6px; width: 100%; }
.dchat-src a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 11px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 600; transition: .15s; }
.dchat-src a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dchat-src a:hover { border-color: var(--brand); color: var(--brand); }
.dchat-fb { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.dchat-fb button { border: 0; background: none; color: var(--muted); padding: 4px; border-radius: 6px; cursor: pointer; display: grid; place-items: center; }
.dchat-fb button:hover, .dchat-fb button.on { color: var(--brand); background: var(--brand-50, #eff6ff); }
.dchat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dchat-chips button { border: 1px solid var(--brand-100, #dbeafe); background: #fff; color: var(--brand); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; cursor: pointer; text-align: left; transition: .15s; }
.dchat-chips button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.dchat-typing .dchat-bubble { display: flex; gap: 4px; padding: 13px 14px; }
.dchat-typing i { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; animation: dcDot 1.2s infinite; } .dchat-typing i:nth-child(2) { animation-delay: .15s; } .dchat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dcDot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.dchat-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--card, #fff); }
.dchat-form textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font: inherit; line-height: 1.4; max-height: 120px; min-height: 42px; background: var(--bg-soft, #f8fafc); color: var(--ink); }
.dchat-form textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px var(--brand-50, #eff6ff); }
.dchat-send { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.dchat-send:hover { filter: brightness(1.08); }
.dchat-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px 10px; background: var(--card, #fff); font-size: 11px; color: var(--muted); }
.dchat-foot a { color: var(--muted); text-decoration: underline; }
.dchat-human { border: 0; background: none; color: var(--brand); font-weight: 700; font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 0; white-space: nowrap; }
.dchat-lead { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 8px; box-shadow: var(--shadow-sm); }
.dchat-lead b { font-size: 15px; } .dchat-lead p { margin: -4px 0 2px; font-size: 12.5px; color: var(--muted); }
.dchat-lead input:not([type=checkbox]), .dchat-lead textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 14px; background: var(--bg-soft, #f8fafc); color: var(--ink); }
.dchat-lead input:focus, .dchat-lead textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.dchat-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); } .dchat-consent input { margin-top: 2px; }
.dchat-err { color: var(--danger, #dc2626); font-size: 12.5px; margin: 0 !important; }
.dchat-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.dchat-done { display: flex; gap: 8px; align-items: flex-start; color: #15803d; font-weight: 600; font-size: 13.5px; } .dchat-done .ico { flex-shrink: 0; margin-top: 2px; }
/* keep WhatsApp + back-to-top clear of the chat launcher */
body.has-chat .fab-wa { bottom: 150px; } body.has-chat .to-top { bottom: 212px; }
@media (min-width: 768px) { body.has-chat .fab-wa { bottom: 96px; right: 26px; } body.has-chat .to-top { bottom: 160px; right: 30px; } }
body.has-chat .cookie-bar { margin-right: 0; }
@media (max-width: 600px) {
  .dchat-panel { position: fixed; inset: 0; width: auto; height: 100%; height: 100dvh; border-radius: 0; border: 0; bottom: 0; }
  body.dchat-open { overflow: hidden; } body.dchat-open .dchat-launch, body.dchat-open .dchat-tip { display: none; }
  .dchat-tip { right: 66px; }
}
[data-theme="dark"] .dchat-panel { background: #0f172a; border-color: #1e293b; }
[data-theme="dark"] .dchat-body { background: #0b1220; }
[data-theme="dark"] .dchat-msg.bot .dchat-bubble, [data-theme="dark"] .dchat-src a, [data-theme="dark"] .dchat-chips button, [data-theme="dark"] .dchat-lead, [data-theme="dark"] .dchat-tip { background: #111c33; border-color: #1e293b; color: #e2e8f0; }
[data-theme="dark"] .dchat-chips button { color: #93c5fd; }
[data-theme="dark"] .dchat-form, [data-theme="dark"] .dchat-foot { background: #0f172a; border-color: #1e293b; }
[data-theme="dark"] .dchat-form textarea, [data-theme="dark"] .dchat-lead input:not([type=checkbox]), [data-theme="dark"] .dchat-lead textarea { background: #0b1220; border-color: #1e293b; color: #e2e8f0; }
@media (prefers-reduced-motion: reduce) { .dchat-launch::after, .dchat-panel, .dchat-typing i { animation: none; } }
@media print { .dchat { display: none !important; } }
.h5 { font-size: 1.12rem; line-height: 1.3; } .h6 { font-size: 1rem; line-height: 1.3; } .h5 .ico, .h6 .ico { display: inline-block; vertical-align: -2px; margin-right: 4px; }
[data-theme="dark"] .to-top { background: #1e293b; border-color: #334155; color: #e2e8f0; }
