/* ============================================================
   Trust Field Assessment — Main CSS
   Mobile-first | Kerala-inspired | Accessibility-focused
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+Malayalam:wght@400;500;600;700;800&display=swap');

/* ─── Design Tokens ─────────────────────────────────────── */
:root {
  --primary:       #1B2F6B;
  --primary-light: #2541A8;
  --primary-dark:  #111E4A;
  --primary-bg:    #EEF1FA;
  --secondary:     #F5A623;
  --secondary-bg:  #FFF8E7;
  --accent:        #E63946;
  --success:       #27AE60;
  --warning:       #F39C12;
  --danger:        #E74C3C;

  --bg:    #F4F6FB;
  --card:  #FFFFFF;
  --text:  #1A1A2E;
  --text-mid:   #4A5480;
  --text-light: #7A85A8;
  --border:  #C8D0E8;
  --border-focus: #2541A8;

  --shadow-sm:   0 1px 4px rgba(27,47,107,0.10);
  --shadow-md:   0 4px 16px rgba(27,47,107,0.14);
  --shadow-lg:   0 8px 32px rgba(27,47,107,0.18);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.07);

  --font: 'Inter', 'Noto Sans Malayalam', sans-serif;

  --text-xs:   0.8125rem;  /* 13px */
  --text-sm:   0.9375rem;  /* 15px */
  --text-base: 1.0625rem;  /* 17px */
  --text-lg:   1.1875rem;  /* 19px */
  --text-xl:   1.375rem;   /* 22px */
  --text-2xl:  1.75rem;    /* 28px */
  --text-3xl:  2.25rem;    /* 36px */

  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-full: 9999px;
  --t: all 0.22s ease;
  --touch: 52px;

  --green-grad: linear-gradient(135deg, #111E4A 0%, #1B2F6B 55%, #2541A8 100%);
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
*::-webkit-scrollbar { display: none; }
* { -ms-overflow-style: none; scrollbar-width: none; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; }
input, textarea, select { font-family: var(--font); }

/* ─── Language Toggle ────────────────────────────────────── */
.lang-toggle {
  position: fixed; top: 14px; right: 14px; z-index: 2000;
  display: flex; background: white; border-radius: var(--r-full);
  box-shadow: var(--shadow-md); overflow: hidden; border: 2px solid var(--border);
}
.lang-btn {
  padding: 7px 15px; font-size: var(--text-xs); font-weight: 700;
  border: none; background: transparent; color: var(--text-mid);
  cursor: pointer; transition: var(--t); min-height: 38px; min-width: 44px;
}
.lang-btn.active { background: var(--primary); color: white; }

/* ─── Toast ──────────────────────────────────────────────── */
#toastContainer {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 9999; display: flex; flex-direction: column; gap: 8px;
  width: 90%; max-width: 380px; pointer-events: none;
}
.toast {
  background: #1A2E24; color: white; padding: 12px 18px;
  border-radius: var(--r-md); font-size: var(--text-sm); font-weight: 600;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
  animation: toastIn .3s cubic-bezier(.34,1.56,.64,1);
  pointer-events: all;
}
.toast.success { background: var(--success); }
.toast.error   { background: var(--danger); }
.toast.warning { background: var(--warning); color: #1A2E24; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── Loading ────────────────────────────────────────────── */
#loadingOverlay {
  position: fixed; inset: 0; background: rgba(255,255,255,0.92);
  display: none; align-items: center; justify-content: center;
  z-index: 9998; flex-direction: column; gap: 16px; backdrop-filter: blur(4px);
}
#loadingOverlay.show { display: flex; }
.spinner {
  width: 52px; height: 52px; border: 4px solid var(--border);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── App Wrapper ────────────────────────────────────────── */
.app-container {
  min-height: 100vh; display: flex; flex-direction: column;
  max-width: 520px; margin: 0 auto; position: relative;
  background: var(--bg);
}
@media (min-width: 768px) {
  body { background: #e8f0eb; }
  .app-container { box-shadow: var(--shadow-lg); }
}

/* ─── Hero / Header ──────────────────────────────────────── */
.hero {
  background: var(--green-grad);
  color: white; text-align: center; position: relative; overflow: hidden;
  padding: 60px 24px 32px;
}
.hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
}
.hero-icon { font-size: 3.5rem; margin-bottom: 12px; position: relative; z-index: 1; }
.hero h1   { font-size: var(--text-2xl); font-weight: 800; position: relative; z-index: 1; }
.hero p    { font-size: var(--text-sm); opacity: .88; position: relative; z-index: 1; margin-top: 4px; }

/* ─── Registration ───────────────────────────────────────── */
.register-form-wrap {
  background: white; border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-top: -24px; padding: 32px 24px 40px; flex: 1; position: relative; z-index: 1;
}
.register-form-wrap h2 { font-size: var(--text-xl); font-weight: 800; margin-bottom: 4px; }
.register-form-wrap .sub { font-size: var(--text-sm); color: var(--text-mid); margin-bottom: 28px; }

/* ─── Home Screen ────────────────────────────────────────── */
.home-hero {
  background: var(--green-grad);
  padding: 56px 24px 44px; text-align: center; color: white; position: relative; overflow: hidden;
}
.home-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
}
.home-avatar {
  width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 16px;
  background: rgba(255,255,255,0.18); display: flex; align-items: center;
  justify-content: center; font-size: 2.8rem; border: 3px solid rgba(255,255,255,0.4);
  position: relative; z-index: 1;
}
.home-name   { font-size: var(--text-2xl); font-weight: 800; z-index: 1; position: relative; }
.home-sub    { font-size: var(--text-sm); opacity: .85; z-index: 1; position: relative; margin-top: 4px; }
.home-body   { padding: 24px 20px 32px; }

