/* ============================================================
   GrabNGive — Shared Styles
   Consistent, modern CSS across all pages
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green-deep: #1a3a2a;
  --green-mid: #2d6a4f;
  --green-bright: #40916c;
  --green-light: #74c69d;
  --cream: #fefae0;
  --warm: #dda15e;
  --warm-dark: #bc6c25;
  --text: #1a1a1a;
  --text-light: #555;
  --border: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --transition: 0.2s ease;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: var(--font-head); }
a { color: inherit; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  background: var(--green-deep);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav-brand {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-brand span { color: var(--warm); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.nav-links a:hover { color: white; background: rgba(255,255,255,0.1); }
.nav-links a.active { color: white; background: rgba(116,198,157,0.2); }
.nav-cta {
  background: var(--warm) !important;
  color: white !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--warm-dark) !important; }
.nav-cta-sponsor {
  background: rgba(116,198,157,0.18) !important;
  color: var(--green-light) !important;
  font-weight: 600 !important;
  border: 1px solid rgba(116,198,157,0.3) !important;
}
.nav-cta-sponsor:hover { background: rgba(116,198,157,0.3) !important; color: white !important; }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  background: var(--green-mid);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:hover { background: var(--green-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn-warm { background: var(--warm); }
.btn-warm:hover { background: var(--warm-dark); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--green-mid);
  color: var(--green-mid);
}
.btn-outline:hover { background: var(--green-mid); color: white; }
.btn-danger { background: #dc3545; }
.btn-danger:hover { background: #a71d2a; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* Loading spinner inside button */
.btn .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

/* ============================================================
   CARDS & PANELS
   ============================================================ */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
}
.card-sm { padding: 20px 24px; }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: white;
  color: var(--text);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(64,145,108,0.12);
}
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220,53,69,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }

/* Inline error message */
.field-error {
  display: none;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #dc3545;
  font-weight: 500;
}
.field-error.show { display: flex; }

