/*
Theme Name: Astra Child — M. Ojo CPA
Theme URI: https://mojocpa.com
Description: Clean executive teal palette for M. Ojo CPA, LLC. Built on top of Astra.
Author: M. Ojo CPA
Author URI: https://mojocpa.com
Template: astra
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
*/

/* ============================================================
   MOJO CPA — Clean Executive Design System
   Palette: Teal primary + warm white + charcoal
   ============================================================ */

:root {
  /* Brand */
  --teal:        #2E8B7E;
  --teal-dark:   #1F6B62;
  --teal-deep:   #134B45;
  --teal-tint:   #E8F3F0;
  --teal-soft:   #C5E1DA;

  /* Surface */
  --white:       #FFFFFF;
  --warm-white:  #FAFAF7;
  --cream:       #F5F1EA;
  --section-alt: #F4F4F0;

  /* Text */
  --charcoal:    #1F2937;
  --slate:       #4B5563;
  --gray-soft:   #6B7280;
  --gray-line:   #E5E7EB;

  /* Accent (sparingly) */
  --gold:        #C9A84C;

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container:   1200px;
  --container-narrow: 880px;
  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   18px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(31,41,55,0.06), 0 1px 2px rgba(31,41,55,0.04);
  --shadow:      0 4px 16px rgba(31,41,55,0.08);
  --shadow-lg:   0 18px 48px rgba(31,41,55,0.12);

  /* Motion */
  --ease:        cubic-bezier(.2,.8,.2,1);
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--teal-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.25rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
p  { margin: 0 0 1em; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

/* ===== Layout ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--container-narrow); }
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.section-alt { background: var(--section-alt); }
.section-cream { background: var(--cream); }
.section-tint { background: var(--teal-tint); }
.section-teal { background: var(--teal); color: var(--white); }
.section-teal h1, .section-teal h2, .section-teal h3 { color: var(--white); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(46,139,126,0.25);
}
.btn-primary:hover { background: var(--teal-dark); color: var(--white); box-shadow: 0 10px 24px rgba(46,139,126,0.32); }
.btn-secondary {
  background: var(--white);
  color: var(--teal-dark);
  border-color: var(--teal);
}
.btn-secondary:hover { background: var(--teal-tint); color: var(--teal-deep); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-lg { padding: 18px 34px; font-size: 1.02rem; }

/* ===== Nav / Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--charcoal);
}
.nav-logo svg { width: 36px; height: 36px; }
.nav-logo .tagline-mini {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--gray-soft);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
}
.nav-links a:hover { color: var(--teal-dark); }
.nav-links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--teal);
}
.nav-dropdown { position: relative; }
.nav-dropdown-toggle::after {
  content: "▾";
  font-size: 0.7rem;
  margin-left: 4px;
  color: var(--gray-soft);
}
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 12px 0;
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all .2s var(--ease);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block; padding: 10px 20px;
  font-size: 0.92rem;
}
.nav-dropdown-menu a:hover { background: var(--teal-tint); }
.nav-mobile-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-mobile-toggle span {
  display: block; width: 24px; height: 2px; background: var(--charcoal); margin: 5px 0; transition: all .2s var(--ease);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; top: -80px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(closest-side, var(--teal-tint), transparent);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
}
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin-bottom: 20px; }
.hero p.lede { font-size: 1.18rem; color: var(--slate); margin-bottom: 32px; max-width: 36em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 28px; margin-top: 40px;
  padding-top: 28px; border-top: 1px solid var(--gray-line);
  flex-wrap: wrap;
}
.hero-meta-item { font-size: 0.92rem; color: var(--slate); }
.hero-meta-item strong { display: block; font-size: 1.6rem; font-family: var(--font-display); color: var(--teal-dark); margin-bottom: 4px; }
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-line);
}
.hero-card-eyebrow {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--teal); margin-bottom: 16px;
}
.hero-card h3 { margin-bottom: 12px; }
.hero-card-list { list-style: none; padding: 0; margin: 0 0 24px; }
.hero-card-list li {
  padding: 10px 0; border-bottom: 1px solid var(--gray-line);
  font-size: 0.95rem; color: var(--slate);
  display: flex; gap: 10px; align-items: flex-start;
}
.hero-card-list li::before {
  content: "✓"; color: var(--teal); font-weight: 700; flex-shrink: 0;
}
.hero-card-list li:last-child { border: 0; }

/* ===== Cards / grids ===== */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--gray-line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal-soft); }
.card-icon {
  width: 52px; height: 52px;
  background: var(--teal-tint);
  color: var(--teal-dark);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.card p { color: var(--slate); font-size: 0.96rem; line-height: 1.65; margin-bottom: 16px; }
.card a.card-link {
  font-weight: 600; font-size: 0.92rem;
  color: var(--teal-dark);
}
.card a.card-link:hover { color: var(--teal-deep); }
.card a.card-link::after { content: " →"; transition: transform .2s var(--ease); display: inline-block; }
.card a.card-link:hover::after { transform: translateX(3px); }

/* Audience pathway card */
.audience-card { position: relative; padding: 40px 32px; }
.audience-card .card-tag {
  display: inline-block; padding: 4px 12px;
  background: var(--teal-tint); color: var(--teal-deep);
  border-radius: 100px; font-size: 0.74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 16px;
}

/* ===== Section heading ===== */
.section-heading { text-align: center; margin-bottom: 56px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-heading h2 { margin-bottom: 14px; }
.section-heading p { color: var(--slate); font-size: 1.08rem; }
.section-heading.left { text-align: left; margin-left: 0; }

/* ===== Differentiator stripe ===== */
.diff-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
}
.diff-item { text-align: left; }
.diff-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.4rem; color: var(--teal); line-height: 1;
  margin-bottom: 12px;
}
.diff-item h3 { font-size: 1.18rem; margin-bottom: 10px; }
.diff-item p { color: var(--slate); margin: 0; font-size: 0.96rem; }

