:root {
  --ink: #16221c;
  --muted: #66756d;
  --paper: #f5f3ed;
  --white: #ffffff;
  --green-950: #0b2d23;
  --green-900: #123b2e;
  --green-800: #1e4d3d;
  --green-700: #2c6350;
  --green-100: #e7efe9;
  --gold-700: #9d6c20;
  --gold-500: #c99b54;
  --gold-200: #ead8b5;
  --red: #a34a3e;
  --orange: #c9782d;
  --blue: #3f6f8d;
  --line: #dfe5df;
  --soft: #eef2ed;
  --shadow: 0 20px 60px rgba(21, 42, 32, .12);
  --shadow-sm: 0 8px 24px rgba(21, 42, 32, .08);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.app-body { background: #f2f5f1; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 800; color: var(--gold-700); }
.section { padding: 92px 0; }
.section.tight { padding: 60px 0; }
.section.alt { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 34px; }
.section-head h2, .page-hero h1, .hero-copy h1 { font-family: Georgia, "Times New Roman", serif; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; margin: 6px 0 0; font-weight: 500; letter-spacing: -.02em; }
.section-head p { max-width: 640px; color: var(--muted); margin: 0; }

.btn { border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 750; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-900); color: #fff; box-shadow: 0 8px 20px rgba(18,59,46,.2); }
.btn-primary:hover { background: var(--green-800); }
.btn-gold { background: var(--gold-500); color: #1f281f; }
.btn-outline { background: transparent; color: var(--green-900); border: 1px solid rgba(18,59,46,.25); }
.btn-soft { background: var(--soft); color: var(--green-900); }
.btn-danger { background: #f7e9e7; color: #8b2f26; }
.btn-sm { padding: 8px 12px; font-size: .86rem; }
.btn-icon { width: 42px; height: 42px; padding: 0; border-radius: 50%; }

.top-strip { background: #0e271f; color: rgba(255,255,255,.82); font-size: .82rem; }
.top-strip .container { min-height: 36px; display:flex; justify-content:space-between; align-items:center; gap:18px; }
.top-strip-links { display:flex; gap:18px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(20,54,42,.08); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 260px; }
.brand-mark { width: 48px; height: 48px; border-radius: 50%; background: conic-gradient(from 90deg, #b63b33 0 25%, #0f3b2e 25% 55%, #101713 55% 78%, #c69a55 78% 100%); display:grid; place-items:center; color:#fff; font-weight:900; letter-spacing:-.06em; box-shadow: inset 0 0 0 5px #fff, 0 0 0 1px rgba(18,59,46,.18); }
.brand-name { font-weight: 900; letter-spacing: .04em; font-size: 1.02rem; line-height:1.05; color:var(--green-950); }
.brand-name small { display:block; margin-top:4px; letter-spacing:.04em; color:var(--muted); font-size:.64rem; font-weight:700; }
.site-nav { display:flex; align-items:center; gap: 4px; margin-left:auto; }
.nav-link { padding: 9px 11px; border-radius: 10px; font-size: .91rem; font-weight: 700; color:#31473d; }
.nav-link:hover, .nav-link.active { background: var(--green-100); color:var(--green-950); }
.header-actions { display:flex; gap:10px; }
.mobile-toggle { display:none; margin-left:auto; border:0; background:var(--soft); width:44px; height:44px; border-radius:12px; font-size:1.2rem; }

.demo-switcher { position: fixed; right: 18px; bottom: 18px; z-index: 90; display:flex; gap:6px; background:rgba(11,45,35,.92); backdrop-filter: blur(12px); padding:7px; border-radius:999px; box-shadow:var(--shadow); }
.demo-switcher a { color:rgba(255,255,255,.78); font-size:.78rem; font-weight:800; padding:8px 11px; border-radius:999px; }
.demo-switcher a:hover, .demo-switcher a.active { background:#fff; color:var(--green-950); }

.hero { min-height: 720px; position: relative; overflow:hidden; background: #173c2f; color:#fff; }
.hero::before { content:""; position:absolute; inset:0; background:
  linear-gradient(90deg, rgba(6,31,23,.88) 0%, rgba(6,31,23,.58) 48%, rgba(6,31,23,.18) 72%, rgba(6,31,23,.1) 100%),
  url('https://images.unsplash.com/photo-1516426122078-c23e76319801?auto=format&fit=crop&w=1900&q=88') center 42%/cover no-repeat; transform:scale(1.01); }
.hero::after { content:""; position:absolute; inset:auto 0 0; height:180px; background:linear-gradient(transparent, rgba(6,31,23,.45)); }
.hero-inner { position:relative; z-index:1; padding:118px 0 84px; display:grid; grid-template-columns: 1.18fr .82fr; gap:70px; align-items:end; min-height:720px; }
.hero-copy { max-width:760px; }
.hero-copy .eyebrow { color:#f0c77f; }
.hero-copy h1 { font-size: clamp(3rem, 6.2vw, 5.6rem); font-weight:500; line-height:.96; letter-spacing:-.045em; margin:18px 0 24px; }
.hero-copy p { font-size:1.1rem; max-width:660px; color:rgba(255,255,255,.83); }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:30px; }
.hero .btn-outline { border-color:rgba(255,255,255,.42); color:#fff; }
.hero .btn-outline:hover { background:rgba(255,255,255,.12); }
.hero-card { background:rgba(255,255,255,.94); color:var(--ink); border-radius:22px; padding:24px; box-shadow:0 30px 80px rgba(0,0,0,.22); backdrop-filter:blur(12px); }
.hero-card h3 { margin:0 0 6px; font-family:Georgia,serif; font-size:1.5rem; font-weight:500; }
.hero-card p { margin:0 0 18px; font-size:.9rem; color:var(--muted); }
.hero-search { display:flex; gap:8px; }
.hero-search input { flex:1; min-width:0; }
.trust-row { margin-top:18px; display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.trust-pill { background:#f5f7f3; border:1px solid #e4e9e3; border-radius:14px; padding:12px; }
.trust-pill strong { display:block; color:var(--green-950); font-size:1.05rem; }
.trust-pill span { font-size:.72rem; color:var(--muted); }

.input, select, textarea { width:100%; border:1px solid #d9e1da; background:#fff; border-radius:12px; padding:11px 12px; outline:none; transition:.2s; color:var(--ink); }
.input:focus, select:focus, textarea:focus { border-color:#6b8d7c; box-shadow:0 0 0 4px rgba(44,99,80,.09); }
textarea { min-height:110px; resize:vertical; }
label { display:block; font-size:.78rem; font-weight:800; color:#405149; margin-bottom:6px; }
.form-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px; }
.form-grid .full { grid-column:1/-1; }

.stats-band { background:var(--green-950); color:#fff; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.stat { padding:28px 24px; border-right:1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right:0; }
.stat strong { font-family:Georgia,serif; font-weight:500; display:block; font-size:2.2rem; }
.stat span { color:rgba(255,255,255,.68); font-size:.84rem; }

.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.card { background:#fff; border:1px solid #e5e9e4; border-radius:var(--radius); overflow:hidden; box-shadow:0 4px 18px rgba(23,54,42,.04); }
.card-body { padding:22px; }
.card h3 { margin:0 0 8px; font-family:Georgia,serif; font-weight:500; font-size:1.4rem; }
.card p { color:var(--muted); font-size:.92rem; }
.card-media { aspect-ratio: 16/10; background:#d9dfd7; position:relative; overflow:hidden; }
.card-media img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.card:hover .card-media img { transform:scale(1.035); }
.card-badge { position:absolute; top:14px; left:14px; background:rgba(255,255,255,.94); color:var(--green-950); padding:7px 10px; border-radius:999px; font-size:.72rem; font-weight:850; }
.card-footer { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-top:18px; }
.meta-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.tag { padding:6px 9px; border-radius:999px; background:#f1f4f0; color:#506058; font-size:.72rem; font-weight:750; }

.feature-grid { display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
.feature-visual { min-height:500px; border-radius:28px; overflow:hidden; position:relative; background:var(--green-100); }
.feature-visual img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.feature-visual::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 48%,rgba(6,31,23,.55)); }
.feature-caption { position:absolute; z-index:1; left:24px; right:24px; bottom:24px; color:#fff; }
.feature-copy h2 { font-family:Georgia,serif; font-size:clamp(2.1rem,4vw,3.6rem); font-weight:500; line-height:1.03; margin:8px 0 18px; }
.feature-copy p { color:var(--muted); }
.check-list { display:grid; gap:12px; margin:24px 0; }
.check-item { display:flex; gap:12px; align-items:flex-start; }
.check-icon { width:24px; height:24px; flex:0 0 24px; border-radius:50%; background:var(--green-100); color:var(--green-800); display:grid; place-items:center; font-weight:900; }

.directory-toolbar, .catalog-toolbar { display:grid; grid-template-columns:1.5fr repeat(2,.7fr) auto; gap:10px; margin-bottom:22px; }
.member-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.member-card { border:1px solid #e1e6e0; border-radius:16px; padding:18px; background:#fff; display:flex; flex-direction:column; gap:14px; }
.member-top { display:flex; gap:13px; align-items:center; }
.company-avatar { width:52px; height:52px; border-radius:14px; background:linear-gradient(135deg,var(--green-900),#477764); color:#fff; display:grid; place-items:center; font-weight:900; letter-spacing:.02em; }
.member-name { font-weight:850; }
.member-category { color:var(--muted); font-size:.8rem; }
.verified { display:inline-flex; gap:6px; align-items:center; color:#28694d; font-weight:800; font-size:.78rem; }
.member-details { color:var(--muted); font-size:.86rem; display:grid; gap:6px; }
.member-actions { display:flex; gap:8px; margin-top:auto; }

.page-view { display:none; }
.page-view.active { display:block; }
.page-hero { padding:80px 0 54px; background:linear-gradient(135deg,#eef2ec,#f8f4e9); border-bottom:1px solid #e1e6df; }
.page-hero h1 { font-size:clamp(2.8rem,6vw,5.4rem); font-weight:500; line-height:1; margin:10px 0 18px; }
.page-hero p { max-width:780px; color:var(--muted); font-size:1.05rem; }

.news-grid { display:grid; grid-template-columns:1.2fr .8fr .8fr; gap:18px; }
.news-feature { min-height:430px; position:relative; border-radius:20px; overflow:hidden; color:#fff; }
.news-feature img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.news-feature::after { content:""; position:absolute; inset:0; background:linear-gradient(transparent 30%,rgba(8,30,23,.9)); }
.news-copy { position:absolute; left:22px; right:22px; bottom:22px; z-index:1; }
.news-copy h3 { font-family:Georgia,serif; font-size:1.7rem; font-weight:500; margin:8px 0; }
.news-small { background:#fff; border:1px solid #e4e9e3; border-radius:18px; overflow:hidden; }
.news-small img { height:180px; width:100%; object-fit:cover; }
.news-small .card-body { padding:18px; }

.footer { background:#0d251d; color:#fff; padding:64px 0 28px; }
.footer-grid { display:grid; grid-template-columns:1.2fr repeat(3,.7fr); gap:40px; }
.footer .brand-name { color:#fff; }
.footer h4 { margin:0 0 14px; font-size:.9rem; letter-spacing:.08em; text-transform:uppercase; }
.footer a, .footer p { color:rgba(255,255,255,.68); font-size:.88rem; }
.footer-links { display:grid; gap:9px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); margin-top:42px; padding-top:22px; display:flex; justify-content:space-between; color:rgba(255,255,255,.5); font-size:.78rem; }

.modal { position:fixed; inset:0; z-index:100; display:none; place-items:center; padding:20px; background:rgba(5,22,17,.64); backdrop-filter:blur(8px); }
.modal.open { display:grid; }
.modal-card { width:min(720px,100%); max-height:90vh; overflow:auto; background:#fff; border-radius:22px; box-shadow:0 30px 90px rgba(0,0,0,.28); }
.modal-head { padding:22px 24px; border-bottom:1px solid #e6e9e5; display:flex; align-items:flex-start; justify-content:space-between; gap:20px; position:sticky; top:0; background:#fff; z-index:2; }
.modal-head h3 { margin:0; font-family:Georgia,serif; font-size:1.6rem; font-weight:500; }
.modal-close { border:0; width:38px; height:38px; border-radius:50%; background:#f0f3ef; font-size:1.2rem; }
.modal-body { padding:24px; }
.modal-footer { padding:18px 24px 24px; display:flex; justify-content:flex-end; gap:10px; }

.toast-wrap { position:fixed; z-index:120; top:96px; right:18px; display:grid; gap:10px; }
.toast { background:#102f25; color:#fff; padding:13px 16px; border-radius:13px; box-shadow:var(--shadow-sm); min-width:260px; animation:toastIn .25s ease; }
.toast.success { background:#235b44; }
.toast.warn { background:#7b5620; }
@keyframes toastIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }

.chat-launcher { position:fixed; right:22px; bottom:84px; z-index:80; width:58px; height:58px; border:0; border-radius:50%; background:var(--gold-500); color:#1a251e; box-shadow:var(--shadow); font-size:1.35rem; }
.chat-panel { position:fixed; right:22px; bottom:154px; z-index:80; width:min(360px,calc(100vw - 30px)); background:#fff; border-radius:18px; box-shadow:0 28px 80px rgba(10,35,26,.25); overflow:hidden; display:none; border:1px solid #e3e8e2; }
.chat-panel.open { display:block; }
.chat-head { background:var(--green-950); color:#fff; padding:16px; }
.chat-head strong { display:block; }
.chat-head span { color:rgba(255,255,255,.66); font-size:.78rem; }
.chat-messages { height:300px; overflow:auto; padding:14px; background:#f7f8f5; display:grid; align-content:start; gap:10px; }
.chat-msg { max-width:83%; padding:10px 12px; border-radius:14px; font-size:.84rem; }
.chat-msg.bot { background:#fff; border:1px solid #e3e7e2; }
.chat-msg.user { background:var(--green-900); color:#fff; margin-left:auto; }
.chat-input { display:flex; gap:8px; padding:12px; border-top:1px solid #e2e7e1; }
.chat-input input { flex:1; min-width:0; }

/* APP / SYSTEM */
.app-shell { min-height:100vh; display:grid; grid-template-columns:270px 1fr; }
.sidebar { background:#0d2d23; color:#fff; position:sticky; top:0; height:100vh; padding:20px 16px; overflow:auto; }
.sidebar .brand { min-width:0; margin-bottom:28px; }
.sidebar .brand-name { color:#fff; }
.sidebar .brand-mark { width:42px; height:42px; }
.sidebar-label { margin:20px 10px 8px; text-transform:uppercase; color:rgba(255,255,255,.38); letter-spacing:.16em; font-size:.66rem; font-weight:900; }
.side-nav { display:grid; gap:3px; }
.side-link { display:flex; align-items:center; gap:11px; padding:11px 12px; border-radius:11px; color:rgba(255,255,255,.74); font-weight:700; font-size:.88rem; }
.side-link:hover, .side-link.active { background:rgba(255,255,255,.1); color:#fff; }
.side-icon { width:20px; text-align:center; }
.sidebar-profile { margin-top:28px; padding:14px; border:1px solid rgba(255,255,255,.12); border-radius:14px; background:rgba(255,255,255,.05); }
.sidebar-profile strong { display:block; }
.sidebar-profile span { color:rgba(255,255,255,.56); font-size:.76rem; }

.app-main { min-width:0; }
.app-topbar { height:72px; background:#fff; border-bottom:1px solid #e3e8e2; display:flex; align-items:center; justify-content:space-between; padding:0 28px; position:sticky; top:0; z-index:30; }
.app-title strong { display:block; font-size:1rem; }
.app-title span { color:var(--muted); font-size:.78rem; }
.app-actions { display:flex; align-items:center; gap:10px; }
.avatar { width:38px; height:38px; border-radius:50%; background:var(--green-100); color:var(--green-900); display:grid; place-items:center; font-weight:900; }
.app-content { padding:28px; }
.app-view { display:none; }
.app-view.active { display:block; }
.app-page-head { display:flex; justify-content:space-between; gap:20px; align-items:flex-end; margin-bottom:22px; }
.app-page-head h1 { margin:0; font-family:Georgia,serif; font-size:2.15rem; font-weight:500; }
.app-page-head p { margin:6px 0 0; color:var(--muted); }

.kpi-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.kpi-card { background:#fff; border:1px solid #e2e7e1; border-radius:16px; padding:18px; box-shadow:0 3px 12px rgba(20,50,39,.03); }
.kpi-label { color:var(--muted); font-size:.76rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.kpi-value { font-family:Georgia,serif; font-size:2rem; margin:6px 0 2px; }
.kpi-delta { font-size:.75rem; color:#3b725a; }
.kpi-delta.warn { color:#9a6525; }

.panel-grid { display:grid; grid-template-columns:1.35fr .65fr; gap:16px; margin-top:16px; }
.panel { background:#fff; border:1px solid #e2e7e1; border-radius:16px; overflow:hidden; }
.panel-head { padding:17px 18px; border-bottom:1px solid #e6eae5; display:flex; justify-content:space-between; gap:14px; align-items:center; }
.panel-head h3 { margin:0; font-size:.98rem; }
.panel-body { padding:18px; }
.task-list { display:grid; }
.task-row { padding:13px 0; border-bottom:1px solid #edf0ec; display:flex; justify-content:space-between; gap:15px; align-items:center; }
.task-row:last-child { border-bottom:0; }
.task-title { font-weight:800; font-size:.88rem; }
.task-sub { color:var(--muted); font-size:.76rem; margin-top:3px; }
.status { display:inline-flex; padding:5px 8px; border-radius:999px; font-size:.69rem; font-weight:850; white-space:nowrap; }
.status.green { color:#245d44; background:#e6f2eb; }
.status.gold { color:#7d571a; background:#f8efd9; }
.status.red { color:#8d3028; background:#f7e7e5; }
.status.blue { color:#315e77; background:#e7f0f5; }
.status.gray { color:#59635d; background:#edf0ed; }

.table-wrap { overflow:auto; }
table { width:100%; border-collapse:collapse; min-width:760px; }
th { text-align:left; font-size:.7rem; text-transform:uppercase; letter-spacing:.08em; color:#718078; background:#f7f8f6; padding:11px 12px; border-bottom:1px solid #e1e6e0; }
td { padding:12px; border-bottom:1px solid #edf0ec; font-size:.84rem; vertical-align:middle; }
tr:hover td { background:#fbfcfa; }
.table-title { font-weight:800; }
.table-sub { color:var(--muted); font-size:.74rem; margin-top:2px; }

.wallet-card { background:linear-gradient(135deg,#0c3327,#235d47); color:#fff; border-radius:18px; padding:22px; min-height:190px; position:relative; overflow:hidden; }
.wallet-card::after { content:""; position:absolute; width:220px; height:220px; border-radius:50%; right:-70px; top:-90px; background:rgba(255,255,255,.06); }
.wallet-card .kpi-label { color:rgba(255,255,255,.62); }
.wallet-balance { font-family:Georgia,serif; font-size:2.6rem; margin:10px 0 24px; }
.wallet-meta { display:flex; justify-content:space-between; color:rgba(255,255,255,.7); font-size:.76rem; }

.lead-card { border:1px solid #e2e6e1; border-radius:15px; padding:16px; background:#fff; }
.leads-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.lead-head { display:flex; justify-content:space-between; gap:12px; }
.lead-ref { font-size:.74rem; color:var(--muted); }
.lead-title { font-weight:900; margin:3px 0 8px; }
.lead-meta { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin:12px 0; }
.lead-meta div { background:#f6f8f5; border-radius:10px; padding:9px; }
.lead-meta span { display:block; color:var(--muted); font-size:.66rem; text-transform:uppercase; letter-spacing:.06em; }
.lead-meta strong { font-size:.82rem; }
.lead-footer { display:flex; justify-content:space-between; gap:12px; align-items:center; border-top:1px solid #edf0ec; padding-top:12px; }
.price { font-weight:900; color:var(--green-900); }

.chart-bars { height:210px; display:flex; align-items:end; gap:12px; padding:12px 4px 0; }
.bar-col { flex:1; display:flex; flex-direction:column; align-items:center; gap:8px; height:100%; justify-content:flex-end; }
.bar { width:100%; max-width:32px; background:linear-gradient(180deg,#4d806a,#1c4f3d); border-radius:7px 7px 2px 2px; min-height:5px; }
.bar-label { color:var(--muted); font-size:.68rem; }

.settings-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.setting-card { background:#fff; border:1px solid #e1e6e0; border-radius:15px; padding:17px; }
.setting-card h4 { margin:0 0 6px; }
.setting-card p { color:var(--muted); font-size:.82rem; margin:0 0 14px; }
.toggle { width:46px; height:26px; border-radius:999px; background:#cdd5cf; position:relative; border:0; padding:0; transition:.2s; }
.toggle::after { content:""; width:20px; height:20px; background:#fff; border-radius:50%; position:absolute; top:3px; left:3px; transition:.2s; box-shadow:0 2px 6px rgba(0,0,0,.15); }
.toggle.on { background:var(--green-700); }
.toggle.on::after { transform:translateX(20px); }

.progress { height:8px; background:#edf1ed; border-radius:999px; overflow:hidden; }
.progress span { display:block; height:100%; background:var(--green-700); }

.empty-state { padding:42px 20px; text-align:center; color:var(--muted); }
.empty-icon { width:54px; height:54px; background:#eef2ee; border-radius:50%; display:grid; place-items:center; margin:0 auto 12px; font-size:1.4rem; }

@media (max-width: 1080px) {
  .site-nav { display:none; position:absolute; top:78px; left:0; right:0; background:#fff; padding:12px 20px 18px; border-bottom:1px solid #e2e7e1; flex-direction:column; align-items:stretch; }
  .site-nav.open { display:flex; }
  .mobile-toggle { display:block; }
  .header-actions .btn-outline { display:none; }
  .hero-inner { grid-template-columns:1fr; align-items:center; gap:32px; }
  .hero-card { max-width:580px; }
  .cards, .member-grid { grid-template-columns:repeat(2,1fr); }
  .news-grid { grid-template-columns:1fr 1fr; }
  .news-feature { grid-column:1/-1; }
  .kpi-grid { grid-template-columns:repeat(2,1fr); }
  .panel-grid { grid-template-columns:1fr; }
}

@media (max-width: 820px) {
  .top-strip { display:none; }
  .brand { min-width:0; }
  .brand-name small { display:none; }
  .hero { min-height:auto; }
  .hero-inner { min-height:auto; padding:90px 0 60px; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .stat:nth-child(2) { border-right:0; }
  .feature-grid { grid-template-columns:1fr; }
  .feature-visual { min-height:360px; }
  .directory-toolbar, .catalog-toolbar { grid-template-columns:1fr 1fr; }
  .directory-toolbar > :first-child, .catalog-toolbar > :first-child { grid-column:1/-1; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .app-shell { grid-template-columns:1fr; }
  .sidebar { position:fixed; left:-290px; width:270px; z-index:80; transition:.25s; box-shadow:var(--shadow); }
  .sidebar.open { left:0; }
  .app-topbar { padding:0 16px; }
  .app-content { padding:18px; }
  .app-menu-btn { display:inline-flex !important; }
  .leads-grid { grid-template-columns:1fr; }
}

@media (max-width: 560px) {
  .container { width:min(calc(100% - 28px),var(--max)); }
  .header-inner { min-height:70px; }
  .site-nav { top:70px; }
  .header-actions .btn-primary { display:none; }
  .hero-copy h1 { font-size:3.05rem; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .hero-search { flex-direction:column; }
  .trust-row { grid-template-columns:1fr; }
  .cards, .member-grid, .news-grid { grid-template-columns:1fr; }
  .section { padding:68px 0; }
  .section-head { flex-direction:column; align-items:flex-start; }
  .form-grid { grid-template-columns:1fr; }
  .form-grid .full { grid-column:auto; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .stat { padding:20px 14px; }
  .stat strong { font-size:1.8rem; }
  .directory-toolbar, .catalog-toolbar { grid-template-columns:1fr; }
  .directory-toolbar > :first-child, .catalog-toolbar > :first-child { grid-column:auto; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; gap:8px; }
  .demo-switcher { left:12px; right:12px; justify-content:center; }
  .chat-launcher { right:16px; bottom:84px; }
  .chat-panel { right:15px; bottom:150px; }
  .kpi-grid, .settings-grid { grid-template-columns:1fr; }
  .app-page-head { align-items:flex-start; flex-direction:column; }
  .app-actions .hide-mobile { display:none; }
}