/* Success state */
.field-success {
  display: none;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--green-mid);
  font-weight: 500;
}
.field-success.show { display: flex; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .form-group.full { grid-column: 1 / -1; }
.form-actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   BADGES & STATUS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.badge-available { background: rgba(45,106,79,0.1); color: var(--green-mid); }
.badge-claimed { background: rgba(221,161,94,0.15); color: var(--warm-dark); }
.badge-delivered { background: rgba(116,198,157,0.2); color: var(--green-deep); }
.badge-cancelled { background: rgba(0,0,0,0.06); color: var(--text-light); }
.badge-expired { background: rgba(220,53,69,0.1); color: #dc3545; }

/* ============================================================
   LISTING CARDS
   ============================================================ */
.listing-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 14px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.listing-card:hover {
  border-color: rgba(45,106,79,0.18);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.listing-card.claimed { border-left: 4px solid var(--warm); }
.listing-card.delivered { border-left: 4px solid var(--green-light); opacity: 0.7; }
.listing-card.expired { opacity: 0.5; }

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: 24px;
  background: var(--green-deep);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  box-shadow: var(--shadow-md);
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; pointer-events: all; }
.toast.error { background: #dc3545; }
.toast.success { background: var(--green-mid); }
.toast-icon { flex-shrink: 0; }

/* ============================================================
   LOADING STATES
   ============================================================ */
.page-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  gap: 16px;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(45,106,79,0.15);
  border-top-color: var(--green-mid);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.page-loading p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Skeleton card loader */
.skeleton-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 14px;
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
}
.skeleton-line {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  margin-bottom: 12px;
}
.skeleton-line.short { width: 40%; }
.skeleton-line.medium { width: 65%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 56px 24px;
}
.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}
.empty-state h3 {
  color: var(--green-mid);
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.empty-state p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ============================================================
   PAGE LAYOUT
   ============================================================ */
.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.page-header { margin-bottom: 36px; }
.page-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.page-header p { color: var(--text-light); font-size: 1rem; }

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.modal-overlay.show { display: flex; }
.modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-md);
}
.modal h2 { font-size: 1.3rem; margin-bottom: 8px; color: var(--green-deep); }
.modal p { color: var(--text-light); margin-bottom: 20px; font-size: 0.95rem; line-height: 1.6; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { background: rgba(0,0,0,0.06); color: var(--text); }

/* ============================================================
   HERO (index.html only)
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 24px 60px;
  position: relative;
  background: linear-gradient(160deg, var(--green-deep) 0%, #1e4d3a 40%, var(--green-mid) 100%);
  color: white;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116,198,157,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221,161,94,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.hero-tag {
  display: inline-block;
  background: rgba(116,198,157,0.2);
  border: 1px solid rgba(116,198,157,0.3);
  color: var(--green-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 32px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -2px;
}
.hero h1 span { color: var(--warm); }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  line-height: 1.65;
  max-width: 580px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.hero-btn-primary { background: var(--warm); color: white; }
.hero-btn-primary:hover { background: var(--warm-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.hero-btn-secondary { background: rgba(255,255,255,0.12); color: white; border: 1px solid rgba(255,255,255,0.2); }
.hero-btn-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* Hero transparent nav */
.nav-transparent {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
  box-shadow: none;
  transition: background 0.3s;
}
.nav-transparent.scrolled { background: rgba(26,58,42,0.95) !important; }

/* ============================================================
   STAT BAR (index.html)
   ============================================================ */
.stat-bar { background: white; border-bottom: 1px solid #eee; }
.stat-bar-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 40px 24px; text-align: center; border-right: 1px solid #eee; }
.stat:last-child { border-right: none; }
.stat-number { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--green-mid); margin-bottom: 6px; }
.stat-label { font-size: 0.9rem; color: var(--text-light); line-height: 1.4; }

/* ============================================================
   CONTENT SECTIONS (index.html)
   ============================================================ */
.section { padding: 96px 24px; }
.section-dark { background: var(--green-deep); color: white; }
.section-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green-bright);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-dark .section-label { color: var(--warm); }
.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 56px;
  max-width: 580px;
  line-height: 1.15;
}
.how-inner, .why-inner, .cta-inner { max-width: 1000px; margin: 0 auto; }
.cta-inner { max-width: 860px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step-num { font-family: var(--font-head); font-size: 3.8rem; font-weight: 700; color: rgba(45,106,79,0.1); line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; color: var(--green-deep); }
.step p { font-size: 0.93rem; line-height: 1.65; color: var(--text-light); }
.section-dark .step h3 { color: var(--green-light); }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.why-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; color: var(--green-light); }
.why-card p { font-size: 0.93rem; line-height: 1.65; color: rgba(255,255,255,0.7); }

.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cta-card {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  text-align: center;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.cta-card:hover { border-color: var(--green-light); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cta-icon { font-size: 2.8rem; margin-bottom: 18px; display: block; }
.cta-card h3 { font-size: 1.35rem; font-weight: 700; color: var(--green-deep); margin-bottom: 10px; }
.cta-card p { font-size: 0.93rem; color: var(--text-light); line-height: 1.6; margin-bottom: 24px; }
.cta-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}
.cta-btn-store { background: var(--green-mid); color: white; }
.cta-btn-store:hover { background: var(--green-deep); }
.cta-btn-vol { background: var(--warm); color: white; }
.cta-btn-vol:hover { background: var(--warm-dark); }

/* Closing section */
.closing { padding: 110px 24px; text-align: center; background: var(--cream); }
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--green-deep);
}
.closing h2 span { color: var(--warm-dark); }
.closing p { font-size: 1.05rem; line-height: 1.7; color: var(--text-light); max-width: 500px; margin: 0 auto; }

footer { padding: 36px 24px; text-align: center; background: var(--green-deep); color: rgba(255,255,255,0.45); }
footer p { font-size: 0.83rem; }
footer a { color: var(--green-light); text-decoration: none; }