/* ===== Founder block ===== */
.founder {
  background: var(--white);
  border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-line);
}
.founder-photo {
  background: linear-gradient(135deg, var(--teal-tint), var(--teal-soft));
  display: flex; align-items: center; justify-content: center;
  min-height: 360px;
  position: relative;
}
.founder-photo .photo-placeholder {
  text-align: center;
  color: var(--teal-deep);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 24px;
}
.founder-photo .photo-placeholder svg { width: 80px; height: 80px; opacity: 0.5; margin-bottom: 12px; }
.founder-content { padding: 48px 44px; }
.founder-content blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.32rem;
  line-height: 1.5;
  color: var(--charcoal);
  margin: 0 0 24px;
  border: 0; padding: 0;
}
.founder-content .credit { font-weight: 600; color: var(--charcoal); margin-bottom: 4px; }
.founder-content .credit-sub { font-size: 0.92rem; color: var(--gray-soft); }

/* ===== Comparison table ===== */
.compare {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-line);
  box-shadow: var(--shadow);
}
.compare-row {
  display: grid; grid-template-columns: 2fr 1.5fr 1.5fr;
  border-bottom: 1px solid var(--gray-line);
}
.compare-row:last-child { border-bottom: 0; }
.compare-row.head {
  background: var(--cream);
}
.compare-row.head > div {
  padding: 20px 24px; font-weight: 700;
  font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.compare-row.head .head-mojo { color: var(--teal-dark); }
.compare-row > div { padding: 18px 24px; font-size: 0.96rem; color: var(--slate); }
.compare-row .label { font-weight: 600; color: var(--charcoal); }
.compare-row .mojo { background: var(--teal-tint); color: var(--charcoal); font-weight: 500; }
.compare-row .mojo::before { content: "✓ "; color: var(--teal-dark); font-weight: 700; }
.compare-row .other::before { content: "✗ "; color: #c44; font-weight: 700; }

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--gray-line);
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.testimonial::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 4rem; line-height: 1;
  color: var(--teal-soft);
  position: absolute; top: 12px; left: 24px;
}
.testimonial .industry-tag {
  display: inline-block; padding: 4px 12px;
  background: var(--cream); color: var(--teal-deep);
  border-radius: 100px; font-size: 0.74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 18px; align-self: flex-start;
}
.testimonial .outcome {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--teal-dark);
  font-weight: 600;
  margin: 8px 0 14px;
}
.testimonial blockquote {
  margin: 0 0 24px; padding: 0; border: 0;
  font-size: 0.98rem; color: var(--slate); line-height: 1.65;
  font-style: normal;
}
.testimonial .author {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--gray-line);
  font-size: 0.92rem;
}
.testimonial .author strong { color: var(--charcoal); display: block; margin-bottom: 2px; }
.testimonial .author span { color: var(--gray-soft); }
.testimonial-illustrative-note {
  text-align: center; font-size: 0.82rem; color: var(--gray-soft);
  margin-top: 32px; font-style: italic;
}

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(closest-side, rgba(255,255,255,0.12), transparent);
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.92); font-size: 1.1rem; max-width: 640px; margin: 0 auto 28px; }
.cta-banner .btn-primary { background: var(--white); color: var(--teal-dark); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.cta-banner .btn-primary:hover { background: var(--cream); color: var(--teal-deep); }
.cta-banner .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.5); }

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--charcoal);
  color: rgba(255,255,255,0.9);
  padding: 28px 0;
  text-align: center;
  font-size: 0.9rem;
}
.trust-strip .container {
  display: flex; gap: 36px; justify-content: center; align-items: center; flex-wrap: wrap;
}
.trust-strip-item { display: flex; align-items: center; gap: 10px; }
.trust-strip-item strong { color: var(--white); }
.trust-strip svg { width: 20px; height: 20px; color: var(--teal-soft); }

