/* ===================================================
   KittyRescue.nz — Main Stylesheet
   =================================================== */

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

/* --- Design Tokens --- */
:root {
  --primary:        #0d9488;
  --primary-dark:   #0f766e;
  --primary-light:  #ccfbf1;
  --secondary:      #f97316;
  --secondary-dark: #ea580c;
  --accent:         #7c3aed;
  --success:        #16a34a;
  --warning:        #d97706;
  --danger:         #dc2626;

  --bg:             #fffbf5;
  --bg-alt:         #f0fdf9;
  --bg-dark:        #0f2027;
  --surface:        #ffffff;
  --border:         #e5e7eb;
  --text:           #1c1917;
  --text-muted:     #6b7280;
  --text-light:     #9ca3af;

  --nav-height:     72px;
  --radius-sm:      6px;
  --radius:         12px;
  --radius-lg:      20px;
  --radius-xl:      32px;

  --shadow:         0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:      0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:      0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl:      0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);

  --transition:     0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
main { flex: 1; }

h1, h2, h3, h4, h5 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; font-weight: 700; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-sm { max-width: 760px; }
.container-lg { max-width: 1400px; }

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0.75rem auto 0; }
.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text);
}
.nav-logo span { color: var(--primary); }
.nav-logo .paw { font-size: 1.6rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links a {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-muted);
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--surface);
  flex-direction: column;
  padding: 2rem 1.5rem;
  padding-top: calc(var(--nav-height) + 1rem);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.mobile-menu a:last-child { border-bottom: none; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: .65rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: white;
  color: var(--primary);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  color: var(--text);
  text-decoration: none;
}

.btn-lg { font-size: 1.05rem; padding: .85rem 2rem; }
.btn-sm { font-size: .85rem; padding: .45rem 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* --- Cards --- */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-body { padding: 1.5rem; }
.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

/* --- Cat Cards --- */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cat-card { position: relative; }

.cat-card-image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-alt);
}
.cat-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.cat-card:hover .cat-card-image img { transform: scale(1.05); }