/* ============================================================
   TABS (volunteer.html)
   ============================================================ */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: white;
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
}
.tab {
  flex: 1;
  padding: 12px 16px;
  text-align: center;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-light);
  border: none;
  background: transparent;
  font-family: var(--font-body);
}
.tab.active { background: var(--green-mid); color: white; }
.tab:hover:not(.active) { background: rgba(45,106,79,0.07); }
.tab-count {
  display: inline-block;
  background: rgba(255,255,255,0.3);
  padding: 1px 8px;
  border-radius: 100px;
  font-size: 0.73rem;
  margin-left: 5px;
}
.tab:not(.active) .tab-count { background: rgba(45,106,79,0.12); color: var(--green-mid); }

/* ============================================================
   TIME BADGE
   ============================================================ */
.time-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(45,106,79,0.08);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  color: var(--green-mid);
  font-weight: 500;
}
.time-badge.urgent { background: rgba(220,53,69,0.08); color: #dc3545; }

/* ============================================================
   ENTRY CARDS (store/volunteer name entry)
   ============================================================ */
.entry-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 32px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
}
.entry-card label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 10px;
  color: var(--green-deep);
}
.entry-row {
  display: flex;
  gap: 12px;
  position: relative;
}
.entry-row input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color var(--transition);
}
.entry-row input:focus { outline: none; border-color: var(--green-bright); box-shadow: 0 0 0 3px rgba(64,145,108,0.12); }
.entry-row input.error { border-color: #dc3545; }

/* ============================================================
   VOLUNTEER NOTIFICATION SIGNUP
   ============================================================ */
.notify-card {
    background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 28px;
    color: white;
    position: relative;
    overflow: hidden;
}
.notify-card::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 120px; height: 120px;
    background: rgba(116,198,157,0.12);
    border-radius: 50%;
}
.notify-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.notify-card > p { font-size: 0.875rem; color: rgba(255,255,255,0.75); margin-bottom: 16px; }
.notify-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.notify-form input {
    flex: 1;
    min-width: 140px;
    padding: 11px 16px;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    background: rgba(255,255,255,0.15);
    color: white;
    outline: none;
}
.notify-form input::placeholder { color: rgba(255,255,255,0.5); }
.notify-form input:focus { background: rgba(255,255,255,0.22); }
.btn-notify {
    padding: 11px 22px;
    background: var(--warm);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.btn-notify:hover { background: var(--warm-dark); }
.notify-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(116,198,157,0.2);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 500;
}
.notify-count {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 10px;
}

/* ============================================================
   RESPONSIVE (Mobile-first)
   ============================================================ */
@media (max-width: 768px) {
  /* Nav */
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--green-deep);
    flex-direction: column;
    padding: 12px 16px 20px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: left; padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav-brand { font-size: 1.15rem; }

  /* Entry row */
  .entry-row { flex-direction: column; }
  .entry-row .btn { width: 100%; }

  /* Form grid */
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }

  /* Stats */
  .stat-bar-inner { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid #eee; padding: 24px 20px; }
  .stat:last-child { border-bottom: none; }

  /* How section */
  .steps { grid-template-columns: 1fr; gap: 32px; }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr; }

  /* CTA grid */
  .cta-grid { grid-template-columns: 1fr; }

  /* Hero */
  .hero { padding: 70px 20px 50px; min-height: auto; }
  .hero-actions { flex-direction: column; }
  .hero-btn { justify-content: center; }

  /* Section padding */
  .section { padding: 64px 20px; }
  .closing { padding: 80px 20px; }

  /* Listing card */
  .listing-header { flex-direction: column; gap: 8px; }
  .listing-footer { flex-direction: column; gap: 10px; align-items: stretch; }
  .listing-footer .btn { text-align: center; }

  /* Toast mobile full-width */
  .toast { left: 16px; right: 16px; bottom: 16px; }

  /* Modal */
  .modal { padding: 28px 24px; }
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal { border-radius: var(--radius-xl) var(--radius-xl) 0 0; max-width: 100%; }
}

@media (max-width: 480px) {
  .page { padding: 28px 16px 64px; }
  .card { padding: 20px 18px; }
  .entry-card { padding: 20px 18px; }
  .cta-card { padding: 32px 20px; }
}