/* ============================================================
   EliteDCs — Master Stylesheet
   Design Direction: Elevated Clinical (matching CLL + ODP)
   Palette: Warm Cream / Deep Navy / Champagne Gold / Soft Rose
   Typography: Playfair Display + DM Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --cream:         #FAF7F2;
  --cream-dark:    #F0EBE1;
  --navy:          #1B2A4A;
  --navy-light:    #253659;
  --navy-deep:     #111D33;
  --gold:          #B8934A;
  --gold-light:    #CEAB6A;
  --gold-muted:    rgba(184,147,74,0.15);
  --rose:          #C97B84;
  --rose-light:    #D4949C;
  --rose-muted:    rgba(201,123,132,0.1);
  --tint:          #D6DDE8;
  --tint-light:    #E8ECF2;
  --white:         #FFFFFF;
  --text-dark:     #2D2D2D;
  --text-medium:   #5A5A5A;
  --text-light:    #FAF7F2;
  --border-color:  #E2E2E2;

  --font-display:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:     'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1140px;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;

  --shadow-sm:  0 1px 3px rgba(27,42,74,0.04), 0 1px 2px rgba(27,42,74,0.06);
  --shadow:     0 4px 16px rgba(27,42,74,0.06), 0 1px 3px rgba(27,42,74,0.04);
  --shadow-lg:  0 12px 40px rgba(27,42,74,0.08), 0 4px 12px rgba(27,42,74,0.04);
  --shadow-gold: 0 4px 20px rgba(184,147,74,0.15);

  --transition: 0.3s ease;
  --section-px: clamp(1.25rem, 4vw, 2rem);
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

ul, ol { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 500; line-height: 1.2; }
h3 { font-family: var(--font-body); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; line-height: 1.35; color: var(--navy); }
h4 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; line-height: 1.4; color: var(--navy); }

p { font-size: 1rem; line-height: 1.7; color: var(--text-medium); }
strong { color: var(--navy); font-weight: 600; }

/* span inside headings (often used for accent color) */
h1 span, h2 span, h3 span { color: var(--gold); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}
.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 44px;
  width: auto;
  border-radius: 4px;
}
.site-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.site-nav li { display: inline-block; }
.site-nav a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 2px;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width var(--transition);
}
.site-nav a:hover { color: var(--gold); }
.site-nav a:hover::after,
.site-nav a.active::after { width: 100%; }
.site-nav a.active { color: var(--gold); }

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  overflow: hidden;
  background: var(--cream);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.06;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-text .tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero-text h1 {
  margin-bottom: 1.5rem;
  color: var(--navy);
}
.hero-text h1 span {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}
.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 540px;
  color: var(--text-medium);
}
.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(184,147,74,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

/* ---------- Section Utilities ---------- */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.section-dark {
  background: var(--navy);
  color: var(--text-light);
}
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--text-light); }
.section-dark p { color: rgba(250,247,242,0.85); }
.section-dark .section-header h2 span { color: var(--gold-light); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2 { margin-bottom: 0.85rem; }
.section-header p { font-size: 1.05rem; color: var(--text-medium); }
.section-dark .section-header p { color: rgba(250,247,242,0.85); }

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: var(--transition);
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.section-dark .service-card {
  background: rgba(250,247,242,0.04);
  border-color: rgba(250,247,242,0.12);
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-muted);
  border-radius: 50%;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.service-card h3 {
  margin-bottom: 0.65rem;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
}
.section-dark .service-card h3 { color: var(--text-light); }
.service-card p { font-size: 0.95rem; line-height: 1.65; }
.section-dark .service-card p { color: rgba(250,247,242,0.78); }

/* ---------- About Intro (Home) ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}
.about-intro-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}
.about-intro-text h2 { margin-bottom: 1.25rem; }
.about-intro-text p { margin-bottom: 1.25rem; }
.about-intro-text p:last-of-type { margin-bottom: 1.75rem; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--navy);
  color: var(--text-light);
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
}
.cta-banner h2 {
  color: var(--text-light);
  margin-bottom: 0.75rem;
}
.cta-banner p {
  color: rgba(250,247,242,0.85);
  margin-bottom: 1.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.cta-banner .btn:hover { background: var(--gold-light); }

/* ---------- About Page ---------- */
.about-profile {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.about-profile-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
}
.about-profile-text h2 { margin-bottom: 1rem; }
.about-profile-text p { margin-bottom: 1.25rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.value-card h3 {
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
}
.value-card p { font-size: 0.95rem; }

.about-cta {
  position: relative;
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
  overflow: hidden;
  background: var(--navy);
}
.about-cta-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.06;
}
.about-cta-content {
  position: relative;
  z-index: 1;
}
.about-cta h2 { color: var(--text-light); margin-bottom: 1rem; }
.about-cta p { color: rgba(250,247,242,0.85); margin-bottom: 1.75rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-color);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
}
.contact-detail a { color: var(--gold); }
.contact-detail a:hover { color: var(--gold-light); }
.contact-detail p { font-size: 0.95rem; color: var(--text-medium); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 { margin-bottom: 0.5rem; }
.contact-form-wrap > p { font-size: 0.95rem; margin-bottom: 1.5rem; }
.contact-form-wrap form { display: grid; gap: 1.1rem; }
.contact-form-wrap label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.contact-form-wrap input,
.contact-form-wrap textarea,
.contact-form-wrap select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border-color);
  background: var(--white);
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border var(--transition);
}
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus,
.contact-form-wrap select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-muted);
}
.contact-form-wrap textarea { min-height: 120px; resize: vertical; }
.form-submit { margin-top: 0.5rem; }
.thank-you-msg {
  display: none;
  text-align: center;
  padding: 2rem;
  background: var(--cream);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
}
.thank-you-msg h3 { color: var(--gold); margin-bottom: 0.5rem; }

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}
.legal-content h1 { margin-bottom: 0.5rem; }
.legal-content > p:first-of-type {
  font-size: 0.85rem;
  color: var(--text-medium);
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}
.legal-content h2 { margin: 2.5rem 0 1rem; }
.legal-content h3 { margin: 1.75rem 0 0.75rem; color: var(--navy); }
.legal-content p { margin-bottom: 1.1rem; }
.legal-content ul { margin: 1rem 0 1.5rem 1.5rem; list-style: disc; }
.legal-content li { margin-bottom: 0.5rem; color: var(--text-medium); }
.legal-content a { color: var(--gold); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
  border-radius: 4px;
}
.footer-brand p {
  color: rgba(250,247,242,0.75);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 320px;
}
.site-footer h4 {
  font-family: var(--font-body);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links ul,
.footer-links { list-style: none; }
.footer-links a,
.footer-contact a,
.footer-contact p {
  color: rgba(250,247,242,0.75);
  text-decoration: none;
  font-size: 0.95rem;
  display: block;
  padding: 0.3rem 0;
  transition: color var(--transition);
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(250,247,242,0.12);
  font-size: 0.85rem;
  color: rgba(250,247,242,0.55);
  text-align: center;
}

/* ---------- Nav Overlay (mobile) ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27,42,74,0.6);
  opacity: 0;
  visibility: hidden;
  z-index: 99;
  transition: opacity var(--transition), visibility var(--transition);
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .hero-content,
  .about-intro,
  .about-profile,
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: 70px;
    right: 0;
    background: var(--cream);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.75rem;
    gap: 1rem;
    height: calc(100vh - 70px);
    width: 280px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 100;
  }
  .site-nav.open { transform: translateX(0); }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding: 3rem 0; }
  .hero-text p { font-size: 1rem; }
  .contact-form-wrap { padding: 1.75rem 1.5rem; }
}

/* ============================================================
   FAQ Section (cream theme — was dark, now matches CLL/ODP)
   ============================================================ */
.faq-list {
  max-width: 880px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.faq-item[open] {
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.faq-item summary,
.faq-question {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  outline: none;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after,
.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
}
.faq-item[open] summary::after,
.faq-item[open] .faq-question::after { content: "−"; }
.faq-answer { margin-top: 1rem; }
.faq-answer p,
.faq-item p {
  margin-top: 1rem;
  color: var(--text-medium);
  font-size: 0.97rem;
  line-height: 1.7;
}
.faq-item a,
.faq-answer a { color: var(--gold); text-decoration: underline; font-weight: 500; }

/* ============================================================
   Blog (cream theme — was dark, now matches CLL/ODP)
   ============================================================ */
.blog-hero {
  padding: 5rem var(--section-px) 3rem;
  text-align: center;
  background: var(--cream);
}
.blog-hero .tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--navy);
  margin-bottom: 1rem;
  font-weight: 500;
}
.blog-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-medium);
  font-size: 1.1rem;
  line-height: 1.6;
}
.blog-grid {
  max-width: var(--max-width);
  margin: 3rem auto;
  padding: 0 var(--section-px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--gold);
}
.blog-card__image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-align: center;
  padding: 1rem;
  font-weight: 500;
}
.blog-card__body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__meta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.blog-card__category { color: var(--gold); font-weight: 700; }
.blog-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  font-weight: 500;
}
.blog-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}
.blog-card a.read-more {
  color: var(--gold);
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  align-self: flex-start;
}
.blog-card a.read-more:hover { color: var(--gold-light); }