/* ===== Lead magnet banner ===== */
.lead-magnet {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px;
  align-items: center;
  border: 1px solid var(--gray-line);
}
.lead-magnet-cover {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-deep));
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}
.lead-magnet-cover .label {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin-bottom: 12px;
}
.lead-magnet-cover h4 {
  font-family: var(--font-display);
  font-size: 1.4rem; line-height: 1.3; color: var(--white);
  margin-bottom: 16px;
}
.lead-magnet-cover .author { font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.lead-magnet h3 { font-size: 1.7rem; margin-bottom: 10px; }
.lead-magnet form { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.lead-magnet input[type="email"] {
  flex: 1; min-width: 220px;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.96rem;
  background: var(--white);
}
.lead-magnet input[type="email"]:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }

/* ===== Footer ===== */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.8);
  padding: 72px 0 32px;
}
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.92rem; line-height: 1.6; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--teal-soft); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
  flex-wrap: wrap; gap: 16px;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.footer-social a:hover { background: var(--teal); color: var(--white); }
.footer-social svg { width: 16px; height: 16px; }

/* ===== Page hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%);
  padding: 80px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--gray-line);
}
.page-hero .eyebrow { justify-content: center; }
.page-hero p.lede { font-size: 1.15rem; color: var(--slate); max-width: 640px; margin: 0 auto; }

/* ===== Service rows ===== */
.service-row {
  display: grid; grid-template-columns: 1fr 2fr; gap: 56px;
  padding: 56px 0;
  border-bottom: 1px solid var(--gray-line);
  align-items: start;
}
.service-row:last-child { border-bottom: 0; }
.service-row h3 { font-size: 1.6rem; margin-bottom: 8px; }
.service-row .service-tag { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.service-row ul { padding-left: 0; list-style: none; }
.service-row ul li { padding: 8px 0 8px 28px; position: relative; color: var(--slate); }
.service-row ul li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--teal); font-weight: 700;
}

