/* Design system — gregmarrs.com v3
 * Locked palette + type scale per build-spec §7 + §8
 * Engineer applies CSS classes from this file only. No new classes invented.
 */

:root {
  /* Surfaces (cool, purple-tinted) */
  --bg-deep:    #FFFFFF;
  --bg-card:    rgba(133, 54, 248, 0.06);
  --bg-soft:    rgba(133, 54, 248, 0.1);

  /* Accent (warm) — the Plasmic gradient */
  --gold:        #8636F8;
  --gold-light:  #F020B3;
  --gold-deep:   #d8158a;
  --gold-violet: #F8475E;
  --gold-orange: #FF9421;
  --gold-yellow: #FF9421;

  /* Text (cool) */
  --text:        #1a0033;
  --body:        #4a4060;
  --muted:       #8a85a0;
  --divider:     rgba(134, 54, 248, 0.14);

  /* Status */
  --whatsapp:    #25D366;
  --danger:      #E5484D;

  /* Plasmic-style multi-gradient system */
  --p-purple:   #8636F8;
  --p-magenta:  #F020B3;
  --p-coral:    #F8475E;
  --p-orange:   #FF9421;
  --p-blue:     #00AAFF;
  --p-gold:     #FFB800;
  --p-pink:     #F8367C;
  --p-blue-deep:#1473e3;
  --p-dark:     #030208;
  --p-dark-2:   #110a18;
  --p-light:    #f8f8f8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.3rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--gold-deep); }

h1, h2, h3, h4 {
  font-family: 'Geist', system-ui, sans-serif;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}
h1 { font-size: clamp(2.75rem, 5.5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; margin-bottom: 0.75em; }
h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 600; margin-bottom: 0.6em; }
h4 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5em; }

p { color: var(--body); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.125rem; line-height: 1.7; }