/* Single blog post */
.post-hero {
  padding: 4rem var(--section-px) 2rem;
  background: var(--cream);
  text-align: center;
}
.post-hero .breadcrumb {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-medium);
  margin-bottom: 1rem;
}
.post-hero .breadcrumb a { color: var(--gold); text-decoration: none; }
.post-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--navy);
  max-width: 820px;
  margin: 0 auto 1rem;
  line-height: 1.2;
  font-weight: 500;
}
.post-hero .post-meta {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-medium);
}
.post-hero .post-meta .author { color: var(--navy); font-weight: 600; }

.post-body {
  max-width: 720px;
  margin: 2.5rem auto 4rem;
  padding: 0 var(--section-px);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
}
.post-body h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
  font-weight: 500;
}
.post-body h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
  font-weight: 700;
}
.post-body p { margin-bottom: 1.25rem; }
.post-body ul, .post-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.post-body li { margin-bottom: 0.5rem; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 500;
}
.post-body a:hover { color: var(--gold-light); }
.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--navy);
}

.post-cta {
  background: var(--navy);
  color: var(--text-light);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  margin: 3rem 0 0;
  text-align: center;
}
.post-cta h3 {
  font-family: var(--font-display);
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.post-cta p { color: rgba(250,247,242,0.85); margin-bottom: 1.5rem; }
.post-body .post-cta a.btn,
.post-body .post-cta a.btn-primary {
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
}
.post-body .post-cta a.btn:hover,
.post-body .post-cta a.btn-primary:hover {
  background: var(--gold-light);
  color: var(--white);
}

.post-faq { margin: 3rem 0 0; }
.post-faq h2 { margin-bottom: 1.25rem; }

/* ============================================================
   GHL MCP Product Page styles (UNLISTED — dev-tool aesthetic)
   These pages target developers; keeping a darker, code-focused
   feel rather than the cream brand theme. Still uses the brand
   navy/gold accent palette for consistency.
   ============================================================ */
.spotlight {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.spotlight-text h2 { margin-bottom: 1rem; }
.spotlight-text p { margin-bottom: 1.25rem; }
.spotlight-list {
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}
.spotlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.97rem;
  color: var(--text-medium);
}
.spotlight-list li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.spotlight-visual,
.terminal-bar,
.terminal-body {
  background: var(--navy-deep);
  color: var(--text-light);
  border-radius: var(--radius);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}
.terminal-bar {
  padding: 0.6rem 0.85rem;
  display: flex;
  gap: 0.4rem;
  border-radius: var(--radius) var(--radius) 0 0;
}
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }
.terminal-body {
  padding: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.6;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow-x: auto;
}
.terminal-body .comment { color: var(--gold-light); opacity: 0.7; }

