:root {
  --orange: #f58220;
  --red: #b11116;
  --blue: #25408f;
  --brand-green: #00652e;
  --black: #231f20;
  --yellow: #ffde17;
  --green-950: #231f20;
  --green-900: #b11116;
  --green-800: #f58220;
  --green-700: #25408f;
  --green-100: #ffead8;
  --green-50: #fff7f0;
  --lime: #ffde17;
  --ink: #231f20;
  --muted: #636466;
  --line: #e4dfdc;
  --paper: #fdfbf9;
  --white: #fff;
  --sand: #fff1e5;
  --danger: #b11116;
  --shadow: 0 16px 50px rgba(35, 31, 32, .11);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(253,251,249,.95); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228,223,220,.9);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg,var(--orange) 0 42%,var(--red) 42% 61%,var(--blue) 61% 80%,var(--brand-green) 80% 100%); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-logo { width: 106px; height: auto; }
.brand-region { max-width: 72px; padding-left: 11px; border-left: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.25; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { padding: 11px 13px; border-radius: 11px; color: #4d494a; font-weight: 600; font-size: 14px; }
.nav a:hover, .nav a.active { background: var(--green-50); color: var(--green-800); }
.header-cta { margin-left: 10px; }
.menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; padding: 10px; color: var(--orange); }
.menu-toggle svg { width: 25px; height: 25px; }

.btn { border: 1px solid transparent; border-radius: 12px; min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; font-weight: 700; transition: .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: white; box-shadow: 0 8px 22px rgba(245,130,32,.22); }
.btn-primary:hover { background: var(--green-900); }
.btn-secondary { background: white; color: var(--orange); border-color: var(--line); }
.btn-ghost { background: transparent; color: var(--blue); padding-inline: 10px; }
.btn-danger { background: #fff1ef; color: var(--danger); border-color: #f3ccc7; }
.btn-sm { min-height: 38px; padding: 0 13px; font-size: 13px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; }
.eyebrow::before { content: ""; width: 23px; height: 2px; background: var(--orange); }
h1,h2,h3 { font-family: "Poppins", sans-serif; margin: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 5.5vw, 76px); line-height: 1.02; }
h2 { font-size: clamp(30px, 3vw, 46px); line-height: 1.08; }
h3 { font-size: 20px; line-height: 1.2; }
p { line-height: 1.65; }
.muted { color: var(--muted); }
.section { padding: 92px 0; }
.section-sm { padding: 52px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 34px; }
.section-head p { max-width: 590px; margin: 12px 0 0; color: var(--muted); }

.hero { overflow: hidden; position: relative; background: var(--green-950); color: white; }
.hero::before { content: ""; position: absolute; width: 600px; height: 600px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; right: -190px; top: -260px; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.hero-grid { position: relative; min-height: 620px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; padding-block: 70px; }
.hero .eyebrow { color: var(--yellow); }
.hero-copy p { color: #ddd8d8; font-size: 18px; max-width: 620px; margin: 24px 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-primary { background: var(--orange); color: white; }
.hero .btn-primary:hover { background: var(--red); }
.hero .btn-secondary { background: transparent; color: white; border-color: rgba(255,255,255,.22); }
.hero-card { position: relative; min-height: 440px; }
.hero-image { height: 360px; border-radius: 28px; border-bottom: 7px solid var(--orange); background: linear-gradient(145deg, rgba(35,31,32,.08), rgba(177,17,22,.5)), url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1200&q=80') center/cover; box-shadow: 0 35px 80px rgba(0,0,0,.3); }
.hero-stat { position: absolute; left: -34px; bottom: 18px; width: 210px; background: white; color: var(--ink); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.hero-stat strong { font: 800 34px/1 "Poppins", sans-serif; color: var(--orange); }
.hero-stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.hero-badge { position: absolute; top: -20px; right: 24px; width: 110px; height: 110px; background: var(--lime); color: var(--green-950); display: grid; place-items: center; text-align: center; border-radius: 50%; font-size: 12px; font-weight: 800; line-height: 1.25; transform: rotate(8deg); }

.news-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 22px; }
.news-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .22s ease; }
.news-card:nth-child(3n+1) { border-top: 4px solid var(--orange); }
.news-card:nth-child(3n+2) { border-top: 4px solid var(--blue); }
.news-card:nth-child(3n+3) { border-top: 4px solid var(--red); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card-image { aspect-ratio: 1.45; background: var(--green-100); object-fit: cover; width: 100%; }
.news-card.featured .news-card-image { aspect-ratio: 1.75; }
.news-card-body { padding: 22px; }
.news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 12px; margin-bottom: 13px; }
.tag { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 999px; background: #fff0e4; color: var(--blue); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.news-card h3 { margin-bottom: 10px; }
.news-card p { font-size: 14px; color: var(--muted); margin: 0; }
.read-more { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; color: var(--blue); font-size: 14px; font-weight: 800; }
.read-more::after { content: "→"; transition: .2s; }
.news-card:hover .read-more::after { transform: translateX(4px); }

.member-showcase { position: relative; background: #fff8f1; border-block: 1px solid #f5e6d8; }
.member-showcase::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: linear-gradient(var(--orange) 0 35%,var(--red) 35% 58%,var(--blue) 58% 79%,var(--brand-green) 79%); }
.member-showcase-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.submission-note { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 25px; color: var(--muted); font-size: 13px; }
.submission-note strong { color: var(--brand-green); }

.opportunity { background: var(--sand); }
.opportunity-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.opportunity-visual { border-radius: 28px; background: var(--blue); padding: 36px; color: white; box-shadow: var(--shadow); }
.job-mini { background: white; color: var(--ink); border-radius: 16px; padding: 17px; display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 14px; margin-top: 13px; }
.job-mini:first-of-type { margin-top: 27px; }
.job-icon { width: 45px; height: 45px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green-800); font-weight: 800; }
.job-mini strong { display: block; font-size: 14px; }
.job-mini span { font-size: 12px; color: var(--muted); }
.job-mini em { font-style: normal; font-size: 11px; color: var(--green-700); font-weight: 800; }
.check-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: #514d4e; }
.check-list li::before { content: "✓"; width: 23px; height: 23px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; background: #ffead8; color: var(--orange); font-size: 12px; font-weight: 900; }

.cta-band { margin: 0 auto 80px; padding: 52px 58px; border-radius: 28px; background: linear-gradient(120deg, var(--red), var(--orange)); color: white; display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.cta-band p { color: #fff0e4; max-width: 650px; margin: 12px 0 0; }
.cta-band .btn { flex: 0 0 auto; background: var(--lime); color: var(--green-950); }

.page-hero { background: var(--black); color: white; padding: 74px 0; border-bottom: 7px solid var(--orange); }
.page-hero p { color: #ddd8d8; max-width: 690px; margin: 18px 0 0; }
.page-hero h1 { font-size: clamp(38px, 5vw, 62px); }
.filter-bar { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.search { position: relative; flex: 1; max-width: 420px; }
.search input { width: 100%; min-height: 46px; padding: 0 16px 0 43px; border: 1px solid var(--line); border-radius: 12px; background: white; outline: none; }
.search input:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px var(--green-100); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--muted); }
.chips { display: flex; gap: 8px; overflow: auto; padding-bottom: 3px; }
.chip { white-space: nowrap; border: 1px solid var(--line); background: white; color: var(--muted); border-radius: 999px; padding: 9px 13px; cursor: pointer; font-size: 13px; font-weight: 700; }
.chip.active { background: var(--green-800); color: white; border-color: var(--green-800); }
.all-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.empty { border: 1px dashed #bbc9c3; background: var(--green-50); border-radius: var(--radius); padding: 42px; text-align: center; grid-column: 1/-1; }

.directory-hero { position: relative; overflow: hidden; background: linear-gradient(125deg, var(--red), var(--orange)); color: white; padding: 78px 0; }
.directory-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -190px; top: -260px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 0 0 75px rgba(255,255,255,.025), 0 0 0 150px rgba(255,255,255,.018); }
.directory-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; }
.directory-hero h1 { font-size: clamp(40px,5vw,66px); max-width: 820px; }
.directory-hero p { color: #fff1e6; max-width: 720px; font-size: 18px; }
.directory-hero .eyebrow { color: var(--yellow); }
.directory-stat { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 22px; padding: 28px; backdrop-filter: blur(10px); }
.directory-stat strong { display: block; font: 800 48px/1 "Poppins",sans-serif; color: var(--yellow); }
.directory-stat span { display: block; color: #fff1e6; margin: 8px 0 22px; }
.directory-stat a { font-size: 13px; font-weight: 800; color: white; }
.directory-toolbar { display: grid; grid-template-columns: 1fr 220px 190px; gap: 12px; padding: 18px; margin-top: -78px; position: relative; z-index: 3; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.directory-toolbar .search { max-width: none; }
.directory-toolbar select { min-height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 0 13px; color: var(--ink); background: white; outline: none; }
.directory-toolbar select:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px var(--green-100); }
.directory-result-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 34px 0 22px; }
.directory-result-head p { margin: 0; color: var(--muted); }
.directory-result-head strong { color: var(--green-800); }
.company-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.company-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 22px; transition: .22s ease; }
.company-card:nth-child(3n+1) { border-top: 4px solid var(--orange); }
.company-card:nth-child(3n+2) { border-top: 4px solid var(--blue); }
.company-card:nth-child(3n+3) { border-top: 4px solid var(--brand-green); }
.company-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.company-cover { position: relative; display: block; height: 220px; overflow: hidden; background: var(--green-100); }
.company-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.company-card:hover .company-cover img { transform: scale(1.035); }
.member-badge { position: absolute; left: 14px; top: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--brand-green); font-size: 10px; font-weight: 800; box-shadow: 0 5px 16px rgba(0,0,0,.12); }
.company-card-body { padding: 21px; }
.company-identity { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 13px; margin-bottom: 15px; }
.company-logo { width: 54px; height: 54px; overflow: hidden; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(145deg,var(--orange),var(--red)); color: white; font: 800 16px "Poppins",sans-serif; border: 3px solid white; box-shadow: 0 5px 18px rgba(35,31,32,.14); }
.company-logo img { width: 100%; height: 100%; object-fit: cover; }
.company-identity h3 { margin-top: 7px; }
.company-card-body > p { color: var(--muted); font-size: 14px; margin: 0 0 14px; min-height: 69px; }
.company-location { color: #595455; font-size: 12px; font-weight: 700; margin-bottom: 14px; }
.specialty-row { display: flex; flex-wrap: wrap; gap: 7px; }
.specialty-row span { padding: 6px 9px; border-radius: 8px; background: var(--sand); color: #5a5150; font-size: 11px; font-weight: 700; }
.specialty-row.large span { padding: 10px 13px; font-size: 13px; background: var(--green-50); color: var(--green-800); }

.company-detail-hero { background: var(--green-950); color: white; padding: 44px 0 62px; }
.back { display: inline-flex; gap: 8px; color: var(--green-700); font-weight: 700; margin-bottom: 30px; }
.back.light { color: #d6e6df; }
.company-title-row { display: grid; grid-template-columns: 94px 1fr; gap: 24px; align-items: center; }
.company-logo.large { width: 94px; height: 94px; border-radius: 24px; font-size: 27px; border-width: 4px; }
.company-title-row h1 { font-size: clamp(40px,5vw,64px); }
.company-title-row p { color: #ddd8d8; font-size: 17px; max-width: 760px; margin-bottom: 0; }
.verified { color: #7fd69e; font-size: 12px; font-weight: 800; }
.company-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 42px; align-items: start; }
.company-gallery { display: grid; grid-template-columns: 1.45fr .55fr; gap: 12px; height: 420px; margin-bottom: 48px; }
.company-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.company-gallery:has(.gallery-side:empty) { grid-template-columns: 1fr; }
.gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 0; }
.gallery-side:empty { display: none; }
.gallery-side:empty + * { grid-column: auto; }
.content-block { padding: 0 0 42px; margin-bottom: 42px; border-bottom: 1px solid var(--line); }
.content-block:last-child { border-bottom: 0; }
.content-block h2 { margin: 9px 0 16px; }
.content-block > p { font-size: 17px; color: #514d4e; }
.differential-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.differential-grid > div { display: flex; gap: 11px; align-items: center; padding: 17px; border-radius: 14px; background: white; border: 1px solid var(--line); }
.differential-grid span { width: 26px; height: 26px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--green-100); color: var(--green-800); font-weight: 900; }
.differential-grid strong { font-size: 13px; }
.business-sidebar { position: sticky; top: 105px; display: grid; gap: 14px; }
.business-panel { padding: 25px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.business-panel dl { margin: 18px 0 24px; }
.business-panel dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.business-panel dt { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.business-panel dd { margin: 0; color: #514d4e; line-height: 1.45; font-size: 14px; }
.sidebar-actions { display: grid; gap: 9px; }
.sidebar-actions .btn { width: 100%; }
.seo-note { padding: 18px; border-radius: 15px; background: #eaf6ef; color: var(--brand-green); }
.seo-note p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.upload-summary { color: var(--muted); font-size: 11px; }

.article-shell { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 100px; }
.article-shell .back { display: inline-flex; gap: 8px; color: var(--green-700); font-weight: 700; margin-bottom: 30px; }
.article-shell h1 { font-size: clamp(36px, 5vw, 58px); }
.article-lead { font-size: 20px; color: var(--muted); margin: 22px 0 30px; }
.article-image { width: 100%; border-radius: 24px; max-height: 470px; object-fit: cover; margin: 30px 0; }
.article-content { font-size: 17px; color: #514d4e; }
.article-content p { margin: 0 0 22px; }
.share-bar { border-top: 1px solid var(--line); margin-top: 42px; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }

.job-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 62px; align-items: start; }
.job-aside { position: sticky; top: 110px; }
.steps { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 20px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 13px; align-items: start; }
.step-no { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--green-100); color: var(--green-800); font-weight: 800; }
.steps strong { display: block; }
.steps span { color: var(--muted); font-size: 13px; }
.form-card { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: 0 18px 60px rgba(35,31,32,.08); }
.form-section { padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.form-section:last-child { border: 0; padding-bottom: 0; margin-bottom: 0; }
.form-section h3 { font-size: 18px; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label { font-size: 13px; font-weight: 700; color: #4d4849; }
.field label .optional { font-weight: 500; color: #87948f; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d6cfcb; background: white; color: var(--ink); border-radius: 11px; min-height: 46px; padding: 11px 13px; outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px var(--green-100); }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--danger); background: #fff9f8; }
.error-text { min-height: 16px; color: var(--danger); font-size: 12px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 13px; line-height: 1.45; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--green-800); margin-top: 2px; }
.form-actions { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-top: 25px; }
.form-note { font-size: 12px; color: var(--muted); max-width: 320px; }

.success-panel { text-align: center; padding: 32px 10px; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: #eaf6ef; color: var(--brand-green); font-size: 34px; }

.admin-login { min-height: calc(100vh - 160px); display: grid; place-items: center; padding: 70px 20px; background: var(--green-50); }
.login-card { width: min(460px, 100%); background: white; border: 1px solid var(--line); border-radius: 26px; padding: 38px; box-shadow: var(--shadow); }
.login-card .brand { margin-bottom: 32px; }
.login-card h1 { font-size: 34px; }
.login-card p { color: var(--muted); margin-bottom: 25px; }
.login-card .field { margin-bottom: 15px; }
.login-card .btn { width: 100%; margin-top: 6px; }
.demo-hint { background: #fff9dc; border: 1px solid #eadf9f; border-radius: 12px; padding: 12px; margin-top: 16px; color: #685e25; font-size: 12px; }

.admin-shell { min-height: 100vh; background: #f6f3f1; }
.admin-top { background: var(--green-950); color: white; min-height: 70px; display: flex; align-items: center; }
.admin-top-inner { width: min(1320px, calc(100% - 40px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-brand { display: flex; align-items: center; gap: 11px; font-weight: 800; }
.admin-brand span { opacity: .6; font-weight: 500; }
.admin-user { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.admin-user .avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: white; font-weight: 800; }
.admin-layout { width: min(1320px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 225px 1fr; gap: 34px; padding: 34px 0 70px; }
.admin-nav { display: grid; gap: 6px; align-content: start; }
.admin-nav button { border: 0; background: transparent; text-align: left; padding: 12px 14px; border-radius: 11px; color: #5d5758; cursor: pointer; font-weight: 700; }
.admin-nav button.active, .admin-nav button:hover { background: white; color: var(--orange); box-shadow: 0 5px 20px rgba(35,31,32,.07); }
.admin-main h1 { font-size: 36px; }
.admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 16px; margin-bottom: 25px; }
.metric { background: white; border: 1px solid var(--line); border-radius: 17px; padding: 20px; }
.metric span { color: var(--muted); font-size: 12px; font-weight: 700; }
.metric strong { display: block; font: 800 31px/1.1 "Poppins", sans-serif; color: var(--orange); margin-top: 9px; }
.admin-card { background: white; border: 1px solid var(--line); border-radius: 19px; padding: 24px; margin-bottom: 18px; }
.admin-card-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.admin-card h2 { font-size: 22px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 11px 10px; border-bottom: 1px solid var(--line); }
td { padding: 14px 10px; border-bottom: 1px solid #edf1ef; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
.status { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.status.published, .status.approved { background: #eaf6ef; color: var(--brand-green); }
.status.draft, .status.pending { background: #fff1cc; color: #826817; }
.status.scheduled { background: #e7eeff; color: #345d9a; }
.table-actions { display: flex; gap: 5px; }
.icon-btn { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: white; color: var(--green-800); cursor: pointer; }
.editor-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.admin-card .field { margin-bottom: 14px; }
.slug-preview { margin-top: 6px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.newsletter-item { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.newsletter-item:last-child { border: 0; }
.newsletter-item strong { display: block; font-size: 14px; }
.newsletter-item span { font-size: 12px; color: var(--muted); }
.switch { position: relative; width: 42px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: #c9d3cf; cursor: pointer; }
.switch i::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: white; transition: .2s; }
.switch input:checked + i { background: var(--orange); }
.switch input:checked + i::before { transform: translateX(18px); }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(35,31,32,.72); display: grid; place-items: center; padding: 20px; }
.modal { width: min(720px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: white; border-radius: 22px; padding: 28px; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.modal-close { border: 0; background: var(--green-50); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; color: var(--green-800); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

.site-footer { background: var(--black); color: white; padding: 58px 0 25px; border-top: 7px solid var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .7fr; gap: 50px; padding-bottom: 45px; }
.footer-copy { color: #c9c4c5; max-width: 440px; font-size: 14px; }
.footer-links h3 { font-size: 14px; margin-bottom: 15px; }
.footer-links a { display: block; color: #c9c4c5; font-size: 13px; margin: 10px 0; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; color: #9f9899; font-size: 12px; }
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: grid; gap: 10px; }
.toast { width: min(360px, calc(100vw - 40px)); background: var(--green-950); color: white; border-radius: 13px; padding: 15px 17px; box-shadow: 0 18px 60px rgba(0,0,0,.25); animation: toastIn .25s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 980px) {
  .nav { display: none; position: absolute; left: 20px; right: 20px; top: 70px; padding: 12px; flex-direction: column; align-items: stretch; background: white; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 52px; }
  .hero-card { min-height: 360px; }
  .hero-image { height: 320px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.featured { grid-column: 1/-1; }
  .opportunity-grid, .job-layout { grid-template-columns: 1fr; }
  .job-aside { position: static; }
  .all-news-grid { grid-template-columns: repeat(2,1fr); }
  .directory-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .directory-stat { max-width: 380px; }
  .directory-toolbar { grid-template-columns: 1fr 1fr; }
  .directory-toolbar .search { grid-column: 1/-1; }
  .company-grid { grid-template-columns: repeat(2,1fr); }
  .company-detail-grid { grid-template-columns: 1fr; }
  .business-sidebar { position: static; grid-row: 1; }
  .member-showcase-actions { justify-content: flex-start; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-nav { display: flex; overflow: auto; }
  .admin-nav button { white-space: nowrap; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .editor-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; }
  .brand-logo { width: 92px; }
  .brand-region { max-width: 64px; font-size: 8px; }
  .section { padding: 64px 0; }
  .hero-grid { padding-block: 56px; }
  h1 { font-size: 43px; }
  .hero-copy p { font-size: 16px; }
  .hero-card { min-height: 300px; }
  .hero-image { height: 270px; }
  .hero-stat { left: 12px; bottom: 0; width: 185px; }
  .hero-badge { width: 86px; height: 86px; right: 10px; font-size: 10px; }
  .news-grid, .all-news-grid { grid-template-columns: 1fr; }
  .directory-hero { padding: 58px 0 94px; }
  .directory-hero p { font-size: 16px; }
  .directory-toolbar { grid-template-columns: 1fr; margin-top: -92px; }
  .directory-toolbar .search { grid-column: auto; }
  .directory-result-head { align-items: flex-start; flex-direction: column; }
  .directory-result-head .btn { width: 100%; }
  .member-showcase-actions { width: 100%; }
  .member-showcase-actions .btn { width: 100%; }
  .submission-note { align-items: flex-start; flex-direction: column; }
  .company-grid { grid-template-columns: 1fr; }
  .company-card-body > p { min-height: 0; }
  .company-title-row { grid-template-columns: 68px 1fr; gap: 15px; }
  .company-logo.large { width: 68px; height: 68px; border-radius: 18px; font-size: 20px; }
  .company-title-row h1 { font-size: 36px; }
  .company-gallery { grid-template-columns: 1fr; height: auto; }
  .gallery-main { height: 280px !important; }
  .gallery-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; height: 150px; }
  .differential-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-column: auto; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .opportunity-grid { gap: 35px; }
  .opportunity-visual { padding: 22px; }
  .job-mini { grid-template-columns: 40px 1fr; }
  .job-mini em { grid-column: 2; }
  .cta-band { padding: 36px 24px; flex-direction: column; align-items: flex-start; margin-bottom: 50px; }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .search { max-width: none; }
  .form-card { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .admin-top-inner, .admin-layout { width: calc(100% - 24px); }
  .admin-user > span { display: none; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .admin-heading .btn { width: 100%; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric { padding: 16px; }
  .metric strong { font-size: 26px; }
  .admin-card { padding: 17px; }
  .modal { padding: 21px; }
}
