:root {
  --bg: #fdfbf7;
  --bg-sand: #f5efe6;
  --surface: #ffffff;
  --text: #1f242e;
  --muted: #64748b;
  --accent: #b45309;
  --accent-hover: #92400e;
  --border: #e8e2d8;
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.6; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.max-800 { max-width: 840px; }

/* Standardized Demo Notice Banner */
.demo-banner { background: #0f172a; color: #94a3b8; font-size: 0.8rem; text-align: center; padding: 0.5rem; }
.demo-banner-content { display: flex; align-items: center; justify-content: center; gap: 0.65rem; flex-wrap: wrap; }
.sensus-brand-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.sensus-brand-link strong { color: #38bdf8; }
.sensus-cta-link { color: #38bdf8 !important; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 0.25rem; }
.sensus-cta-link:hover { color: #7dd3fc !important; text-decoration: underline; }

/* Site Header */
.site-header { padding: 1.25rem 0; border-bottom: 1px solid var(--border); background: rgba(253, 251, 247, 0.95); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); }
.nav-wrap { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.brand { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 600; text-decoration: none; color: var(--text); }
.brand span { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.8rem; text-transform: uppercase; color: var(--accent); letter-spacing: 0.08em; font-weight: 700; }
.nav { display: flex; gap: 1.75rem; align-items: center; }
.nav a:not(.btn) { text-decoration: none; color: var(--muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav a:not(.btn):hover { color: var(--text); }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.is-active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-block; padding: 0.75rem 1.4rem; border-radius: 6px; font-weight: 600; font-size: 0.9rem; text-decoration: none; cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: #fff; transition: background 0.2s, transform 0.1s; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn.full { width: 100%; text-align: center; }

/* Hero */
.hero { padding: 4.5rem 0 3.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.95fr; gap: 3.5rem; align-items: center; }
.badge { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 1rem; }
h1 { font-family: 'Playfair Display', serif; font-size: 2.75rem; line-height: 1.2; margin-bottom: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.hero-lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.6; }
.cta-row { display: flex; flex-direction: column; gap: 0.65rem; align-items: flex-start; }
.confidentiality-note { font-size: 0.85rem; color: var(--muted); }

/* Portrait Photo Card */
.hero-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.profile-photo-wrap { height: 320px; width: 100%; overflow: hidden; background: #e8ded1; }
.profile-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.credentials-bar { padding: 1rem 1.5rem; background: #ffffff; border-bottom: 1px solid var(--border); }
.credentials-bar strong { display: block; font-size: 1rem; color: var(--text); }
.credentials-bar span { font-size: 0.82rem; color: var(--accent); font-weight: 600; }
.stat-callout { padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1.25rem; background: var(--bg-sand); }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.3rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.4; }

/* Sections Common */
.section { padding: 5rem 0; }
.bg-sand { background: var(--bg-sand); }
.section-title { margin-bottom: 2.75rem; }
.section-title.center { text-align: center; }
.section-title h2 { font-family: 'Playfair Display', serif; font-size: 2.25rem; margin-top: 0.35rem; }
.subtitle { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }

/* Cards & Testimonials */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.card, .testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.25rem 1.75rem; }
.card-tag { font-size: 0.75rem; font-weight: 700; color: var(--accent); margin-bottom: 0.5rem; text-transform: uppercase; }
.card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; font-family: 'Playfair Display', serif; }
.card p { font-size: 0.95rem; color: var(--muted); }

.quote { font-size: 1.05rem; font-style: italic; color: #334155; margin-bottom: 1.5rem; line-height: 1.6; }
.client-meta strong { display: block; font-size: 0.9rem; }
.client-meta span { font-size: 0.8rem; color: var(--muted); }

/* Methodology Timeline */
.timeline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.timeline-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.step-badge { display: inline-block; background: var(--bg-sand); color: var(--accent); font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 4px; margin-bottom: 0.75rem; text-transform: uppercase; }
.timeline-step h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 0.65rem; }
.timeline-step p { font-size: 0.9rem; color: var(--muted); }

/* Scheduler UI */
.scheduler-container { display: grid; grid-template-columns: 1fr 1.35fr; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 12px 35px rgba(0,0,0,0.05); }
.scheduler-sidebar { padding: 2rem; background: var(--bg-sand); border-right: 1px solid var(--border); }
.scheduler-avatar-sm { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; margin-bottom: 1rem; border: 2px solid #fff; background: #e8ded1; }
.scheduler-avatar-sm img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.scheduler-sidebar h4 { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.25rem; }
.scheduler-sidebar h3 { font-size: 1.25rem; font-family: 'Playfair Display', serif; margin-bottom: 1.25rem; line-height: 1.3; }
.scheduler-meta-item { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.scheduler-copy { font-size: 0.85rem; color: var(--muted); margin-top: 1.25rem; line-height: 1.5; }

.scheduler-calendar { padding: 2rem; }
.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.cal-btn { background: none; border: 1px solid var(--border); border-radius: 4px; width: 28px; height: 28px; cursor: pointer; }
.cal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; text-align: center; margin-bottom: 1.5rem; }
.cal-day-label { font-size: 0.75rem; font-weight: 700; color: var(--muted); padding-bottom: 0.25rem; }
.cal-date { padding: 0.6rem 0; border: 1px solid var(--border); background: #fff; border-radius: 6px; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: all 0.15s; }
.cal-date.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.cal-date:hover:not(.active) { background: var(--bg-sand); }

.slots-header { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--muted); }
.slots-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 1.25rem; }
.slot-btn { padding: 0.65rem; border: 1px solid var(--border); background: #fff; border-radius: 6px; font-size: 0.85rem; font-weight: 600; color: var(--accent); cursor: pointer; transition: all 0.15s; }
.slot-btn:hover { border-color: var(--accent); background: var(--bg-sand); }
.slot-btn.selected { background: var(--accent); color: #fff; border-color: var(--accent); }

.booking-confirm { background: var(--bg-sand); border: 1px solid var(--border); border-radius: 6px; padding: 1rem; text-align: center; animation: fadeIn 0.2s ease-in; }
.booking-confirm p { font-size: 0.85rem; margin-bottom: 0.75rem; }

/* Standardized Footer */
.footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .scheduler-container { grid-template-columns: 1fr; }
  .scheduler-sidebar { border-right: none; border-bottom: 1px solid var(--border); }
  h1 { font-size: 2.2rem; }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(253, 251, 247, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 2rem 1.5rem 2.5rem 1.5rem;
    gap: 1.25rem;
    text-align: center;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    z-index: 99;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a:not(.btn) {
    display: block !important;
    font-size: 1.15rem;
    color: var(--text);
  }

  .nav .btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .demo-banner-content {
    font-size: 0.74rem;
    gap: 0.35rem;
  }
  .banner-sep {
    display: none;
  }
}