.showcase-card,
.agency-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.showcase-card:hover,
.agency-card:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--shadow); }
.showcase-header { margin-bottom: 1rem; }
.showcase-label,
.agency-card .badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-muted);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}
.showcase-time { font-size: 0.8rem; color: var(--text-medium); margin-top: 0.5rem; }
.showcase-prompt {
  background: var(--cream-dark);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  margin: 0.75rem 0;
  color: var(--navy);
}
.showcase-content { color: var(--text-medium); font-size: 0.95rem; }
.showcase-why {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-medium);
}

.agency-grid,
.impossible-grid,
.credibility-grid,
.values-grid,
.steps-grid,
.comparison-item {
  display: grid;
  gap: 1.5rem;
}
.agency-grid,
.impossible-grid { grid-template-columns: repeat(3, 1fr); }
.credibility-grid { grid-template-columns: repeat(4, 1fr); margin-top: 2.5rem; }
.steps-grid { grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; }

.credibility-item {
  text-align: center;
  padding: 1.5rem 1rem;
}
.credibility-item .tool-count,
.credibility-item .tool-badge-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.credibility-item p { font-size: 0.85rem; color: var(--text-medium); }

.step-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}
.step-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* Pricing comparison + time arrows on MCP pages */
.pricing-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 720px;
  margin: 2rem auto 0;
}
.comparison-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  display: block;
}
.comparison-item.highlight,
.comparison-value.highlight { border-color: var(--gold); background: var(--gold-muted); }
.comparison-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}
.comparison-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy);
}

