/* TheSageMD / Scherly Leon MD — close rebuild, matched to live site screenshots */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700&family=Alex+Brush&display=swap');

:root {
  --purple: #6D2A73;     /* brand primary */
  --purple-deep: #4a1e50;
  --violet: #7C3BCC;     /* secondary accent band (Sage MD page) */
  --blue: #698CBC;       /* brand secondary / hero & CTA bands */
  --teal: #2ec4c6;       /* bright CTA / newsletter teal */
  --gold: #fabf58;
  --dark-btn: #444444;
  --dark-btn-hover: #222222;
  --text: #2b2f33;
  --muted: #5c6670;
  --bg: #ffffff;
  --bg-alt: #f8f5fa;
  --gray-band: #e9e9ea;
  --border: #e5dde6;
  --radius: 10px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
.site-header {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo-script {
  font-family: 'Alex Brush', cursive;
  font-size: 36px;
  color: var(--purple);
  line-height: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #1c1c1c;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links a:hover { text-decoration: none; color: var(--purple); }
.nav-links a.active { color: var(--purple); }

.nav-search { color: #aaa; font-size: 16px; }

/* Wave dividers */
.wave { display: block; width: 100%; line-height: 0; position: relative; z-index: 2; }
.wave svg { width: 100%; height: 70px; display: block; }
.wave-up { margin-top: -1px; }

/* Photo hero (Home, Sage MD) */
.hero-photo {
  position: relative;
  color: #fff;
  padding: 110px 24px 90px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,10,25,0.55) 0%, rgba(20,10,25,0.7) 100%);
}

.hero-photo-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.hero-photo h1 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
}

.hero-photo .logo-lockup {
  max-width: 340px;
  margin: 0 auto 24px;
}

.hero-photo .page-title {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 10px;
}

.hero-photo .quote {
  font-style: italic;
  font-size: 20px;
  max-width: 780px;
  margin: 0 auto;
}

/* Solid color hero (Contact) */
.hero-solid {
  background: var(--blue);
  color: #fff;
  padding: 90px 24px 100px;
  text-align: center;
}

.hero-solid h1 {
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 20px;
}

.hero-solid .quote {
  font-style: italic;
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: var(--purple-deep); text-decoration: none; }

.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #269b9d; text-decoration: none; }

.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #55749f; text-decoration: none; }

.btn-dark { background: var(--dark-btn); color: #fff; }
.btn-dark:hover { background: var(--dark-btn-hover); text-decoration: none; }

.btn-outline-white {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); text-decoration: none; }

/* Sections */
section { padding: 70px 24px; }
.section-tight { padding: 50px 24px; }

.section-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-header h2 {
  font-size: 30px;
  color: var(--purple);
  margin-bottom: 12px;
}

.section-header p { color: var(--muted); font-size: 16px; }

/* Purple italic statement band */
.statement-band {
  background: var(--purple);
  color: #fff;
  text-align: center;
  padding: 46px 24px;
}

.statement-band p {
  font-style: italic;
  font-weight: 700;
  font-size: 28px;
  margin: 0;
}

/* 3-up service cards */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 860px) {
  .card-grid-3 { grid-template-columns: 1fr; }
}

.card-grid-3 h3 {
  color: var(--purple);
  font-size: 19px;
  margin: 0 0 12px;
}

.card-grid-3 p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 18px;
}

/* Ready-to-take-next-step CTA row */
.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px;
  color: #fff;
}

.cta-row.bg-blue { background: var(--blue); }
.cta-row.bg-purple { background: var(--purple); }
.cta-row.bg-teal { background: var(--teal); }

.cta-row h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.cta-row-wrap { width: 100%; }
.cta-row-wrap.bg-blue { background: var(--blue); }
.cta-row-wrap.bg-purple { background: var(--purple); }
.cta-row-wrap.bg-teal { background: var(--teal); }

/* Two-column content block */
.split {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}

.split h2 { color: var(--purple); font-size: 26px; margin-top: 0; }
.split p { color: var(--muted); }

.split.reverse .split-text { order: 2; }
.split.reverse .split-media { order: 1; }

.split-media { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.split-media img { max-width: 260px; }
.split-media .photo { max-width: 100%; }

/* Bio section */
.bio-row {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: flex-start;
}

@media (max-width: 700px) {
  .bio-row { grid-template-columns: 1fr; }
}

.bio-row .photo { border-radius: var(--radius); }
.bio-row p { color: var(--text); font-size: 15.5px; }
.bio-row strong { color: var(--purple); }

/* Real embedded photos */
.photo {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(109, 42, 115, 0.15);
}

.img-placeholder {
  background: var(--bg-alt);
  border: 1px dashed #b9a3bd;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 20px;
  min-height: 220px;
}

/* Book band */
.book-band {
  background: var(--blue);
  color: #fff;
}

.book-band .split h2,
.book-band .split p,
.book-band .split strong { color: #fff; }

.book-band .split-media img { max-width: 240px; }

/* Testimonials */
.testimonial-band { background: var(--gray-band); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 800px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
  background: #f8f8f8;
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}

.testimonial-stars { color: #ffb527; font-size: 16px; margin-bottom: 14px; }

.testimonial-card p.quote {
  color: #888d92;
  font-size: 15.5px;
  font-style: italic;
  margin: 0 0 16px;
}

.testimonial-card .name {
  color: var(--purple);
  font-weight: 600;
  font-size: 14px;
}

/* Newsletter form */
.newsletter-band { background: var(--teal); color: #fff; text-align: center; }

.newsletter-band p { font-size: 17px; margin: 0 0 22px; }

.newsletter-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-family: inherit;
}

/* Contact form */
.contact-form-band { background: var(--purple); color: #fff; text-align: center; }

.contact-form {
  max-width: 760px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}

.contact-form .full { grid-column: 1 / -1; }

@media (max-width: 640px) {
  .contact-form { grid-template-columns: 1fr; }
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 6px;
  border: none;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
}

.contact-form textarea { resize: vertical; min-height: 130px; }

.contact-form .submit-row { grid-column: 1 / -1; text-align: center; margin-top: 6px; }

/* Bullet lists */
.check-list, .plain-list {
  max-width: 640px;
  margin: 0 auto;
  padding-left: 22px;
  color: var(--text);
}

.plain-list { max-width: var(--max-width); columns: 1; }
.plain-list li { margin-bottom: 10px; }

/* Services grid (Sage MD page) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 800px) {
  .services-grid { grid-template-columns: 1fr; }
}

.services-grid .tile {
  padding: 26px 22px;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  min-height: 100px;
}

.services-grid .tile.purple { background: var(--purple); }
.services-grid .tile.blue { background: var(--blue); }
.services-grid .tile.gray { background: #ececec; color: var(--text); font-weight: 500; }

/* Disclaimer text block */
.disclaimer {
  max-width: 800px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14.5px;
}

.disclaimer p { margin: 0 0 12px; }

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #cfcfcf;
  padding: 26px 24px;
  font-size: 14px;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer a { color: #fff; font-weight: 700; }

/* Book page (standalone) */
.book-hero {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: center;
}

@media (max-width: 800px) {
  .book-hero { grid-template-columns: 1fr; }
}

.quote-badge {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--purple);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 16px;
}