/* ===== Form / contact ===== */
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-stack label {
  font-size: 0.86rem; font-weight: 600; color: var(--charcoal); margin-bottom: 6px;
  display: block;
}
.form-stack input, .form-stack textarea, .form-stack select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.96rem;
  background: var(--white);
  color: var(--charcoal);
  transition: all .2s var(--ease);
}
.form-stack input:focus, .form-stack textarea:focus, .form-stack select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint);
}
.form-stack textarea { min-height: 140px; resize: vertical; font-family: var(--font-body); }
.form-message { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius); font-size: 0.94rem; display: none; }
.form-message.success { display: block; background: var(--teal-tint); color: var(--teal-deep); border: 1px solid var(--teal-soft); }
.form-message.error { display: block; background: #fde7e7; color: #842029; border: 1px solid #f5c2c7; }

/* ===== Quiz ===== */
.quiz-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-line);
  box-shadow: var(--shadow);
  max-width: 760px; margin: 0 auto;
  overflow: hidden;
}
.quiz-progress {
  height: 6px; background: var(--gray-line); position: relative;
}
.quiz-progress-bar {
  height: 100%; background: var(--teal);
  width: 0%; transition: width .3s var(--ease);
}
.quiz-step { padding: 56px 48px; display: none; }
.quiz-step.active { display: block; }
.quiz-step .step-label {
  font-size: 0.78rem; font-weight: 600; color: var(--teal);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px;
}
.quiz-step h2 { font-size: 1.7rem; margin-bottom: 10px; }
.quiz-step p.help { color: var(--slate); margin-bottom: 28px; font-size: 0.96rem; }
.quiz-options { display: grid; gap: 12px; margin-bottom: 32px; }
.quiz-option {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.98rem; color: var(--charcoal);
  transition: all .15s var(--ease);
  background: var(--white);
  text-align: left;
}
.quiz-option:hover { border-color: var(--teal); background: var(--teal-tint); }
.quiz-option.selected { border-color: var(--teal); background: var(--teal-tint); box-shadow: 0 0 0 3px var(--teal-tint); }
.quiz-option .quiz-bullet {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--gray-line);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
}
.quiz-option.selected .quiz-bullet { border-color: var(--teal); background: var(--teal); }
.quiz-option.selected .quiz-bullet::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--white); }
.quiz-options.checks .quiz-option .quiz-bullet { border-radius: 5px; }
.quiz-options.checks .quiz-option.selected .quiz-bullet::after { content: "✓"; color: white; font-weight: 700; font-size: .9rem; background: transparent; width: auto; height: auto; }
.quiz-controls { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.quiz-back { background: none; border: 0; color: var(--gray-soft); cursor: pointer; font-family: var(--font-body); font-size: 0.95rem; }
.quiz-back:hover { color: var(--charcoal); }
.quiz-back:disabled { opacity: 0.3; cursor: not-allowed; }
.quiz-result { padding: 56px 48px; }
.quiz-result h2 { color: var(--teal-dark); margin-bottom: 12px; }
.quiz-summary {
  background: var(--teal-tint);
  border-left: 3px solid var(--teal);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin: 24px 0 28px;
}
.quiz-summary .estimate { font-family: var(--font-display); font-size: 2rem; color: var(--teal-deep); font-weight: 700; }
.quiz-strategies { display: grid; gap: 16px; margin-bottom: 32px; }
.quiz-strategy {
  display: flex; gap: 16px; padding: 18px;
  background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius);
}
.quiz-strategy .num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.92rem;
}
.quiz-strategy h4 { margin: 0 0 4px; font-size: 1.02rem; font-family: var(--font-body); }
.quiz-strategy p { margin: 0; font-size: 0.92rem; color: var(--slate); }

/* ===== Calendly embed ===== */
.calendly-inline {
  min-width: 320px;
  height: 720px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-line);
  background: var(--white);
}

/* ===== Blog teasers ===== */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-line);
  box-shadow: var(--shadow-sm);
  transition: all .2s var(--ease);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--teal-tint), var(--cream));
  display: flex; align-items: center; justify-content: center;
}
.blog-card-img svg { width: 64px; height: 64px; color: var(--teal); opacity: 0.7; }
.blog-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-soft); margin-bottom: 10px; }
.blog-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.blog-card p { color: var(--slate); font-size: 0.94rem; flex: 1; }

/* ===== Helpers ===== */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 32px; }
.mt-4 { margin-top: 64px; }
.illustrative-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-soft);
  font-style: italic;
  margin-top: 40px;
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 16px; }
  .lead-magnet { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1.2fr 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav.mobile-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 78px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-line);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
  }
  .nav.mobile-open .nav-links a { padding: 14px 24px; border-bottom: 1px solid var(--gray-line); }
  .nav.mobile-open .nav-dropdown-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; padding-left: 16px; border: 0; }
  .diff-row { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row.head .head-yours, .compare-row.head .head-mojo { display: none; }
  .compare-row > div::before { content: ""; }
  .footer-grid { grid-template-columns: 1fr; }
  .quiz-step, .quiz-result { padding: 36px 24px; }
  .lead-magnet, .cta-banner { padding: 36px 24px; }
  .hero { padding: 56px 0; }
  .hero-card { padding: 28px 24px; }
}

/* DESKTOP-ONLY RULES (wrapped v2.3.2) — only apply on screens >= 922px so Astra's mobile menu works on phones. */
@media (min-width: 922px) {
/* ============================================================
   ASTRA HEADER OVERRIDES (added v2.0.1)
   Make Astra's header behave like the prototype design.
   ============================================================ */

/* Astra header — slim it down to a clean horizontal bar */
.ast-primary-header-bar,
.main-header-bar {
  padding: 0 !important;
  min-height: 78px !important;
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-line) !important;
  box-shadow: none !important;
}