.time-old,
.time-new {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}
.time-old { background: var(--rose-muted); color: var(--rose); text-decoration: line-through; }
.time-new { background: var(--gold-muted); color: var(--gold); }
.time-arrow { color: var(--gold); margin: 0 0.5rem; }

/* Tool badge for MCP showcase */
.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--navy);
}

.click-path,
.copy-block {
  background: var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--navy);
  margin: 0.75rem 0;
}
.copy-btn {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.copy-btn:hover { background: var(--gold-light); }

.bookmarklet-btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
}

.warning,
.check {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  margin: 1.25rem 0;
}
.warning { background: var(--rose-muted); border-left: 3px solid var(--rose); color: var(--text-dark); }
.check { background: var(--gold-muted); border-left: 3px solid var(--gold); color: var(--text-dark); }

.screenshot-placeholder {
  background: var(--cream-dark);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  color: var(--text-medium);
  font-size: 0.9rem;
  margin: 1.5rem 0;
}

.business-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
}

/* MCP page responsive */
@media (max-width: 1023px) {
  .agency-grid, .impossible-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .credibility-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-comparison { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .agency-grid, .impossible-grid, .steps-grid, .credibility-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FIXES (2026-04-28-3)
   ============================================================ */

/* 1. Nav: main pages use .nav-links class, blog uses .site-nav. Both must flex horizontal. */
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}
.nav-links li { display: inline-block; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }

@media (max-width: 767px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: 0;
    background: var(--cream);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.75rem;
    gap: 1rem;
    height: calc(100vh - 70px);
    width: 280px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 100;
  }
  .nav-links.open { transform: translateX(0); }
}

/* 2. Hero image was 530x640 native — was sizing too tall. Constrain. */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image img {
  max-width: 420px;
  max-height: 520px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 3. Value card paragraphs inside .section-dark were inheriting cream text color (invisible on white card). */
.section-dark .value-card { background: var(--white); }
.section-dark .value-card h3 { color: var(--gold); }
.section-dark .value-card p { color: var(--text-medium); }

/* Same fix for any white card inside dark section */
.section-dark .partner-card { background: var(--white); }
.section-dark .partner-card h3 { color: var(--gold); }
.section-dark .partner-card p { color: var(--text-medium); }

/* 4. Ecosystem partners grid — was unstyled. Make all 4 service names visually consistent (gold), regardless of whether they link out. */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}
.partner-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.partner-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.partner-card h3 {
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
}
.partner-card h3 a {
  color: var(--gold);
  text-decoration: none;
}
.partner-card h3 a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}
.partner-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-medium);
}

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

/* ============================================================
   Image size reduction 2026-04-28-4
   Reduce hero + about-profile images by 40% for mobile optimization
   ============================================================ */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image img {
  max-width: 252px !important;
  max-height: 312px !important;
}
.about-profile-img {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.about-profile-img img {
  max-width: 252px !important;
  max-height: 312px !important;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
