/* ==========================================================================
   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; }
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 > 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 > 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; } }
