/* ============================================================
   JUGAAD — India's Complaint Portal Directory
   Design: Civic/public-service utility — clean, editorial
   ============================================================ */

/* ── Custom Properties ── */
:root {
  --bg:           #f5f3ef;
  --bg-alt:       #eceae4;
  --surface:      #ffffff;
  --surface-alt:  #f9f8f5;

  --navy:         #1a2744;
  --navy-mid:     #243159;
  --navy-light:   #2e4080;

  --saffron:      #d4541a;
  --saffron-dark: #b84415;
  --saffron-mute: #f0e4dc;

  --green:        #2d6a4f;
  --green-mute:   #e0ede7;

  --text-primary:   #111827;
  --text-secondary: #4b5563;
  --text-muted:     #6b7280;
  --text-inverse:   #ffffff;

  --border:       #d1cec8;
  --border-dark:  #b5b2ac;
  --border-light: #e8e5e0;

  --shadow-xs:  0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05);

  --radius-sm:  4px;
  --radius-md:  6px;
  --radius-lg:  8px;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max-width:    1120px;
  --col-gap:      24px;
  --section-y:    72px;
  --header-h:     60px;

  --trans: 160ms ease;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

img { max-width: 100%; display: block; }

ul, ol { list-style: none; }

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .container { padding: 0 32px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 40px; }
}

/* ── Import Inter font ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');


/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  line-height: 1;
}

.logo-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo-tagline {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 2px;
  white-space: nowrap;
}

/* Nav */
.nav {
  display: none;
  gap: 4px;
  margin-left: auto;
}

@media (min-width: 768px) {
  .nav { display: flex; }
}

.nav a {
  padding: 6px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: color var(--trans), background var(--trans);
}

.nav a:hover {
  color: var(--text-primary);
  background: var(--bg-alt);
}

.nav a.active {
  color: var(--navy);
  font-weight: 600;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

@media (min-width: 768px) {
  .header-actions { margin-left: 0; }
}

.btn-header-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  transition: border-color var(--trans), color var(--trans);
}

.btn-header-search:hover {
  border-color: var(--border-dark);
  color: var(--text-primary);
}

/* Hamburger */
.btn-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4.5px;
  width: 36px;
  height: 36px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  transition: background var(--trans);
}

@media (min-width: 768px) {
  .btn-menu { display: none; }
}

.btn-menu span {
  display: block;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}

.btn-menu.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.btn-menu.open span:nth-child(2) { opacity: 0; }
.btn-menu.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 8px 0 16px;
  z-index: 99;
  box-shadow: var(--shadow-md);
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 0;
  transition: color var(--trans), background var(--trans);
}

.mobile-menu a:hover {
  color: var(--text-primary);
  background: var(--bg);
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
}

.hero-heading {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  max-width: 600px;
}

.hero-sub {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.65;
}

/* Search box */
.search-form {
  position: relative;
  max-width: 620px;
  margin-bottom: 18px;
}

.search-wrap {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--trans);
}

.search-wrap:focus-within {
  box-shadow: 0 0 0 3px rgba(26,39,68,0.12), var(--shadow-sm);
}

.search-icon-wrap {
  padding: 0 14px 0 16px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text-primary);
  padding: 14px 0;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-clear {
  padding: 0 10px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
  display: none;
  transition: color var(--trans);
}

.search-clear:hover { color: var(--text-primary); }

.search-submit {
  margin: 6px;
  padding: 8px 18px;
  background: var(--navy);
  color: var(--text-inverse);
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: background var(--trans);
  white-space: nowrap;
}

.search-submit:hover { background: var(--navy-light); }

/* Popular searches */
.popular-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.popular-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  transition: border-color var(--trans), color var(--trans), background var(--trans);
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--bg);
}


/* ============================================================
   SECTION HEADERS (shared)
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.section-sub {
  font-size: 14.5px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.6;
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.how-header { margin-bottom: 40px; }

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.how-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--text-inverse);
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-title {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.how-note {
  margin-top: 32px;
  padding: 14px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--navy);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 640px;
}


/* ============================================================
   CATEGORIES
   ============================================================ */
.categories-section {
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--border);
}

.categories-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-all-portals {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  padding: 7px 14px;
  border: 1px solid var(--navy);
  border-radius: var(--radius-md);
  transition: background var(--trans), color var(--trans);
}

.btn-all-portals:hover {
  background: var(--navy);
  color: var(--text-inverse);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 640px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(5, 1fr); }
}

.cat-card {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cat-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.cat-card.active {
  background: var(--navy);
  border-color: var(--navy);
}

.cat-card.active .cat-icon,
.cat-card.active .cat-name,
.cat-card.active .cat-count {
  color: var(--text-inverse);
}

.cat-card.active .cat-desc {
  color: rgba(255,255,255,0.65);
}

.cat-icon {
  font-size: 20px;
  line-height: 1;
  color: var(--text-secondary);
}

.cat-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.cat-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
  display: none;
}

