/* ============================================================
   AL-MA'RIFAH ACADEMY — MOBILE-FIRST STYLESHEET
   Base styles = mobile. Wider screens via min-width breakpoints.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Cormorant+Garamond:ital,wght@1,500&family=Nunito+Sans:wght@300;400;600;700&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --teal:        #1AADAD;
  --teal-dark:   #0D8A8A;
  --teal-light:  #E8F7F7;
  --gold:        #C9A227;
  --gold-light:  #F0DFA0;
  --gold-dark:   #9A7A1A;
  --navy:        #1C2744;
  --navy-mid:    #2C3A5E;
  --white:       #FFFFFF;
  --off-white:   #F8F6F0;
  --text:        #2C2C2C;
  --text-muted:  #666666;
  --border:      #E0DDD5;
  --shadow:      0 4px 24px rgba(28,39,68,0.10);
  --radius:      12px;
  --radius-sm:   6px;

  /* Spacing scale */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-6: 3rem;
  --sp-8: 4rem;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img  { max-width: 100%; display: block; }
a    { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--gold-dark); }

/* ── BASE TYPOGRAPHY (mobile) ────────────────────────────── */
body {
  font-family: 'Nunito Sans', sans-serif;
  background: var(--off-white);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}

h1,h2,h3,h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.25;
}

/* Mobile sizes first */
h1 { font-size: 1.8rem;  margin-bottom: var(--sp-2); }
h2 { font-size: 1.4rem;  margin-bottom: var(--sp-1); }
h3 { font-size: 1.15rem; margin-bottom: var(--sp-1); }
h4 { font-size: 1rem; }
p  { margin-bottom: var(--sp-2); }

@media (min-width: 600px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
}
@media (min-width: 960px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.4rem; }
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-3);
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 44px;
  width: auto;
  /* no filter — logo displays naturally with white background pill */
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text .name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}
.nav-logo-text .sub {
  font-size: 0.62rem;
  color: var(--teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Hamburger toggle — visible on mobile */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu — hidden by default */
.nav-menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0; right: 0;
  background: var(--navy);
  list-style: none;
  padding: var(--sp-2) 0 var(--sp-3);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.08);
  /* Allow scroll if many items */
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.nav-menu.open { display: block; }

/* Mobile nav links — large touch targets */
.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem var(--sp-4);
  color: rgba(255,255,255,0.88);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  min-height: 48px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-link:hover { color: var(--gold); background: rgba(255,255,255,0.04); }

.nav-arrow { font-size: 0.7rem; transition: transform 0.2s; opacity: 0.6; }
.nav-item.open .nav-arrow { transform: rotate(180deg); }

/* Mobile dropdowns */
.dropdown {
  display: none;
  background: rgba(255,255,255,0.05);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.nav-item.open .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 0.75rem var(--sp-4) 0.75rem calc(var(--sp-4) + 1rem);
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.dropdown a:hover { color: var(--teal); background: rgba(255,255,255,0.04); }
.dropdown a::before { content: '›'; margin-right: 0.6rem; color: var(--teal); }

/* Donate CTA in mobile menu */
.nav-donate .nav-link {
  color: var(--gold);
  font-weight: 700;
}

/* ── DESKTOP NAV (min-width: 960px) ──────────────────────── */
@media (min-width: 960px) {
  .navbar { position: sticky; }

  .nav-inner { height: 72px; }
  .nav-logo img { height: 52px; }
  .nav-logo-text .name { font-size: 1.05rem; }
  .nav-logo-text .sub  { font-size: 0.68rem; }

  .nav-toggle { display: none; }

  .nav-menu {
    display: flex !important;
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
    align-items: center;
    gap: 0;
    max-height: none;
    overflow: visible;
  }

  .nav-item { position: relative; }

  .nav-link {
    height: 72px;
    min-height: 0;
    padding: 0 1rem;
    border-bottom: none;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    justify-content: center;
  }
  .nav-arrow { display: inline; }
  .nav-item:hover .nav-link { color: var(--gold); background: rgba(255,255,255,0.04); }

  /* Desktop dropdown */
  .dropdown {
    position: absolute;
    top: 72px;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-top: 3px solid var(--gold);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-radius: 0 0 var(--radius) var(--radius);
    overflow: hidden;
  }
  .nav-item:hover .dropdown { display: block; }
  .nav-item.open .dropdown  { display: block; }
  .dropdown a {
    color: var(--navy);
    padding: 0.8rem 1.2rem 0.8rem 1.4rem;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
    min-height: 0;
    display: block;
  }
  .dropdown a:last-child { border-bottom: none; }
  .dropdown a:hover { background: var(--teal-light); color: var(--teal-dark); }
  .dropdown a::before { display: none; }

  /* Donate button pill */
  .nav-donate .nav-link {
    background: var(--gold);
    color: var(--navy);
    border-radius: var(--radius-sm);
    height: 40px;
    min-height: 0;
    padding: 0 1.2rem;
    margin-left: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
  }
  .nav-donate .nav-link:hover { background: var(--gold-dark); color: white; }
  .nav-donate:hover .dropdown { top: 72px; }
}

/* ── ANNOUNCEMENT BANNER ─────────────────────────────────── */
.announcement {
  background: var(--teal);
  padding: 0.65rem var(--sp-3);
  text-align: center;
}
.announcement p {
  color: white;
  margin: 0;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.5;
}
.announcement a { color: var(--gold-light); font-weight: 700; }

/* ── HERO (mobile first) ─────────────────────────────────── */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url('islamic-pattern.jpg');
  background-size: 300px 300px;
  background-repeat: repeat;
  opacity: 0.07;
  mix-blend-mode: luminosity;
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-6) var(--sp-3) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 16px 50px rgba(0,0,0,0.4);
  order: -1; /* image first on mobile */
}
.hero-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.hero-text h1      { color: var(--white); }
.hero-text h1 span { color: var(--gold); display: block; }
.hero-text .tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--gold);
  font-style: bold;
  margin-bottom: var(--sp-1);
}
.hero-text p { color: rgba(255,255,255,0.78); font-size: 1rem; }
.hero-btns {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}

