/* =========================================================
   Vookamba stylesheet
   Brand: orange #F26322  |  purple #4B1E9E
   ========================================================= */

:root {
  --orange: #F26322;
  --orange-dark: #d64f14;
  --orange-soft: #fdeee6;
  --purple: #4B1E9E;
  --purple-dark: #3a1580;
  --purple-soft: #efeafb;
  --ink: #1f2430;
  --ink-soft: #5b6172;
  --line: #e6e6ef;
  --bg: #ffffff;
  --bg-alt: #f7f6fb;
  --star: #F26322;
  --star-empty: #d8d8e2;

  --ok: #1f8a4c;
  --ok-soft: #e6f4ec;
  --warn: #b26a00;
  --warn-soft: #fdf1de;
  --bad: #c0392b;
  --bad-soft: #fbeae8;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(31,36,48,.06), 0 8px 24px rgba(31,36,48,.06);
  --shadow-sm: 0 1px 2px rgba(31,36,48,.08);
  --container: 1140px;
  --font: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
hr { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: 12px; background: var(--purple); color: #fff;
  padding: 8px 14px; border-radius: 6px; z-index: 200;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; transition: .16s ease;
  font-family: inherit; text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-purple { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn-purple:hover { background: var(--purple-dark); border-color: var(--purple-dark); }
.btn-outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: var(--purple-soft); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; padding: 10px 14px; }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.logo { display: block; }
.primary-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; flex: 1; }
.nav-search {
  display: flex; align-items: center; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  flex: 1; max-width: 340px; margin-left: auto;
}
.nav-search input { border: 0; background: transparent; padding: 10px 14px; flex: 1; font: inherit; outline: none; }
.nav-search button {
  border: 0; background: var(--purple); color: #fff; padding: 0 14px; align-self: stretch;
  display: flex; align-items: center; cursor: pointer;
}
.nav-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--purple); text-decoration: none; }
.nav-auth { display: flex; align-items: center; gap: 8px; }

.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--purple); color: #fff;
  font-size: .8rem; font-weight: 800;
}
.avatar-lg { width: 44px; height: 44px; font-size: 1.1rem; }

.dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 8px; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow); min-width: 180px; padding: 6px; display: none;
}
.dropdown-menu a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.dropdown-menu a:hover { background: var(--bg-alt); text-decoration: none; }
.dropdown.is-open .dropdown-menu { display: block; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Flash ---------- */
.flash-wrap { padding-top: 16px; }
.flash {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 10px; font-weight: 600;
}
.flash-success { background: var(--ok-soft); color: var(--ok); }
.flash-error { background: var(--bad-soft); color: var(--bad); }
.flash-close { background: none; border: 0; font-size: 1.3rem; cursor: pointer; color: inherit; line-height: 1; }

/* ---------- Stars ---------- */
.stars { display: inline-flex; gap: 2px; font-size: var(--star-size, 16px); line-height: 1; }
.star { color: var(--star-empty); position: relative; }
.star.is-full { color: var(--star); }
.star.is-half { color: var(--star-empty); }
.star.is-half::before {
  content: '\2605'; position: absolute; left: 0; top: 0; width: 50%; overflow: hidden; color: var(--star);
}
.stars-line { display: inline-flex; align-items: center; gap: 8px; }
.rating-num { font-weight: 800; }
[data-band="excellent"] .rating-num, .band-excellent { color: #1f8a4c; }
[data-band="great"] .rating-num, .band-great { color: #3f9142; }
[data-band="average"] .rating-num, .band-average { color: #b26a00; }
[data-band="poor"] .rating-num, .band-poor { color: #c9541c; }
[data-band="bad"] .rating-num, .band-bad { color: #c0392b; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--purple) 0%, var(--purple-dark) 55%, #2c0f66 100%);
  color: #fff; padding: 64px 0 72px; text-align: center; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(242,99,34,.35), transparent 70%); border-radius: 50%;
}
.hero h1 { color: #fff; max-width: 16ch; margin: 0 auto .4em; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-sub { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 52ch; margin: 0 auto 2rem; }
.hero-search {
  display: flex; background: #fff; border-radius: 999px; padding: 6px; max-width: 620px; margin: 0 auto;
  box-shadow: 0 20px 45px rgba(0,0,0,.25); position: relative; z-index: 1;
}
.hero-search input { flex: 1; border: 0; outline: none; padding: 14px 20px; font: inherit; border-radius: 999px; color: var(--ink); }
.hero-search button { flex-shrink: 0; }
.hero-tags { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hero-tags a {
  background: rgba(255,255,255,.14); color: #fff; padding: 7px 14px; border-radius: 999px;
  font-size: .86rem; font-weight: 600; border: 1px solid rgba(255,255,255,.2);
}
.hero-tags a:hover { background: rgba(255,255,255,.24); text-decoration: none; }
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 1.7rem; color: var(--orange); }
.hero-stat span { color: rgba(255,255,255,.7); font-size: .85rem; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head p { color: var(--ink-soft); margin: 4px 0 0; }
.section-head a { font-weight: 700; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 18px; }
.grid-cats { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.grid-biz { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---------- Category card ---------- */
.cat-card {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); transition: .16s; color: var(--ink);
}
.cat-card:hover { border-color: var(--purple); box-shadow: var(--shadow); text-decoration: none; transform: translateY(-2px); }
.cat-card .cat-icon { font-size: 1.7rem; }
.cat-card .cat-name { font-weight: 800; }
.cat-card .cat-count { color: var(--ink-soft); font-size: .85rem; }

/* ---------- Business card ---------- */
.biz-card {
  display: flex; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); transition: .16s; color: var(--ink);
}
.biz-card:hover { border-color: var(--purple); box-shadow: var(--shadow); text-decoration: none; transform: translateY(-2px); }
.biz-card-logo {
  width: 54px; height: 54px; border-radius: 12px; background: var(--purple-soft); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.biz-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.biz-initial { font-weight: 800; font-size: 1.4rem; color: var(--purple); }
.biz-card-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.biz-card-name { font-weight: 800; font-size: 1.05rem; }
.biz-card-meta { display: flex; flex-direction: column; gap: 2px; }
.biz-card-count { color: var(--ink-soft); font-size: .82rem; }
.biz-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tag {
  background: var(--purple-soft); color: var(--purple); font-size: .76rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px;
}
.tag-plain { background: var(--bg-alt); color: var(--ink-soft); }

/* ---------- Recent review strip ---------- */
.mini-review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.mini-review .stars { margin-bottom: 8px; }
.mini-review h4 { margin-bottom: 4px; font-size: 1rem; }
.mini-review p { color: var(--ink-soft); font-size: .9rem; margin-bottom: 10px; }
.mini-review .mini-foot { font-size: .82rem; color: var(--ink-soft); }
.mini-review .mini-foot a { font-weight: 700; }

/* ---------- Page wrapper ---------- */
.page { padding: 40px 0 64px; }
.page-narrow { max-width: 760px; }
.breadcrumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--purple); }

/* ---------- Filter bar ---------- */
.toolbar {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 24px;
  padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.toolbar form { display: contents; }
.toolbar .field { display: flex; align-items: center; gap: 6px; }
.toolbar label { font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
select, input[type=text], input[type=search], input[type=email], input[type=password],
input[type=url], input[type=tel], input[type=date], textarea {
  font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); width: 100%;
}
select { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(75,30,158,.35); outline-offset: 1px; }
.toolbar select, .toolbar input { width: auto; }

/* ---------- Business profile ---------- */
.profile-header { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 34px 0; }
.profile-header-inner { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.profile-logo {
  width: 88px; height: 88px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0;
}
.profile-logo img { width: 100%; height: 100%; object-fit: contain; }
.profile-logo .biz-initial { font-size: 2.4rem; }
.profile-main { flex: 1; min-width: 240px; }
.profile-main h1 { margin-bottom: 8px; }
.profile-rating-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.profile-rating-row .big-score { font-size: 1.5rem; font-weight: 800; }
.profile-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-size: .9rem; }
.profile-links a { font-weight: 600; }
.profile-cta { display: flex; flex-direction: column; gap: 10px; }

.layout-2col { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.reviews-list > * + * { margin-top: 16px; }

.rating-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.rating-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: .85rem; }
.rating-bar .lbl { width: 46px; color: var(--ink-soft); }
.rating-bar .track { flex: 1; height: 10px; background: #ece9f5; border-radius: 999px; overflow: hidden; }
.rating-bar .fill { height: 100%; background: var(--orange); min-width: 2px; }
.rating-bar .pct { width: 34px; text-align: right; color: var(--ink-soft); }

.sidecard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.sidecard h3 { font-size: 1rem; }

/* ---------- Review ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-author { font-weight: 800; margin: 0; }
.review-author-meta { color: var(--ink-soft); font-size: .82rem; margin: 0; }
.review-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-rating time { color: var(--ink-soft); font-size: .82rem; }
.review-title { font-size: 1.05rem; margin-bottom: 6px; }
.review-body { color: var(--ink); }
.review-body p { margin-bottom: .6rem; }
.review-exp { font-size: .82rem; color: var(--ink-soft); }
.review-reply { background: var(--bg-alt); border-left: 3px solid var(--purple); border-radius: 6px; padding: 12px 14px; margin-top: 12px; }
.review-reply-head { font-weight: 800; font-size: .88rem; margin-bottom: 4px; }
.review-reply-head span { font-weight: 600; color: var(--ink-soft); }
.review-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 12px; font-size: .82rem; font-weight: 700; cursor: pointer; color: var(--ink);
}
.chip.is-on { background: var(--purple-soft); border-color: var(--purple); color: var(--purple); }
.chip.is-static { cursor: default; }
.link-btn { background: none; border: 0; color: var(--ink-soft); font-size: .82rem; cursor: pointer; text-decoration: underline; }

/* ---------- Forms / cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .92rem; }
.form-row .hint { color: var(--ink-soft); font-size: .82rem; margin-top: 4px; }
.form-error { color: var(--bad); font-size: .84rem; margin-top: 4px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.checkbox input { width: auto; margin-top: 4px; }
.auth-wrap { max-width: 440px; margin: 48px auto; }
.auth-wrap .card { padding: 30px; }
.auth-alt { text-align: center; margin-top: 16px; font-size: .9rem; }

/* star input */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; color: var(--star-empty); cursor: pointer; line-height: 1; }
.star-input label:hover, .star-input label:hover ~ label,
.star-input input:checked ~ label { color: var(--star); }
.star-input input:focus-visible ~ label { outline: 3px solid rgba(75,30,158,.35); }

/* ---------- Alerts / callouts ---------- */
.callout { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 18px; }
.callout-info { background: var(--purple-soft); color: var(--purple-dark); }
.callout-warn { background: var(--warn-soft); color: var(--warn); }
.callout-ok { background: var(--ok-soft); color: var(--ok); }

.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.badge-pending { background: var(--warn-soft); color: var(--warn); }
.badge-published { background: var(--ok-soft); color: var(--ok); }
.badge-rejected { background: var(--bad-soft); color: var(--bad); }
.badge-hidden { background: var(--bg-alt); color: var(--ink-soft); }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 48px 20px; color: var(--ink-soft); }
.empty svg { margin: 0 auto 12px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; font-weight: 700; color: var(--ink); padding: 0 10px;
}
.pagination a:hover { border-color: var(--purple); text-decoration: none; }
.pagination .is-current { background: var(--purple); color: #fff; border-color: var(--purple); }
.pagination .gap { border: 0; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.prose li { margin-bottom: .4rem; }
.prose .toc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.prose .toc ol { margin-bottom: 0; }
.updated { color: var(--ink-soft); font-size: .88rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step::before {
  counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; margin-bottom: 10px;
}

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; font-size: 1.3rem; color: var(--purple); }
.faq details[open] summary::after { content: '\2013'; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(20,14,40,.55); display: none; align-items: center; justify-content: center; z-index: 300; padding: 20px; }
.modal.is-open { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius); padding: 26px; max-width: 460px; width: 100%; box-shadow: var(--shadow); }
.modal-box h3 { margin-bottom: 6px; }

/* ---------- Admin ---------- */
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 68px); }
.admin-side { background: var(--purple-dark); color: #fff; padding: 24px 14px; }
.admin-side h2 { color: #fff; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin: 18px 8px 8px; }
.admin-side a { display: flex; justify-content: space-between; gap: 8px; color: rgba(255,255,255,.85); padding: 9px 12px; border-radius: 8px; font-weight: 600; font-size: .92rem; }
.admin-side a:hover, .admin-side a.is-active { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.admin-side .pill { background: var(--orange); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: .74rem; font-weight: 800; }
.admin-main { padding: 30px 34px; background: var(--bg-alt); }
.admin-main h1 { font-size: 1.5rem; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 14px; margin-bottom: 26px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat strong { display: block; font-size: 1.7rem; }
.stat span { color: var(--ink-soft); font-size: .85rem; }

table.data { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: .9rem; vertical-align: top; }
table.data th { background: var(--bg-alt); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
table.data tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
.inline-form { display: inline; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #17123a; color: rgba(255,255,255,.8); padding: 52px 0 28px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.footer-brand p { margin-top: 12px; font-size: .9rem; max-width: 32ch; }
.footer-contact { font-style: normal; font-size: .85rem; line-height: 1.7; margin-top: 12px; color: rgba(255,255,255,.7); }
.footer-contact a { color: rgba(255,255,255,.85); }
.footer-col h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.75); font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 20px; font-size: .82rem; }
.footer-note { opacity: .6; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .layout-2col { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display: flex; flex-wrap: wrap; gap: 4px; }
  .admin-side h2 { width: 100%; }
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; margin-left: auto; }
  .primary-nav {
    position: fixed; inset: 68px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 14px; padding: 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .16s;
  }
  .primary-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-search { max-width: none; }
  .nav-links { flex-direction: column; gap: 4px; }
  .nav-links a { display: block; padding: 8px 0; }
  .nav-auth { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .hero-search { flex-direction: column; border-radius: var(--radius); background: transparent; box-shadow: none; padding: 0; gap: 10px; }
  .hero-search input { background: #fff; border-radius: var(--radius); }
  .profile-header-inner { flex-direction: column; }
}