.main-header-bar-wrap .main-header-bar {
  padding: 0 !important;
}

/* Logo — keep it modest in size */
.ast-site-identity { padding: 12px 0 !important; }
.site-branding img,
.custom-logo {
  max-height: 48px !important;
  width: auto !important;
}

/* Hide vertically-stacked site title text from Astra default */
/* HEADER LOGO + TAGLINE (added v2.3.0) — show title + description next to logo, match prototype */
.ast-site-title-wrap .site-title, .site-header .site-title {
  display: block !important;
  font-family: var(--font-display) !important;
  font-size: 1.18rem !important;
  font-weight: 700 !important;
  color: var(--charcoal) !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  letter-spacing: -0.005em !important;
}
.ast-site-title-wrap .site-title a, .site-header .site-title a { color: var(--charcoal) !important; text-decoration: none !important; }
.ast-site-title-wrap .site-description, .site-header .site-description {
  display: block !important;
  font-family: var(--font-body) !important;
  font-size: 0.7rem !important;
  font-weight: 500 !important;
  color: var(--gray-soft) !important;
  letter-spacing: 0.04em !important;
  margin: 2px 0 0 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}
.ast-site-title-wrap { padding-left: 12px !important; }

/* Force horizontal nav menu */
.main-header-menu,
.main-header-menu .menu-item,
.ast-primary-header-bar .main-header-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

.main-header-menu .menu-link {
  padding: 0 18px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: var(--charcoal) !important;
  white-space: nowrap !important;
  line-height: 78px !important;
}
.main-header-menu .menu-link:hover { color: var(--teal-dark) !important; }
.main-header-menu .current-menu-item > .menu-link { color: var(--teal-dark) !important; }

/* CTA button class — use 'menu-item-cta' on the Book a Call menu item */
.main-header-menu .menu-item-cta > .menu-link,
.menu-item-cta .menu-link {
  background: var(--teal) !important;
  color: var(--white) !important;
  border-radius: 10px !important;
  padding: 10px 22px !important;
  margin: 18px 0 !important;
  line-height: 1.2 !important;
  height: auto !important;
  font-weight: 600 !important;
  display: inline-block !important;
}
.main-header-menu .menu-item-cta > .menu-link:hover {
  background: var(--teal-dark) !important;
  color: var(--white) !important;
}

/* Container + alignment in the Astra header */
.ast-container {
  max-width: 1200px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
}
.site-branding,
.ast-site-identity { flex-shrink: 0 !important; }

/* Hide page title block on home — H1 is in the page content already */
.home .entry-header,
.home .ast-archive-description,
body.home .entry-title,
body.home .ast-page-title,
body.page .entry-header,
body.page .entry-title { display: none !important; }

/* No max-width on full-width templates so our hero doesn't get squeezed */
.entry-content > .alignfull,
.entry-content > section { margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; }
.entry-content section.section-teal,
.entry-content section.section-alt,
.entry-content section.section-cream {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Wrap inner sections back to container width */
.entry-content section { width: 100%; }

/* Normalize main content area to full width */
.ast-container .site-main,
.site-main #primary,
.site-content .entry-content { max-width: 100% !important; padding: 0 !important; }
#primary, .site-content { padding: 0 !important; }

/* Remove default Astra page padding around content */
.ast-page-builder-template .entry-header,
.ast-page-builder-template .post-thumb-img-content { display: none !important; }

/* Footer — remove Astra's default and let our custom HTML widget handle it */
.site-footer-section-1, .site-footer-section-2 { padding: 0 !important; }

/* Ensure Astra's html-entities-as-text stays clean — em dash and middle dot rendering safety */
body { font-feature-settings: "kern", "liga"; }

/* Mobile menu — make Astra's hamburger work with our palette */
.ast-mobile-menu-buttons-fill,
.menu-toggle.main-header-menu-toggle {
  background: var(--teal) !important;
  color: var(--white) !important;
}
.ast-mobile-header-wrap .ast-mobile-menu-buttons { color: var(--charcoal) !important; }





/* Hide Astra default header button (we use menu-item-cta in nav instead) */
.ast-builder-button-wrap, .ast-custom-button-link { display: none !important; }


/* Hide empty testimonial author name (until real names are added) */
.testimonial .author strong:empty { display: none !important; margin: 0 !important; }



}