.eyebrow {
  font-family: 'Geist Mono', 'Menlo', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1.5rem;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(134, 54, 248, 0.6);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.mono-sm {
  font-family: 'Geist Mono', 'Menlo', monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
}

.gradient-text, .hero-gradient, h1 .hero-line:nth-child(2) {
  background: linear-gradient(60deg, #8636F8 0%, #F020B3 34%, #F8475E 67%, #FF9421 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 32px rgba(134,54,248,0.35));
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section spacing */
section { padding: 4.5rem 0; }
section + section { padding-top: 0; }
section h2 { margin-bottom: 1.25rem; }

/* Section backgrounds */
.bg-white     { background: #ffffff; }
.bg-light     { background: #f8f8f8; }
.bg-dark      { background: #030208; color: #fff; }
.bg-dark-2    { background: #110a18; color: #fff; }
.bg-cream     { background: #fdfaf3; }
.bg-mint      { background: #e8f5f0; }
.bg-lavender  { background: #f5f2ff; }
.bg-tint-purple { background: linear-gradient(180deg, #f5f2ff 0%, #ffffff 100%); }
.bg-tint-orange { background: linear-gradient(180deg, #fff4e6 0%, #ffffff 100%); }
.bg-tint-pink   { background: linear-gradient(180deg, #ffe6f5 0%, #ffffff 100%); }
.bg-tint-mint   { background: linear-gradient(180deg, #e8faf0 0%, #ffffff 100%); }
.bg-grad-dark-purple {
  background: radial-gradient(ellipse at 20% 30%, rgba(134, 54, 248, 0.4) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(240, 32, 179, 0.3) 0%, transparent 50%),
              #030208;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.bg-grad-dark-purple::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 148, 33, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.bg-grad-dark-blue {
  background: radial-gradient(ellipse at 20% 30%, rgba(0, 170, 255, 0.4) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(20, 115, 227, 0.3) 0%, transparent 50%),
              #030208;
  color: #fff;
  position: relative; overflow: hidden;
}
.bg-grad-dark-magenta {
  background: radial-gradient(ellipse at 30% 20%, rgba(240, 32, 179, 0.4) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(248, 71, 94, 0.3) 0%, transparent 50%),
              #110a18;
  color: #fff;
  position: relative; overflow: hidden;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--divider);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px;
  gap: 1.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; color: var(--text);
  font-size: 1.05rem; letter-spacing: -0.01em;
}
.brand:hover { color: var(--gold); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #8636F8 0%, #F020B3 100%);
  color: #fff; font-weight: 800; font-size: 0.9rem;
}
.nav-desktop {
  display: flex; align-items: center; gap: 1.5rem;
  font-size: 0.95rem;
}
.nav-desktop a {
  color: var(--text); font-weight: 500;
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
}
.nav-desktop a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.nav-toggle {
  display: none;
  background: transparent; border: 0; padding: 0.5rem; cursor: pointer;
  color: var(--text);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-mobile {
  display: none;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--divider);
  padding: 1rem 1.5rem 1.5rem;
}
.nav-mobile a {
  display: block; padding: 0.75rem 0;
  color: var(--text); font-weight: 500;
  border-bottom: 1px solid var(--divider);
}
.nav-mobile a:last-child { border-bottom: 0; }
@media (max-width: 880px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile.is-open { display: block; }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5em;
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  text-align: center;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #8636F8 0%, #F020B3 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(134, 54, 248, 0.35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 40px rgba(134, 54, 248, 0.5); }
.btn-secondary {
  background: rgba(134, 54, 248, 0.08);
  color: var(--text);
  border-color: rgba(134, 54, 248, 0.18);
}
.btn-secondary:hover { background: rgba(134, 54, 248, 0.14); color: var(--text); }
.btn-lg { padding: 1em 1.8em; font-size: 1.05rem; }

/* ========== HERO ========== */
.hero {
  padding: 5.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  margin: 0 0 1.5rem;
  display: block;
}
.hero h1 .hero-line {
  display: block;
}
.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--body);
  max-width: 640px;
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 1.5rem;
}
.hero-trustline {
  font-size: 0.9rem;
  color: var(--muted);
  font-family: 'Geist Mono', monospace;
  letter-spacing: 0.04em;
}

/* ========== MARQUEE ========== */
.marquee {
  padding: 1.25rem 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: var(--bg-lavender);
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 3rem; white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: 'Geist Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--text);
}
.marquee-item { color: var(--text); }
.marquee-sep { color: var(--gold); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== STATS GRID ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.stat-card {
  padding: 1.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: 16px;
  text-align: left;
}
.stat-value {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(60deg, #8636F8 0%, #F020B3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ========== PROCESS / CARD GRIDS ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
}
.card {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(134, 54, 248, 0.12);
  border-color: rgba(134, 54, 248, 0.3);
}
.card .step {
  font-family: 'Geist Mono', monospace;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.98rem; }

.service-card { display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.15rem; }
.service-card p { flex-grow: 1; }
.service-card .card-link {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}

.location-card {
  position: relative;
  overflow: hidden;
}
.location-card .location-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.location-card .location-landmark {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ========== TRUST BAND ========== */
.trust-band {
  padding: 2.5rem 0;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text);
  background: var(--bg-lavender);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

/* ========== CTA STRIP ========== */
.cta-strip {
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip h2 {
  background: linear-gradient(60deg, #fff 0%, #ffe2f3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}
.cta-strip p {
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 2rem;
}

/* ========== FAQ ========== */
.faq {
  max-width: 880px;
  margin: 0 auto;
}
.faq h2 { margin-bottom: 2rem; }
.faq details {
  border: 1px solid var(--divider);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq details[open] { border-color: rgba(134, 54, 248, 0.4); }
.faq summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 3rem;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: 1.5rem; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq .faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--body);
}

/* ========== FORMS ========== */
.qual-form, .plain-form, .email-form {
  max-width: 540px;
  margin: 2rem auto;
  padding: 2.25rem;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(134, 54, 248, 0.08);
}
.qual-form label, .plain-form label, .email-form label {
  display: block;
  font-family: 'Geist Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
  margin-top: 1.1rem;
}
.qual-form label:first-of-type, .plain-form label:first-of-type, .email-form label:first-of-type { margin-top: 0; }
.qual-form input, .plain-form input, .email-form input,
.qual-form select, .plain-form select, .email-form select,
.qual-form textarea, .plain-form textarea, .email-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--divider);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.qual-form input:focus, .plain-form input:focus, .email-form input:focus,
.qual-form select:focus, .plain-form select:focus, .email-form select:focus,
.qual-form textarea:focus, .plain-form textarea:focus, .email-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(134, 54, 248, 0.15);
}
.qual-form button, .plain-form button, .email-form button {
  width: 100%;
  margin-top: 1.5rem;
}
.form-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.form-note a { color: var(--gold); font-weight: 500; }

/* ========== ECHO SECTION ========== */
.echo-section { margin: 3rem 0; }
.echo-block {
  margin-bottom: 2rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
}
.echo-block h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-family: 'Geist Mono', monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.echo-block .qa { margin-bottom: 1rem; }
.echo-block .qa:last-child { margin-bottom: 0; }
.echo-block .q {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.echo-block .a { color: var(--body); font-size: 0.98rem; }

/* ========== AUDIENCE GRID ========== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.audience-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ========== PULL QUOTE ========== */
.pull-quote {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.35;
  font-weight: 500;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.01em;
}
.pull-quote::before {
  content: '\201C';
  display: block;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-family: 'Geist', serif;
}

/* ========== FOOTER ========== */
.site-footer {
  padding: 3.5rem 0 2rem;
  background: #110a18;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 880px) {
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .site-footer .container { grid-template-columns: 1fr; }
}
.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  font-family: 'Geist Mono', monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-brand-mark {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(60deg, #fff 0%, #ffe2f3 50%, #ffb5d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
  display: inline-block;
}
.footer-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  max-width: 280px;
  line-height: 1.5;
}
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }

/* ========== UTILITIES ========== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-white { color: #fff; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-720 { max-width: 720px; margin-left: auto; margin-right: auto; }

/* Link styles in body prose */
main a:not(.btn):not(.brand) {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(134, 54, 248, 0.3);
  text-underline-offset: 3px;
}
main a:not(.btn):not(.brand):hover {
  text-decoration-color: var(--gold);
}

/* ========== MOBILE FIXES — Greg's rule: CTAs visible without scrolling ========== */
@media (max-width: 640px) {
  .hero {
    padding: 1.5rem 0 2rem;
  }
  .hero h1 {
    font-size: 1.85rem;
  }
  .hero h1 .hero-line {
    display: inline;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-ctas .btn {
    width: 100%;
    font-size: 1rem;
    padding: 0.9em 1.2em;
  }
  .eyebrow {
    margin-bottom: 0.75rem;
  }
  section {
    padding: 2.5rem 0;
  }
  section + section {
    padding-top: 0;
  }
  .site-header .container {
    min-height: 56px;
  }
  .container, .container-narrow {
    padding: 0 1rem;
  }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  body { font-size: 1.05rem; }
}