@media (min-width: 480px) {
  .hero-btns { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 820px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
    padding: var(--sp-8) var(--sp-4);
    gap: var(--sp-6);
  }
  .hero-text  { flex: 1 1 0; }
  .hero-image { flex: 1 1 0; order: 0; }
  .hero-image img { aspect-ratio: 4/3; }
  .hero-text h1 { font-size: 2.6rem; }
  .hero-text .tagline { font-size: 1.35rem; }
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.22s;
  cursor: pointer;
  border: none;
  min-height: 48px; /* touch-friendly */
  white-space: nowrap;
}
.btn-gold    { background: var(--gold); color: var(--navy); }
.btn-gold:hover  { background: var(--gold-dark); color: white; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,162,39,0.35); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,0.4); color: white; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-teal    { background: var(--teal); color: white; }
.btn-teal:hover  { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,173,173,0.3); }
.btn-full    { width: 100%; }

/* ── SECTIONS ────────────────────────────────────────────── */
.section { padding: var(--sp-8) var(--sp-3); }
@media (min-width: 960px) {
  .section { padding: 5rem var(--sp-4); }
}

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-light     { background: var(--off-white); }
.section-white     { background: var(--white); }
.section-navy      { background: var(--navy); }
.section-teal-light{ background: var(--teal-light); }

.section-header { margin-bottom: var(--sp-4); }
.section-header.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: var(--sp-1);
}
.section-divider {
  width: 56px; height: 3px;
  background: linear-gradient(to right, var(--gold), var(--teal));
  border-radius: 3px;
  margin-top: 0.75rem;
}
.section-divider.centered { margin-left: auto; margin-right: auto; }

/* ── CARDS GRID ──────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}
@media (min-width: 540px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .cards-grid { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--sp-4);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--teal);
  transition: transform 0.22s, box-shadow 0.22s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(28,39,68,0.14); }
.card.gold-top { border-top-color: var(--gold); }

.card-icon {
  width: 50px; height: 50px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-2);
  font-size: 1.3rem;
}
.card.gold-top .card-icon { background: #FFF8E7; }

/* ── TWO-COL LAYOUT ──────────────────────────────────────── */
.two-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
@media (min-width: 820px) {
  .two-col {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--sp-6);
  }
  .two-col > * { flex: 1 1 0; }
}

/* ── FORMS ───────────────────────────────────────────────── */
.form-container {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-3);
  box-shadow: var(--shadow);
}
@media (min-width: 600px) {
  .form-container { padding: var(--sp-6) 2.5rem; }
}

.form-group { margin-bottom: var(--sp-3); }

