/* ============================================================
   Debra McClaughry — Practical AI for Service Businesses
   style.css  |  Pure HTML5/CSS3/Vanilla JS — no frameworks
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --navy:      #142A40;
  --sage:      #769077;
  --charcoal:  #414042;
  --warm-gray: #6C6962;
  --white:     #ffffff;
  --sage-tint: #f0f4f0;
  --navy-tint: #eef1f4;
  --border:    #d8ddd8;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans:  Arial, Helvetica, system-ui, sans-serif;
  --max-w: 1140px;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(20,42,64,.10);
  --transition: .2s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
}

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

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--sage); }

ul, ol { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.25;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.label {
  font-family: var(--font-sans);
  color: var(--sage);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: 72px; }
.section--sm { padding-block: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(20,42,64,.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand a {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color: var(--navy);
}
.nav-brand .brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}
.nav-brand .brand-tag {
  font-size: .75rem;
  color: var(--sage);
  letter-spacing: .04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }

.nav-cta {
  margin-left: 8px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.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); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 24px;
  gap: 20px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile .btn { text-align: center; margin-top: 8px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding-block: 100px 88px;
}

.hero-inner {
  max-width: 780px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.hero-support {
  font-size: .88rem;
  color: var(--warm-gray);
  margin-top: 4px;
}

/* ---------- Trust Strip ---------- */
.trust-strip {
  background: var(--sage-tint);
  padding-block: 28px;
  border-bottom: 1px solid var(--border);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.trust-item {
  font-size: .88rem;
  font-weight: 600;
  color: var(--sage);
  padding: 6px 24px;
  text-align: center;
  position: relative;
}
.trust-item + .trust-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 1px;
  background: var(--border);
}

/* ---------- Problem / Outcomes Sections ---------- */
.problem { background: var(--white); }
.outcomes { background: var(--sage-tint); }

.check-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
}
.check-list li::before {
  content: '→';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Service Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 4px solid var(--sage);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin-bottom: 14px;
}

.card p {
  flex: 1;
  color: var(--warm-gray);
  font-size: .95rem;
}

.card-invest {
  font-size: .88rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-top: 16px;
  margin-bottom: 20px;
}

