/* ==========================================================================
   The Martinez Empowerment Group — Shared Stylesheet
   ========================================================================== */

:root {
  --purple-deep: #33104a;
  --purple: #4b1b6b;
  --purple-mid: #5f2688;
  --gold: #c9a227;
  --gold-light: #e6c95c;
  --lavender: #c9a6dc;
  --lavender-light: #f3e9f8;
  --cream: #fdf9f2;
  --white: #ffffff;
  --text-dark: #2a1035;
  --text-soft: #5a4a68;
  --shadow: 0 12px 30px rgba(51, 16, 74, 0.14);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3, h4, .display {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--purple-deep);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; color: var(--text-soft); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Ornament / dividers ---------- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold);
  margin: 0 0 18px;
}
.ornament svg { width: 22px; height: 22px; }
.ornament .rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: .6;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--purple-deep), var(--purple));
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.header-logo-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-logo-img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  line-height: 1.15;
}
.brand-name small {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--lavender);
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav-links a:hover,
.nav-links a.active {
  border-color: var(--gold);
  color: var(--gold-light);
}
.nav-cta {
  background: var(--gold);
  color: var(--purple-deep) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700 !important;
  border: none !important;
}
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 1rem;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--purple-deep);
    padding: 18px 24px 26px;
    gap: 16px;
    box-shadow: var(--shadow);
  }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 20% -10%, rgba(201,162,39,0.18), transparent 55%),
    linear-gradient(160deg, var(--purple-deep) 0%, var(--purple) 55%, var(--purple-mid) 100%);
  color: var(--white);
  padding: 84px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(230, 201, 92, 0.15);
}
.hero::before { top: -180px; right: -140px; }
.hero::after { bottom: -220px; left: -160px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  max-width: 820px;
  margin: 10px auto 14px;
}
.hero .subhead {
  color: var(--lavender-light);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 26px;
  font-weight: 300;
}
.hero .tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(230,201,92,0.5);
  padding: 8px 22px;
  border-radius: 999px;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 34px;
  text-transform: uppercase;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--purple-deep);
  box-shadow: 0 10px 24px rgba(201,162,39,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn:hover { transform: translateY(-2px); }

/* Info strip inside hero */
.info-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.info-chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--lavender-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-chip svg { width: 15px; height: 15px; color: var(--gold-light); flex-shrink: 0; }

/* ---------- Quote block ---------- */
.quote-block {
  background: var(--lavender-light);
  padding: 54px 0;
  text-align: center;
}
.quote-block blockquote {
  max-width: 760px;
  margin: 0 auto;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: var(--purple-deep);
  line-height: 1.5;
}
.quote-block cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-mid);
  font-weight: 600;
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--white); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-header p { font-size: 1.02rem; }

/* ---------- Pillars / Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(75,27,107,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(51,16,74,0.18); }
.card .icon-badge {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--lavender-light), #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(75,27,107,0.12);
}
.card .icon-badge svg { width: 60px; height: 60px; }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { margin-bottom: 18px; }
.card .card-link {
  font-weight: 700;
  color: var(--purple);
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card.on-dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
}
.card.on-dark h3, .card.on-dark p { color: var(--white); }
.card.on-dark p { color: var(--lavender-light); }

/* Curriculum list items */
.topic-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.topic-card h3 {
  font-size: 1.12rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.topic-card h3 svg { width: 22px; height: 22px; color: var(--purple); flex-shrink: 0; }
.topic-card ul { margin: 12px 0 0; padding-left: 20px; color: var(--text-soft); }
.topic-card li { margin-bottom: 6px; font-size: 0.94rem; }

/* Age band cards */
.age-band {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.age-band .age-tag {
  display: inline-block;
  background: var(--purple-deep);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.age-band h3 { font-size: 1.15rem; margin-bottom: 8px; }
.age-band ul { padding-left: 18px; margin: 10px 0 0; color: var(--text-soft); font-size: 0.92rem; }
.age-band li { margin-bottom: 5px; }

/* Timeline / session walkthrough */
.timeline { position: relative; margin-top: 20px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--gold), var(--lavender));
}
.timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 36px;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--purple-deep);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.72rem;
  flex-shrink: 0;
  z-index: 1;
  border: 3px solid var(--cream);
  text-align: center;
  line-height: 1.1;
}
.timeline-body { background: var(--white); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); flex: 1; }
.timeline-body h4 { margin-bottom: 6px; font-size: 1.08rem; }
.timeline-body p:last-child { margin-bottom: 0; }
.timeline-body .say {
  background: var(--lavender-light);
  border-left: 3px solid var(--purple);
  padding: 10px 14px;
  border-radius: 8px;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--purple-deep);
  margin-top: 10px;
}

/* Prompt template card */
.prompt-card {
  background: var(--purple-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.prompt-card h4 { color: var(--gold-light); font-size: 1.05rem; margin-bottom: 12px; }
.prompt-card pre {
  white-space: pre-wrap;
  font-family: 'Courier New', monospace;
  font-size: 0.84rem;
  color: var(--lavender-light);
  background: rgba(0,0,0,0.18);
  padding: 18px;
  border-radius: 10px;
  line-height: 1.6;
  margin: 0;
}

/* Values / list with check icons */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.98rem;
  color: var(--text-soft);
}
.check-list svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ---------- Registration strip ---------- */
.reg-strip {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid));
  color: var(--white);
  padding: 40px 0;
}
.reg-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.reg-items {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.reg-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.reg-item svg { width: 26px; height: 26px; color: var(--gold-light); flex-shrink: 0; }
.reg-item b { display: block; color: var(--gold-light); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- CTA banner ---------- */
.cta-banner {
  text-align: center;
  padding: 70px 0;
  background: var(--lavender-light);
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { max-width: 560px; margin: 0 auto 26px; }
.phone-link { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--purple-deep); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-deep);
  color: var(--lavender-light);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-tagline {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-light);
  font-weight: 600;
}
.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Stats ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-item {
  text-align: center;
  padding: 30px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--purple-deep);
  display: block;
}
.stat-item .num span { color: var(--gold); }
.stat-item .label {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 6px;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.note-box {
  background: var(--lavender-light);
  border-left: 4px solid var(--purple);
  padding: 18px 22px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--purple-deep);
}
.source-note { font-size: 0.78rem; color: var(--text-soft); margin-top: 6px; }