@media (min-width: 640px) {
  .cat-desc { display: block; }
}

.cat-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}


/* ============================================================
   PORTAL DIRECTORY
   ============================================================ */
.directory-section {
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--border);
}

.directory-header {
  margin-bottom: 24px;
}

/* Filter bar */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.filter-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.filter-pill {
  padding: 4px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--trans);
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter-pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--text-inverse);
}

.filter-sort {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.filter-sort select {
  font-family: var(--font);
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 5px 10px;
  cursor: pointer;
  outline: none;
  transition: border-color var(--trans);
}

.filter-sort select:focus {
  border-color: var(--navy);
}

/* Results meta */
.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.results-count {
  font-size: 13px;
  color: var(--text-muted);
}

.results-count strong {
  color: var(--text-primary);
  font-weight: 600;
}

.btn-reset {
  font-size: 13px;
  font-weight: 500;
  color: var(--saffron);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background var(--trans);
}

.btn-reset:hover { background: var(--saffron-mute); }

/* Portal cards grid */
.portals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 640px) {
  .portals-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .portals-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Portal card */
.portal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color var(--trans), box-shadow var(--trans);
  position: relative;
}

.portal-card:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-sm);
}

.portal-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.portal-cat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--saffron);
  line-height: 1;
}

/* Official badge */
.badge-official {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-mute);
  border: 1px solid rgba(45,106,79,0.2);
  border-radius: var(--radius-sm);
  padding: 3px 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

.portal-name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.portal-name mark {
  background: rgba(212,84,26,0.12);
  color: var(--saffron-dark);
  border-radius: 2px;
  padding: 0 1px;
}

.portal-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}

.portal-desc mark {
  background: rgba(212,84,26,0.12);
  color: var(--saffron-dark);
  border-radius: 2px;
  padding: 0 1px;
}

/* Helpline */
.portal-helpline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 5px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.helpline-icon {
  font-size: 12px;
}

/* Tags */
.portal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
}

.tag {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
}

/* Card actions */
.portal-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-visit {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  background: var(--navy);
  color: var(--text-inverse);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background var(--trans);
  white-space: nowrap;
}

.btn-visit:hover { background: var(--navy-light); }

.btn-visit svg { flex-shrink: 0; }

.btn-copy-url {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--trans), color var(--trans), background var(--trans);
  flex-shrink: 0;
}

.btn-copy-url:hover {
  border-color: var(--border-dark);
  color: var(--text-primary);
}

.btn-copy-url.copied {
  color: var(--green);
  border-color: rgba(45,106,79,0.3);
  background: var(--green-mute);
}

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 56px 24px;
}

.empty-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.empty-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.empty-suggestions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 380px;
  margin: 0 auto;
}

.empty-suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color var(--trans);
  text-align: left;
}

.empty-suggestion:hover { border-color: var(--navy); }

.empty-suggestion-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.empty-suggestion-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 1px;
}

.empty-arrow {
  font-size: 14px;
  color: var(--text-muted);
}


/* ============================================================
   ESCALATION / BEFORE YOU ESCALATE
   ============================================================ */
.escalation-section {
  padding: var(--section-y) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.escalation-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .escalation-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.escalation-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
}

.escalation-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.escalation-item:last-child { border-bottom: none; }

.esc-num {
  width: 24px;
  height: 24px;
  background: var(--saffron-mute);
  color: var(--saffron-dark);
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.esc-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.esc-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Escalation ladder */
.ladder {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
}

.ladder-step {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.ladder-step:last-child { border-bottom: none; }

.ladder-step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  width: 24px;
  flex-shrink: 0;
  padding-top: 1px;
}

.ladder-step-body strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.ladder-step-body span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}


/* ============================================================
   TRUST SECTION
   ============================================================ */
.trust-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.trust-box {
  border: 1px solid var(--border);
  border-left: 3px solid var(--saffron);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px) {
  .trust-box { flex-direction: row; align-items: flex-start; gap: 24px; }
}

.trust-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}

.trust-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.trust-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.trust-warn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--saffron-dark);
  margin-top: 10px;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 640px) {
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
}

.footer-brand {}

.footer-logo-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  max-width: 260px;
}

.footer-verified {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.footer-col-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  transition: color var(--trans);
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
  transition: color var(--trans);
}

.footer-bottom a:hover { color: rgba(255,255,255,0.7); }


/* ============================================================
   UTILITIES
   ============================================================ */

/* Section spacing */
section + section { }

/* Divider */
.divider {
  height: 1px;
  background: var(--border-light);
}

/* Skip to main */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  padding: 8px 16px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  z-index: 200;
  border-radius: 0 0 var(--radius-md) 0;
  transition: top var(--trans);
}

.skip-link:focus { top: 0; }

/* Visually hidden (accessibility) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 3px; }

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