.card a {
  margin-top: auto;
  color: var(--navy);
  font-weight: 600;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card a::after { content: '→'; }
.card a:hover { color: var(--sage); }

/* ---------- Mid-page CTA Banner ---------- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding-block: 64px;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 28px; max-width: 580px; margin-inline: auto; }

/* ---------- Why Debra ---------- */
.why-debra { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.why-body p { color: var(--warm-gray); }

.why-body .check-list { margin-top: 20px; }

.why-link {
  display: inline-block;
  margin-top: 24px;
  font-weight: 600;
  color: var(--navy);
}
.why-link:hover { color: var(--sage); }

/* ---------- Footer CTA Strip ---------- */
.footer-cta-strip {
  background: var(--sage);
  color: var(--white);
  text-align: center;
  padding-block: 48px;
}
.footer-cta-strip p { font-size: 1.05rem; margin-bottom: 20px; color: rgba(255,255,255,.92); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding-block: 48px 36px;
  font-size: .9rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand .brand-name {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 4px;
}
.footer-brand .brand-tag {
  color: var(--sage);
  font-size: .8rem;
  letter-spacing: .04em;
}
.footer-brand p {
  margin-top: 12px;
  color: rgba(255,255,255,.55);
  font-size: .85rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
}
.footer-nav a:hover { color: var(--white); }

.footer-action .btn { margin-bottom: 16px; }
.footer-copy {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

/* ---------- Services Page ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding-block: 72px 60px;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 680px; font-size: 1.05rem; }

.service-block {
  padding-block: 64px;
  border-bottom: 1px solid var(--border);
}
.service-block:last-of-type { border-bottom: none; }
.service-block:nth-child(even) { background: var(--sage-tint); }

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-block: 12px 24px;
}
.meta-tag {
  font-size: .85rem;
  font-weight: 600;
  color: var(--sage);
  background: rgba(118,144,119,.1);
  padding: 4px 12px;
  border-radius: 20px;
}

.service-block h2 { margin-bottom: 4px; }
.service-block .best-for {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--navy-tint);
  border-left: 3px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .93rem;
  color: var(--charcoal);
}
.service-block .best-for strong { color: var(--navy); }

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-top: 36px;
  counter-reset: step;
}
.step {
  counter-increment: step;
  position: relative;
  padding: 24px 20px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
}
.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 12px;
}
.step strong { display: block; color: var(--navy); margin-bottom: 4px; font-size: .95rem; }

/* Inline FAQ strip */
.faq-strip { margin-top: 48px; }
.faq-strip .faq-item {
  border-bottom: 1px solid var(--border);
  padding-block: 20px;
}
.faq-strip .faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.faq-a { color: var(--warm-gray); font-size: .95rem; }

/* ---------- Who This Is For Page ---------- */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.who-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
}
.who-card h3 {
  font-size: 1.1rem;
  color: var(--sage);
  margin-bottom: 10px;
}
.who-card p { font-size: .93rem; color: var(--warm-gray); }

.not-for { background: var(--sage-tint); margin-top: 0; }

/* ---------- About Page ---------- */
.about-body { max-width: 760px; }
.about-body p { color: var(--warm-gray); margin-bottom: 1.2rem; }
.about-body p:first-of-type {
  font-size: 1.1rem;
  color: var(--charcoal);
}

/* ---------- FAQ Page ---------- */
.faq-accordion { margin-top: 48px; }
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-item:first-child { border-top: 1px solid var(--border); }

.accordion-btn {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 4px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  gap: 16px;
  transition: color var(--transition);
}
.accordion-btn:hover { color: var(--sage); }
.accordion-btn:hover .accordion-icon { background: var(--sage); }

.accordion-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}
.accordion-icon::after {
  content: '+';
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
}
.accordion-btn[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.accordion-panel-inner {
  padding: 4px 4px 28px;
  color: var(--warm-gray);
  font-size: .97rem;
  line-height: 1.75;
}

/* ---------- Schedule Page ---------- */
.schedule-section { background: var(--white); }
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.schedule-what h2 { margin-bottom: 20px; }
.expect-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.expect-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--warm-gray);
}
.expect-list li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
}

.schedule-embed h2 { margin-bottom: 20px; }

.cal-embed-wrapper {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 500px;
}
.cal-embed-wrapper iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}
.embed-fallback {
  margin-top: 12px;
  font-size: .88rem;
  color: var(--warm-gray);
}
.embed-fallback a { color: var(--sage); text-decoration: underline; }

/* ---------- Hero with Photo ---------- */
.hero-with-photo {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: center;
}
.hero-text { display: flex; flex-direction: column; align-items: flex-start; }
.hero-photo img {
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  object-position: center top;
  border: 4px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 32px rgba(20,42,64,.3);
  display: block;
}
@media (max-width: 780px) {
  .hero-with-photo {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    display: none;
  }
}

/* ---------- About Page Photo ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: center;
}
.about-photo img {
  width: 100%;
  border-radius: var(--radius);
  border-left: 4px solid var(--sage);
  box-shadow: 0 8px 32px rgba(20,42,64,.14);
  display: block;
}
@media (max-width: 780px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-photo {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ---------- Insights Page ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.article-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.article-card p { font-size: .93rem; color: var(--warm-gray); flex: 1; }
.coming-soon-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sage);
  background: rgba(118,144,119,.12);
  padding: 4px 12px;
  border-radius: 20px;
  align-self: flex-start;
}

/* ---------- Section Intros ---------- */
.section-intro {
  max-width: 680px;
  margin-bottom: 8px;
}
.section-intro p { color: var(--warm-gray); margin-top: 12px; }

/* ---------- Page Close CTA ---------- */
.page-close-cta {
  background: var(--sage-tint);
  text-align: center;
  padding-block: 72px;
}
.page-close-cta h2 { margin-bottom: 12px; }
.page-close-cta p { color: var(--warm-gray); margin-bottom: 28px; max-width: 520px; margin-inline: auto; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-sage { color: var(--sage); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-action { grid-column: 1 / -1; }
  .schedule-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding-block: 52px; }
  .hero { padding-block: 64px 52px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .trust-items { flex-direction: column; align-items: center; }
  .trust-item + .trust-item::before { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .process-steps { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1200px) {
  body { font-size: 18px; }
}