.cat-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .75rem;
  padding: .25rem .7rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-available   { background: #dcfce7; color: #16a34a; }
.badge-sponsored   { background: #dbeafe; color: #1d4ed8; }
.badge-urgent      { background: #fef2f2; color: #dc2626; }
.badge-intake      { background: #fef9c3; color: #854d0e; }

.cat-card-body { padding: 1.25rem; }
.cat-card-body h3 { font-size: 1.2rem; margin-bottom: .25rem; }
.cat-meta {
  display: flex;
  gap: .75rem;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
}
.cat-meta span { display: flex; align-items: center; gap: .25rem; }
.cat-needs { font-size: .9rem; color: var(--text-muted); margin-bottom: 1rem; }

.cat-cost-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  padding: .3rem .75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230d9488' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content {}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(13,148,136,.25);
  border: 1px solid rgba(13,148,136,.4);
  color: #5eead4;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.hero h1 { color: white; margin-bottom: 1.25rem; }
.hero h1 span { color: #5eead4; }
.hero p { color: rgba(255,255,255,.8); font-size: 1.15rem; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat .num {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #5eead4;
}
.hero-stat .lbl { font-size: .85rem; color: rgba(255,255,255,.6); }

.hero-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-xl);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  padding: 2rem 1.5rem 1.5rem;
  color: white;
}
.hero-image-overlay p { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 1.05rem; margin: 0; }
.hero-image-overlay span { font-size: .85rem; opacity: .8; }

/* --- How It Works --- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.how-item {
  text-align: center;
  padding: 2rem;
}
.how-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
  color: var(--primary);
}
.how-item h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.how-item p { color: var(--text-muted); font-size: .95rem; }

/* --- Donation Progress --- */
.finance-section { background: var(--bg-alt); }
.finance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.finance-summary {}
.finance-summary h2 { margin-bottom: 1rem; }
.finance-summary p { color: var(--text-muted); }

.finance-totals {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.finance-total-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}
.finance-total-item .amount {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
}
.finance-total-item .label { font-size: .8rem; color: var(--text-muted); }
.amount-green { color: var(--success); }
.amount-red { color: var(--danger); }
.amount-amber { color: var(--warning); }

.progress-bars {}
.progress-item { margin-bottom: 1.25rem; }
.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: .4rem;
  font-size: .9rem;
}
.progress-header strong { font-family: 'Nunito', sans-serif; font-weight: 700; }
.progress-header span { color: var(--text-muted); font-size: .85rem; }
.progress-track {
  height: 10px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--primary);
  transition: width 1s ease;
}
.progress-fill.orange { background: var(--secondary); }
.progress-fill.purple { background: var(--accent); }
.progress-fill.green { background: var(--success); }

/* --- Sponsorship Packages --- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.package-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}
.package-card:hover, .package-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
  transform: translateY(-2px);
}
.package-card.featured {
  border-color: var(--secondary);
}
.package-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .75rem;
  padding: .2rem .75rem;
  border-radius: 100px;
}
.package-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.package-card h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.package-price {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--primary);
  margin: .5rem 0;
}
.package-price span { font-size: 1rem; color: var(--text-muted); }
.package-card ul { text-align: left; margin: 1rem 0; }
.package-card ul li {
  font-size: .9rem;
  color: var(--text-muted);
  padding: .25rem 0;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.package-card ul li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* --- Forms --- */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
  margin-bottom: .4rem;
}
.form-label .required { color: var(--danger); margin-left: .2rem; }
.form-hint { font-size: .8rem; color: var(--text-muted); margin-top: .3rem; }

.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.form-control::placeholder { color: var(--text-light); }

textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-check { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .5rem; }
.form-check input[type=checkbox], .form-check input[type=radio] { margin-top: .2rem; accent-color: var(--primary); width: 16px; height: 16px; flex-shrink: 0; }
.form-check label { font-size: .9rem; cursor: pointer; }

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: .95rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.alert-info    { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.alert-danger  { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* --- Payment Methods --- */
.payment-tabs {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.payment-tab {
  flex: 1;
  padding: .75rem;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--text-muted);
  background: var(--surface);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.payment-tab:last-child { border-right: none; }
.payment-tab.active { background: var(--primary); color: white; }
.payment-tab:hover:not(.active) { background: var(--bg-alt); }

.payment-panel { display: none; }
.payment-panel.active { display: block; }

.bank-details {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.bank-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.bank-detail-row:last-child { border-bottom: none; }
.bank-detail-row label { color: var(--text-muted); font-size: .85rem; }
.bank-detail-row strong { font-family: 'Nunito', sans-serif; font-weight: 700; }
.copy-btn {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: .8rem;
  padding: .2rem .5rem;
  border-radius: var(--radius-sm);
}
.copy-btn:hover { background: var(--primary-light); }

/* --- Report Form --- */
.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.report-tips {}
.report-tips h3 { margin-bottom: 1rem; }
.tip-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.tip-icon { font-size: 1.5rem; flex-shrink: 0; }

/* --- Page Header --- */
.page-header {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a3a4c 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}
.page-header h1 { color: white; }
.page-header p { color: rgba(255,255,255,.7); font-size: 1.1rem; max-width: 600px; margin: .75rem auto 0; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: .5rem;
}
.breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.breadcrumb a:hover { color: white; }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info {}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 1rem; margin-bottom: .2rem; }
.contact-item p { font-size: .9rem; color: var(--text-muted); }

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand {}
.footer-logo {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: white;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}
.footer-logo span { color: #5eead4; }
.footer p { font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.6); }
.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .9rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: white; }
.footer-col h4 { color: white; font-size: 1rem; margin-bottom: 1rem; }
.footer-col ul { }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { color: rgba(255,255,255,.6); font-size: .9rem; text-decoration: none; }
.footer-col ul li a:hover { color: #5eead4; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: white; }

/* --- Utilities --- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.bg-alt { background: var(--bg-alt); }

/* --- Filters --- */
.filter-bar {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  align-items: center;
}
.filter-bar select, .filter-bar input {
  flex: 0 0 auto;
  padding: .5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  background: var(--surface);
  color: var(--text);
}
.filter-pill {
  padding: .4rem .9rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: .85rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-pill:hover, .filter-pill.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* --- Sponsor Modal / Overlay --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}
.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 { margin: 0; }
.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
}
.modal-body { padding: 1.5rem; }

/* --- Toast --- */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.toast {
  background: var(--text);
  color: white;
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  animation: slideIn .3s ease;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .finance-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .how-grid { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .hero-stat .num { font-size: 1.5rem; }
  .finance-totals { grid-template-columns: 1fr; gap: .5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .section { padding: 3rem 0; }
}

@media (max-width: 480px) {
  .packages-grid { grid-template-columns: 1fr; }
  .cats-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; align-items: stretch; }
}