label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
label .req { color: var(--gold-dark); margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;  /* prevents iOS zoom */
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
  min-height: 48px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,173,173,0.15);
  background: white;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
textarea { resize: vertical; min-height: 120px; }

.form-row { display: flex; flex-direction: column; gap: var(--sp-2); }
@media (min-width: 540px) {
  .form-row { flex-direction: row; }
  .form-row .form-group { flex: 1; }
}

.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.3rem; }

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 0;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--teal);
  cursor: pointer;
}
.checkbox-group label { font-weight: 400; color: var(--text); cursor: pointer; }

/* ── PAGE HERO ───────────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: var(--sp-6) var(--sp-3) var(--sp-4);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('islamic-pattern.jpg');
  background-size: 280px 280px;
  background-repeat: repeat;
  opacity: 0.08;
  mix-blend-mode: luminosity;
}
.page-hero-inner { position: relative; max-width: 1200px; margin: 0 auto; }

.breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.05em;
}
.breadcrumb a { color: var(--teal); }
.breadcrumb span { margin: 0 0.4rem; }

.page-hero h1     { color: white; }
.page-hero .subtitle {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  max-width: 600px;
  margin-top: var(--sp-1);
}
@media (min-width: 600px) {
  .page-hero { padding: var(--sp-8) var(--sp-4) var(--sp-6); }
  .page-hero .subtitle { font-size: 1.1rem; }
}

/* ── INFO BOXES ──────────────────────────────────────────── */
.info-box {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--sp-2) var(--sp-3);
  margin: var(--sp-3) 0;
}
.info-box.gold { background: #FFF8E0; border-color: var(--gold); }
.info-box p { margin: 0; font-size: 0.92rem; color: var(--navy); }

/* ── TABLE ───────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
@media (min-width: 600px) { table { white-space: normal; } }
thead { background: var(--navy); }
thead th {
  padding: 0.9rem 1rem;
  text-align: left;
  color: white;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
tbody tr:nth-child(even) { background: var(--teal-light); }
tbody td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }

/* ── DONATE AMOUNTS ──────────────────────────────────────── */
.donate-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.amount-btn {
  padding: 0.9rem var(--sp-1);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--off-white);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.18s;
  text-align: center;
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
}
.amount-btn:hover, .amount-btn.active {
  border-color: var(--teal);
  background: var(--teal-light);
  color: var(--teal-dark);
}

.stripe-btn {
  width: 100%;
  padding: 1rem;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s;
  margin-top: var(--sp-2);
  min-height: 52px;
  -webkit-tap-highlight-color: transparent;
}
.stripe-btn:hover { background: var(--gold-dark); color: white; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,162,39,0.3); }

/* ── MAP ─────────────────────────────────────────────────── */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 3px solid var(--border); }
.map-embed iframe { display: block; width: 100%; height: 280px; }
@media (min-width: 600px) { .map-embed iframe { height: 380px; } }
@media (min-width: 960px) { .map-embed iframe { height: 440px; } }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.72);
  padding: var(--sp-6) var(--sp-3) var(--sp-4);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
@media (min-width: 540px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-6); }
}

.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-brand .brand-name {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-col h4 {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  margin-bottom: var(--sp-2);
  padding-bottom: var(--sp-1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: rgba(255,255,255,0.68);
  font-size: 0.88rem;
  transition: color 0.2s;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.footer-col a:hover { color: var(--teal); }

.footer-contact p {
  font-size: 0.88rem;
  margin-bottom: var(--sp-1);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.footer-contact span { opacity: 0.5; min-width: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  font-size: 0.8rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-bottom a { color: var(--teal); }

/* ── UTILITY ─────────────────────────────────────────────── */
.text-center  { text-align: center; }
.text-gold    { color: var(--gold-dark); }
.text-teal    { color: var(--teal-dark); }
.mb-1 { margin-bottom: var(--sp-1); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }

.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.badge-teal { background: var(--teal-light); color: var(--teal-dark); }
.badge-gold { background: #FFF3CC; color: var(--gold-dark); }

.success-msg {
  display: none;
  background: #E8F7F0;
  border: 2px solid #27AE60;
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  color: #1A7A45;
  font-weight: 600;
  text-align: center;
  margin-top: var(--sp-2);
  font-size: 0.95rem;
}

/* Prevent content jumping when mobile nav opens */
body.nav-open { overflow: hidden; }