/* ===========================================================
   MOBILE FIXES v2.3.0 — undo desktop Astra header overrides
   on small screens and tighten layout for phones.
   =========================================================== */
@media (max-width: 921px) {
  /* Container padding */
  .container { padding: 0 20px !important; }

  /* Sections — tighten vertical padding on mobile */
  section { padding: 56px 0 !important; }
  section.tight { padding: 36px 0 !important; }
  .hero { padding: 48px 0 !important; }

  /* Headings shrink */
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem) !important; }
  .hero p.lede { font-size: 1.04rem !important; }
  h1 { font-size: clamp(1.85rem, 7vw, 2.4rem) !important; line-height: 1.2 !important; }
  .section-heading h2, h2 { font-size: clamp(1.5rem, 6vw, 2rem) !important; line-height: 1.25 !important; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-meta-item strong { font-size: 1.4rem !important; }
  .hero-card { padding: 28px 24px !important; }

  /* Single-column grids */
  .grid-2, .grid-3, .grid-4, .diff-row, .testimonial-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
  .card, .testimonial { padding: 28px 22px !important; }
  .audience-card { padding: 32px 24px !important; }
  .founder { grid-template-columns: 1fr !important; }
  .founder-photo { min-height: 220px !important; }
  .founder-content { padding: 32px 24px !important; }
  .founder-content blockquote { font-size: 1.08rem !important; line-height: 1.5 !important; }

  /* Comparison table — stack rows */
  .compare-row { grid-template-columns: 1fr !important; }
  .compare-row.head .head-yours, .compare-row.head .head-mojo { display: none !important; }
  .compare-row > div { padding: 12px 18px !important; }
  .compare-row .label { font-weight: 700 !important; padding-top: 16px !important; padding-bottom: 6px !important; }

  /* Lead magnet — stack */
  .lead-magnet { grid-template-columns: 1fr !important; padding: 32px 22px !important; }
  .lead-magnet-cover { transform: none !important; padding: 28px 22px !important; }
  .lead-magnet form { flex-direction: column; gap: 10px; }
  .lead-magnet input[type=email] { width: 100% !important; }

  /* CTA banner */
  .cta-banner { padding: 40px 22px !important; }
  .cta-banner h2 { font-size: 1.6rem !important; }
  .cta-banner .btn { width: 100%; justify-content: center; }

  /* Service rows — stack */
  .service-row { grid-template-columns: 1fr !important; gap: 12px !important; padding: 36px 0 !important; }
  .service-row h3 { font-size: 1.3rem !important; }

  /* Trust strip */
  .trust-strip .container { gap: 14px !important; flex-direction: column; padding: 0 20px; }

  /* Footer — stack */
  .footer-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .footer-bottom { flex-direction: column !important; align-items: flex-start !important; }

  /* Quiz */
  .quiz-step, .quiz-result { padding: 28px 22px !important; }
  .quiz-step h2 { font-size: 1.3rem !important; }

  /* Form rows in contact — stack */
  .form-row { grid-template-columns: 1fr !important; }

  /* Inline-grid pages (book-a-call, contact) */
  [style*="grid-template-columns: 1fr 1.3fr"],
  [style*="grid-template-columns: 1fr 1.4fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Astra header — let mobile menu work, hide forced horizontal nav, hide duplicate button */
  .ast-builder-button-wrap, .ast-custom-button-link { display: none !important; }
  .ast-primary-header-bar { padding: 8px 0 !important; min-height: 64px !important; }
  .site-branding img, .custom-logo { max-height: 38px !important; }
  /* Override the desktop !important on horizontal menu */
  /* (removed: .main-header-menu hide — Astra handles mobile menu visibility itself) */
  /* Make Astra's mobile menu toggle teal */
  .ast-mobile-menu-buttons-fill, .menu-toggle.main-header-menu-toggle {
    background: var(--teal) !important;
    color: #fff !important;
    border: none !important;
  }
  /* Site title sizing on mobile */
  .ast-site-title-wrap .site-title { font-size: 0.96rem !important; }
  .ast-site-title-wrap .site-description { font-size: 0.62rem !important; }
}


/* ===========================================================
   MOBILE HEADER FIX v2.4.1 — tighten the logo cluster on phones
   so the SVG + wordmark + hamburger fit in one clean row.
   =========================================================== */
@media (max-width: 921px) {
  /* Make Astra header layout flex-row + space-between on mobile */
  .ast-primary-header-bar .site-header-primary-section-left,
  .ast-primary-header-bar > .ast-builder-grid-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  /* Shrink the injected SVG logo on phones */
  .mojo-svg-logo svg {
    width: 30px !important;
    height: 30px !important;
  }
  .mojo-svg-logo {
    margin-right: 8px !important;
  }

  /* Wordmark — smaller on mobile */
  .ast-site-title-wrap .site-title,
  .site-header .site-title {
    font-size: 0.92rem !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }

  /* Hide tagline below 600px (no room) */
  @media (max-width: 599px) {
    .ast-site-title-wrap .site-description,
    .site-header .site-description,
    .mojo-tagline {
      display: none !important;
    }
  }

  /* When tagline shows (600-921px), tighten it */
  .ast-site-title-wrap .site-description,
  .site-header .site-description,
  .mojo-tagline {
    font-size: 0.6rem !important;
    line-height: 1.2 !important;
    margin-top: 1px !important;
  }

  /* Reduce site-identity padding on mobile */
  .ast-site-identity { padding: 6px 0 !important; }
  .ast-site-title-wrap { padding-left: 0 !important; }

  /* Keep site-branding from wrapping awkwardly — put it inline */
  .site-branding, .ast-site-identity {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  /* Hamburger on the right, logo cluster on the left */
  .ast-mobile-menu-buttons {
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  /* Truncate site-title if too long instead of wrapping */
  .ast-site-title-wrap {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .site-title {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}


/* ===========================================================
   SKIP-LINK + MOBILE HEADER FORCE v2.5.0
   - Permanently hide skip-link unless keyboard-focused
   - Force Astra mobile header to render properly on phones
   =========================================================== */

/* Hide accessibility skip-link by default; show only when keyboard focused */
.skip-link, .screen-reader-text, a.skip-link {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.skip-link:focus, .screen-reader-text:focus {
  position: fixed !important;
  top: 8px !important;
  left: 8px !important;
  width: auto !important;
  height: auto !important;
  padding: 8px 16px !important;
  background: var(--teal) !important;
  color: #fff !important;
  border-radius: 6px !important;
  z-index: 99999 !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
}

/* MOBILE-ONLY FORCE — make sure Astra mobile header renders correctly */
@media (max-width: 921px) {
  /* Ensure site-header itself is visible */
  .site-header, header.site-header, #masthead {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Ensure Astra primary header bar is visible */
  .ast-primary-header-bar {
    display: block !important;
    visibility: visible !important;
    min-height: 64px !important;
    padding: 8px 0 !important;
  }

  /* Ensure Astra mobile header wrap is visible */
  .ast-mobile-header-wrap, .ast-builder-grid-row {
    display: flex !important;
    visibility: visible !important;
    align-items: center !important;
  }

  /* Ensure site branding (logo + title) is visible */
  .site-branding, .ast-site-identity {
    display: flex !important;
    visibility: visible !important;
    flex: 1 1 auto !important;
    align-items: center !important;
  }

  /* Show injected SVG logo */
  .mojo-svg-logo {
    display: flex !important;
    visibility: visible !important;
  }
  .mojo-svg-logo svg {
    width: 32px !important;
    height: 32px !important;
    display: block !important;
  }

  /* Show site title/wordmark */
  .ast-site-title-wrap, .site-title {
    display: block !important;
    visibility: visible !important;
  }

  /* Make sure mobile menu toggle (hamburger) is visible */
  .ast-mobile-menu-buttons,
  .menu-toggle,
  .main-header-menu-toggle,
  .ast-builder-menu-mobile {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Hamburger button styling */
  .menu-toggle, .main-header-menu-toggle {
    background: transparent !important;
    border: none !important;
    padding: 8px !important;
    cursor: pointer !important;
    margin-left: auto !important;
  }
  .menu-toggle .ast-mobile-menu-buttons-fill,
  .menu-toggle svg,
  .main-header-menu-toggle svg {
    fill: var(--teal) !important;
    color: var(--teal) !important;
    width: 24px !important;
    height: 24px !important;
  }
}