.action-card {
  display: flex; align-items: center; gap: 12px;
  background: white; border: 2px solid var(--border); border-radius: var(--r-md);
  padding: 10px 14px; margin-bottom: 10px; cursor: pointer;
  transition: var(--t); -webkit-tap-highlight-color: transparent;
}
.action-card:active { transform: scale(0.97); box-shadow: var(--shadow-md); }
.action-icon {
  width: 44px; height: 44px; border-radius: var(--r-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.action-icon.green { background: var(--primary-bg); }
.action-icon.gold  { background: var(--secondary-bg); }
.action-text h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: 0; }
.action-text p  { font-size: var(--text-xs); color: var(--text-mid); }
.action-arrow   { margin-left: auto; font-size: 1.3rem; color: var(--text-light); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--touch); padding: 14px 24px; font-size: var(--text-base);
  font-weight: 700; border: none; border-radius: var(--r-md); cursor: pointer;
  transition: var(--t); width: 100%; -webkit-tap-highlight-color: transparent;
  user-select: none; line-height: 1.2; text-align: center;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--green-grad); color: white;
  box-shadow: 0 4px 14px rgba(27,111,63,0.35);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(27,111,63,0.45); transform: translateY(-1px); }
.btn-outline  { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover  { background: var(--primary-bg); }
.btn-ghost    { background: transparent; color: var(--text-mid); box-shadow: none; width: auto; }
.btn-danger   { background: var(--danger); color: white; }
.btn-sm       { min-height: 40px; font-size: var(--text-xs); padding: 8px 16px; width: auto; }
.btn-lg       { min-height: 60px; font-size: var(--text-lg); border-radius: var(--r-lg); }
.btn-icon     { width: 48px; height: 48px; padding: 0; border-radius: 50%; font-size: 1.4rem; }

/* ─── Form Elements ──────────────────────────────────────── */
.form-group   { margin-bottom: 20px; }
.form-label   { display: block; font-size: var(--text-sm); font-weight: 700; color: var(--text); margin-bottom: 8px; }
.required     { color: var(--danger); margin-left: 2px; }

.form-input, .form-select, .form-textarea {
  display: block; width: 100%; min-height: var(--touch);
  padding: 13px 16px; font-family: var(--font); font-size: var(--text-base);
  color: var(--text); background: white; border: 2px solid var(--border);
  border-radius: var(--r-md); outline: none; transition: var(--t);
  -webkit-appearance: none; appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(40,160,96,0.12);
}
.form-textarea { min-height: 110px; resize: vertical; }
.form-hint     { font-size: var(--text-xs); color: var(--text-mid); margin-top: 5px; }

/* Hide number input spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

/* ─── Step Wizard ────────────────────────────────────────── */
.wizard-bar {
  background: white; border-bottom: 1px solid var(--border);
  padding: 14px 16px; position: sticky; top: 0; z-index: 200;
}
.wizard-top {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.wizard-title  { font-size: var(--text-base); font-weight: 800; color: var(--text); }
.wizard-count  {
  font-size: var(--text-xs); font-weight: 700; color: var(--primary);
  background: var(--primary-bg); padding: 4px 12px; border-radius: var(--r-full);
}
.progress-track { height: 6px; background: var(--border); border-radius: var(--r-full); overflow: hidden; }
.progress-fill  {
  height: 100%; border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  transition: width 0.4s cubic-bezier(.34,1.56,.64,1);
}

.step { display: none; padding: 20px 16px; animation: stepIn .3s ease; }
.step.active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.step-title { font-size: var(--text-xl); font-weight: 800; margin-bottom: 6px; }
.step-sub   { font-size: var(--text-sm); color: var(--text-mid); margin-bottom: 22px; }

/* ─── Category Grid ──────────────────────────────────────── */
.cat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.cat-card {
  background: white; border: 2px solid var(--border); border-radius: var(--r-md);
  padding: 12px 8px; text-align: center; cursor: pointer;
  transition: var(--t); display: flex; flex-direction: column;
  align-items: center; gap: 6px; min-height: 86px; justify-content: center;
  -webkit-tap-highlight-color: transparent; position: relative;
}
.cat-card:active  { transform: scale(0.95); }
.cat-card.selected { border-color: var(--primary); background: var(--primary-bg); }
.cat-icon   { font-size: 1.8rem; line-height: 1; }
.cat-label  { font-size: 0.75rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.cat-card.selected .cat-label { color: var(--primary); }
.cat-check  {
  position: absolute; top: 6px; right: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--border); display: flex; align-items: center;
  justify-content: center; font-size: 10px; color: transparent; transition: var(--t);
}
.cat-card.selected .cat-check { background: var(--primary); color: white; }

.cat-add-card {
  border-style: dashed; cursor: pointer;
  background: white; border: 2.5px dashed var(--primary-light);
}
.cat-add-card:active { transform: scale(0.95); }

/* ─── Category Detail Sections ───────────────────────────── */
.cat-detail {
  background: white; border: 1px solid var(--border); border-radius: var(--r-lg);
  margin-bottom: 16px; overflow: hidden;
}
.cat-detail-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  background: var(--primary-bg);
}
.cat-detail-icon { font-size: 1.6rem; }
.cat-detail-title { font-size: var(--text-base); font-weight: 800; color: var(--primary); }
.cat-detail-body  { padding: 16px; }

/* ─── Severity Selector ──────────────────────────────────── */
.severity-row  { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
.sev-btn {
  flex-shrink: 0; padding: 8px 14px; border: 2px solid var(--border);
  border-radius: var(--r-full); background: white; font-size: var(--text-xs);
  font-weight: 700; cursor: pointer; transition: var(--t);
  white-space: nowrap; min-height: 40px;
}
.sev-btn[data-level="1"].active { background: #27AE60; border-color: #27AE60; color: white; }
.sev-btn[data-level="2"].active { background: #F39C12; border-color: #F39C12; color: white; }
.sev-btn[data-level="3"].active { background: #E67E22; border-color: #E67E22; color: white; }
.sev-btn[data-level="4"].active { background: #E74C3C; border-color: #E74C3C; color: white; }
.sev-btn[data-level="5"].active { background: #8E44AD; border-color: #8E44AD; color: white; }

/* ─── Voice Recording ────────────────────────────────────── */
.voice-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: var(--touch); border: none; border-radius: var(--r-md);
  background: linear-gradient(135deg, #C62828, #E53935);
  color: white; font-size: var(--text-sm); font-weight: 700;
  cursor: pointer; transition: var(--t); margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(229,57,53,0.3);
}
.voice-btn.recording { animation: voicePulse 1.4s ease-in-out infinite; }
@keyframes voicePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(229,57,53,0.4); }
  50%      { box-shadow: 0 0 0 14px rgba(229,57,53,0); }
}

.voice-indicator {
  display: none; align-items: center; gap: 10px;
  padding: 12px 14px; background: rgba(229,57,53,0.07);
  border-radius: var(--r-md); margin-bottom: 10px;
  font-size: var(--text-sm); color: var(--danger); font-weight: 600;
  border: 1px solid rgba(229,57,53,0.2);
}
.voice-indicator.show { display: flex; }
.voice-waves { display: flex; gap: 3px; align-items: center; height: 18px; }
.voice-bar {
  width: 4px; background: var(--danger); border-radius: 2px; animation: waveBar 1s ease infinite;
}
.voice-bar:nth-child(1) { animation-delay: 0s;    height: 8px; }
.voice-bar:nth-child(2) { animation-delay: 0.15s; height: 14px; }
.voice-bar:nth-child(3) { animation-delay: 0.3s;  height: 18px; }
.voice-bar:nth-child(4) { animation-delay: 0.15s; height: 14px; }
.voice-bar:nth-child(5) { animation-delay: 0s;    height: 8px; }
@keyframes waveBar {
  0%,100% { transform: scaleY(1); }
  50%      { transform: scaleY(0.4); }
}

/* ─── Photo Section ──────────────────────────────────────── */
.photo-grid   { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.photo-thumb  {
  position: relative; aspect-ratio: 1; border-radius: var(--r-md);
  overflow: hidden; background: var(--border);
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-remove {
  position: absolute; top: 5px; right: 5px; width: 26px; height: 26px;
  border-radius: 50%; background: rgba(0,0,0,0.65); color: white;
  border: none; font-size: 13px; display: flex; align-items: center;
  justify-content: center; cursor: pointer;
}
.photo-add {
  aspect-ratio: 1; border: 2.5px dashed var(--primary-light);
  border-radius: var(--r-md); background: var(--primary-bg);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; cursor: pointer; font-size: var(--text-xs);
  color: var(--primary); font-weight: 700; gap: 4px; transition: var(--t);
}
.photo-add:active { background: var(--border); }
.photo-add-icon   { font-size: 1.8rem; }

/* ─── Location ───────────────────────────────────────────── */
.location-box {
  background: white; border: 2px solid var(--border); border-radius: var(--r-lg);
  padding: 16px; margin-top: 14px;
}
.location-address {
  font-size: var(--text-sm); color: var(--text); font-weight: 500;
  padding: 12px; background: var(--primary-bg); border-radius: var(--r-md);
  margin-top: 12px; display: none; line-height: 1.5;
}
.location-address.show { display: block; }
.location-coords {
  font-size: var(--text-xs); color: var(--text-mid); margin-top: 6px;
  display: none;
}
.location-coords.show { display: block; }

/* ─── Bottom Nav ─────────────────────────────────────────── */
.nav-bar {
  display: flex; gap: 12px; padding: 14px 16px;
  background: white; border-top: 1px solid var(--border);
  position: sticky; bottom: 0; z-index: 200;
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
}

/* ─── Report Cards ───────────────────────────────────────── */
.report-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--r-lg); margin-bottom: 14px; overflow: hidden;
  box-shadow: var(--shadow-card); cursor: pointer; transition: var(--t);
}
.report-card:active { transform: scale(0.99); box-shadow: var(--shadow-md); }
.report-header {
  padding: 14px 16px; display: flex; justify-content: space-between;
  align-items: flex-start; gap: 8px;
}
.report-name  { font-size: var(--text-base); font-weight: 800; }
.report-date  { font-size: var(--text-xs); color: var(--text-mid); white-space: nowrap; }
.report-body  { padding: 0 16px 14px; }
.chip-row     { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip {
  padding: 4px 12px; border-radius: var(--r-full);
  font-size: 0.75rem; font-weight: 700;
  background: var(--primary-bg); color: var(--primary);
}
.chip.red    { background: #FDECEA; color: var(--danger); }
.chip.orange { background: #FFF3E0; color: #E65100; }
.chip.blue   { background: #E3F2FD; color: #1565C0; }

/* ─── Success Screen ─────────────────────────────────────── */
.success-screen {
  display: none; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 60px 24px;
  min-height: 100vh; background: var(--bg);
}
.success-screen.show { display: flex; }
.success-icon {
  width: 110px; height: 110px; border-radius: 50%; margin-bottom: 24px;
  background: linear-gradient(135deg, var(--success), #2ECC71);
  display: flex; align-items: center; justify-content: center; font-size: 3.2rem;
  animation: successPop .5s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 8px 32px rgba(39,174,96,0.35);
}
@keyframes successPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.success-title { font-size: var(--text-2xl); font-weight: 800; margin-bottom: 8px; }
.success-msg   { font-size: var(--text-base); color: var(--text-mid); margin-bottom: 32px; }

/* ─── Modal ──────────────────────────────────────────────── */
.modal-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  display: none; align-items: flex-end; justify-content: center;
  z-index: 1000; padding: 0;
}
.modal-bg.show   { display: flex; animation: fadeIn .22s ease; }
.modal-box {
  background: white; border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 28px 20px 40px; width: 100%; max-width: 520px;
  animation: slideUp .28s cubic-bezier(.34,1.56,.64,1);
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ─── Review Section ─────────────────────────────────────── */
.review-section {
  background: white; border: 1px solid var(--border);
  border-radius: var(--r-lg); margin-bottom: 14px; overflow: hidden;
}
.review-section-title {
  padding: 12px 16px; background: var(--primary-bg);
  font-weight: 800; font-size: var(--text-sm); color: var(--primary);
  display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border);
}
.review-row {
  display: flex; padding: 10px 16px; border-bottom: 1px solid var(--border);
  font-size: var(--text-sm); gap: 8px;
}
.review-row:last-child { border-bottom: none; }
.review-label { font-weight: 600; color: var(--text-mid); min-width: 110px; }
.review-value { color: var(--text); flex: 1; }

/* ─── Page Header ────────────────────────────────────────── */
.page-header {
  display: flex; align-items: center; gap: 12px; padding: 16px 16px;
  background: white; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.back-btn  {
  width: 44px; height: 44px; border: 2px solid var(--border); background: white;
  border-radius: var(--r-md); display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; cursor: pointer; flex-shrink: 0;
  transition: var(--t);
}
.back-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-title { font-size: var(--text-lg); font-weight: 800; }

/* ─── Empty State ────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 60px 24px; color: var(--text-light);
}
.empty-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-state h3 { font-size: var(--text-lg); font-weight: 700; color: var(--text-mid); margin-bottom: 8px; }
.empty-state p  { font-size: var(--text-sm); }

/* ─── Utility ────────────────────────────────────────────── */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-muted  { color: var(--text-mid); }
.font-bold   { font-weight: 700; }
.mt-2  { margin-top: 8px; }
.mt-4  { margin-top: 16px; }
.mb-4  { margin-bottom: 16px; }
.p-4   { padding: 16px; }
.flex  { display: flex; }
.gap-2 { gap: 8px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (min-width: 420px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 600px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
}
