/* ============================================
   RINGTHEBELL — PRE-APPRAISAL
   Phase 1 · Evergreen automated presentation
   Light mode · Sidebar desktop · Story mobile
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #F7F6F3;
  --surface:     #FFFFFF;
  --border:      rgba(0,0,0,0.08);
  --border-md:   rgba(0,0,0,0.13);

  --ink:         #111111;
  --ink-2:       #3A3A3A;
  --ink-3:       #777777;
  --ink-4:       #BBBBBB;

  --green:       #00A86B;
  --green-bg:    rgba(0,168,107,0.08);
  --amber:       #D97706;
  --amber-bg:    rgba(217,119,6,0.08);

  --sidebar-w:   260px;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;

  --font-head:   'Montserrat', sans-serif;
  --font-body:   'Inter', sans-serif;

  --shadow-sm:   0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.11);

  /* Theme variables — set by JS, defaults to Navy/Gold */
  --theme-sidebar:       #1B2A4A;
  --theme-sidebar-hover: rgba(255,255,255,0.06);
  --theme-accent:        #C9A84C;
  --theme-accent-light:  rgba(201,168,76,0.15);
  --theme-accent-glow:   rgba(201,168,76,0.22);
  --theme-accent-pale:   rgba(201,168,76,0.07);
  --theme-on-accent:     #fff;
  --theme-topbar:        #1B2A4A;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ============================================
   LOADING SPLASH
   ============================================ */

.splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--theme-sidebar);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-inner {
  text-align: center;
  padding: 40px;
}

.splash-bell {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
  animation: splashBell 1s ease infinite alternate;
}

@keyframes splashBell {
  0%   { transform: rotate(-8deg); }
  100% { transform: rotate(8deg); }
}

.splash-brand {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.splash-msg {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.splash-dots span {
  display: inline-block;
  animation: dotPulse 1.2s infinite;
  opacity: 0;
}
.splash-dots span:nth-child(2) { animation-delay: 0.2s; }
.splash-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
}

.splash-bar-track {
  width: 220px;
  height: 4px;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  margin: 0 auto 16px;
  overflow: hidden;
}

.splash-bar-fill {
  height: 100%;
  background: var(--theme-accent);
  border-radius: 20px;
  width: 0%;
  transition: width 0.1s linear;
}

.splash-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.splash-sub strong { color: rgba(255,255,255,0.7); }

/* ============================================
   LAYOUT — SIDEBAR + MAIN
   ============================================ */

.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--theme-sidebar);
  display: flex;
  flex-direction: column;
  z-index: 50;
  padding: 28px 0 24px;
  transition: background 0.35s ease;
}

.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
}

/* ============================================
   SIDEBAR CONTENTS
   ============================================ */

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.sb-bell { font-size: 20px; }
.sb-brand {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.sidebar-property {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.sb-address {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.sb-owner {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
}

.sb-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--theme-accent);
  background: var(--theme-accent-light);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 4px 10px;
  transition: color 0.35s ease, background 0.35s ease;
}

.sb-live-dot {
  width: 6px; height: 6px;
  background: var(--theme-accent);
  border-radius: 50%;
  animation: sbPulse 2s infinite;
  transition: background 0.35s ease;
}

@keyframes sbPulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sb-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s ease;
  cursor: pointer;
}

.sb-nav-item:hover { background: rgba(255,255,255,0.06); }

.sb-nav-item.active { background: var(--theme-accent); transition: background 0.35s ease; }

.sb-nav-icon { font-size: 17px; width: 24px; text-align: center; flex-shrink: 0; }

.sb-nav-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s ease;
}

.sb-nav-item:hover .sb-nav-label { color: rgba(255,255,255,0.9); }
.sb-nav-item.active .sb-nav-label { color: var(--theme-on-accent); }

.sidebar-agent-mini {
  margin: 0 12px;
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.sb-agent-avatar {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sb-agent-name { font-size: 13px; font-weight: 700; color: #fff; }
.sb-agent-role { font-size: 11px; color: rgba(255,255,255,0.4); }

/* ============================================
   MOBILE TOP BAR
   ============================================ */

.mobile-topbar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  background: var(--theme-topbar);
  height: 60px;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transition: background 0.35s ease;
}

.mtb-left { display: flex; align-items: center; gap: 10px; }
.mtb-bell { font-size: 20px; }

.mtb-address {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.mtb-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mtb-menu-btn span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: -100%; bottom: 0;
  width: min(320px, 85vw);
  background: var(--theme-topbar);
  z-index: 200;
  transition: right 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open { right: 0; }

.md-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.md-address {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.md-sub { font-size: 12px; color: rgba(255,255,255,0.4); }

.md-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.md-nav {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.md-nav-item {
  display: block;
  padding: 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: background 0.15s ease, color 0.15s ease;
}

.md-nav-item:hover { background: rgba(255,255,255,0.07); color: #fff; }
.md-nav-item.active { color: var(--theme-accent); }

.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.show { opacity: 1; pointer-events: all; }

/* ============================================
   SECTIONS — GENERAL
   ============================================ */

.prop-section {
  min-height: 100vh;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
}

.phase1-marketing-optional {
  display: none;
}

.section-inner {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
}

.section-label-row { margin-bottom: 10px; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--theme-accent);
  transition: color 0.35s ease;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-intro {
  font-size: 17px;
  color: var(--ink-3);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Section next button */
.section-nav-btn-wrap {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.section-next-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--theme-sidebar);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 18px 28px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.35s ease, filter 0.2s ease, transform 0.15s ease;
  width: 100%;
  justify-content: center;
}

.section-next-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.section-next-btn span { font-size: 20px; transition: transform 0.2s ease; }
.section-next-btn:hover span { transform: translateX(4px); }

/* ============================================
   SLIDE 1: WELCOME
   ============================================ */

.welcome-eyebrow { margin-bottom: 18px; }

.we-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--theme-accent);
  background: var(--theme-accent-light);
  border: 1px solid var(--theme-accent-light);
  border-radius: 20px;
  padding: 5px 14px;
  transition: color 0.35s ease, background 0.35s ease;
}

.welcome-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 16px;
}

.welcome-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--ink-3);
  margin-bottom: 28px;
}

.wl-icon { font-size: 16px; }

.welcome-intro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--theme-accent);
  transition: border-color 0.35s ease;
}

.wic-text {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.75;
}

.wic-text strong { color: var(--ink); }

/* Welcome stats */
.welcome-stats-row {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  gap: 0;
}

.wstat {
  flex: 1;
  text-align: center;
  padding: 0 12px;
}

.wstat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 900;
  color: var(--theme-accent);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  transition: color 0.35s ease;
}

.wstat-label {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.35;
}

.wstat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* Appointment card */
.welcome-appointment-card {
  background: var(--theme-sidebar);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-md);
  transition: background 0.35s ease;
}

.wac-icon { font-size: 28px; flex-shrink: 0; }

.wac-body { flex: 1; }

.wac-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}

.wac-time {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
}

.wac-agent { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 2px; }

.wac-confirm-btn {
  background: var(--theme-accent);
  color: var(--theme-on-accent);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.35s ease, color 0.35s ease, filter 0.2s ease;
  white-space: nowrap;
}

.wac-confirm-btn:hover { filter: brightness(1.1); }

/* ============================================
   SLIDE 2: MEET YOUR AGENT
   ============================================ */

.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}

.video-screen {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.vs-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(201,168,76,0.08) 0%, transparent 70%);
}

.vs-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px;
}

.vs-avatar {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  position: absolute;
  bottom: -4px;
  right: 16px;
  user-select: none;
  line-height: 1;
}

.vs-play-btn {
  width: 68px; height: 68px;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vs-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(0,0,0,0.5);
}

.vs-play-icon { font-size: 22px; color: #111; margin-left: 4px; }

.vs-caption {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  text-align: center;
  max-width: 280px;
}

.vs-duration {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.video-info {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.vi-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--theme-accent);
  margin-bottom: 6px;
  transition: color 0.35s ease;
}

.vi-desc { font-size: 14px; color: var(--ink-3); line-height: 1.6; }

/* Agent profile card */
.agent-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.ac-header {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.ac-avatar {
  width: 60px; height: 60px;
  background: var(--theme-sidebar);
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.35s ease;
}

.ac-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 2px;
}

.ac-role { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }

.ac-badges { display: flex; gap: 6px; flex-wrap: wrap; }

.ac-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--border-md);
  border-radius: 20px;
  padding: 4px 10px;
}

.ac-quote {
  font-size: 16px;
  color: var(--ink-2);
  font-style: italic;
  line-height: 1.65;
  border-left: 3px solid var(--theme-accent);
  padding-left: 16px;
  margin-bottom: 22px;
  transition: border-color 0.35s ease;
}

.ac-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.ac-stat {
  text-align: center;
  padding: 0 8px;
  border-right: 1px solid var(--border);
}
.ac-stat:last-child { border-right: none; }

.ac-stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--theme-accent);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  transition: color 0.35s ease;
}

.ac-stat-lbl { font-size: 11px; color: var(--ink-3); line-height: 1.3; }

/* ============================================
   SLIDE 3: WHAT TO EXPECT
   ============================================ */

.relax-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--theme-accent-pale);
  border: 1px solid var(--theme-accent-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 28px;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.relax-icon { font-size: 24px; flex-shrink: 0; }
.relax-text { font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.relax-text strong { color: var(--ink); }

.expect-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.estep {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}

.estep:last-child { border-bottom: none; }

.estep-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--theme-accent);
  color: var(--theme-on-accent);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background 0.35s ease, color 0.35s ease;
}

.estep-finish .estep-num {
  background: var(--theme-sidebar);
  font-size: 18px;
  transition: background 0.35s ease;
}

.estep-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.estep-desc { font-size: 14px; color: var(--ink-3); line-height: 1.6; }

.duration-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-sm);
}

.db-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.db-icon { font-size: 18px; }
.db-text { font-size: 14px; color: var(--ink-3); }
.db-text strong { color: var(--ink); }

/* ============================================
   SLIDE 4: HOW WE SELL
   ============================================ */

.marketing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.mcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mcard-featured {
  grid-column: 1 / -1;
  background: var(--theme-sidebar);
  border-color: var(--theme-sidebar);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.mcard-icon-wrap {
  width: 44px; height: 44px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.mcard-featured .mcard-icon-wrap {
  background: rgba(255,255,255,0.1);
}

.mcard-icon { font-size: 22px; }

.mcard-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.mcard-featured .mcard-title { color: #fff; }

.mcard-desc { font-size: 14px; color: var(--ink-3); line-height: 1.65; flex: 1; }
.mcard-desc strong { color: var(--ink); }

.mcard-featured .mcard-desc { color: rgba(255,255,255,0.6); }
.mcard-featured .mcard-desc strong { color: #fff; }

.mcard-result {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-top: 6px;
}

.mcard-result-featured { background: rgba(255,255,255,0.08); }

.mcr-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--theme-accent);
  flex-shrink: 0;
  transition: color 0.35s ease;
}

.mcr-val { font-size: 13px; font-weight: 600; color: var(--ink); }
.mcard-result-featured .mcr-val { color: rgba(255,255,255,0.8); }

/* Process flow */
.process-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.pf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: center;
}

.pf-dot {
  width: 14px; height: 14px;
  background: var(--theme-accent);
  border-radius: 50%;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 2px var(--theme-accent);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.pf-dot-end {
  background: var(--green);
  box-shadow: 0 0 0 2px var(--green);
}

.pf-line {
  flex: 1;
  height: 2px;
  background: var(--border-md);
  margin-top: 6px;
  align-self: flex-start;
}

.pf-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.pf-sub { font-size: 11px; color: var(--ink-3); }

/* ============================================
   SLIDE 5: PROOF
   ============================================ */

.proof-stats {
  display: flex;
  align-items: center;
  background: var(--theme-sidebar);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  gap: 0;
  transition: background 0.35s ease;
}

.ps-item {
  flex: 1;
  text-align: center;
  padding: 0 8px;
}

.ps-num {
  display: block;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--theme-accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 2px;
  transition: color 0.35s ease;
}

.ps-star {
  font-size: 16px;
  color: var(--theme-accent);
  vertical-align: super;
  transition: color 0.35s ease;
}

.ps-label {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  line-height: 1.35;
}

.ps-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* Reviews */
.reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.review-featured {
  border-color: var(--theme-accent-light);
  background: var(--theme-accent-pale);
  transition: border-color 0.35s ease, background 0.35s ease;
}

.rc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rc-stars { font-size: 15px; color: #F5A623; letter-spacing: 1px; }

.rc-source {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.rc-quote {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 16px;
}

.rc-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rc-avatar {
  width: 36px; height: 36px;
  background: var(--theme-sidebar);
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.35s ease;
}

.rc-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.rc-meta { font-size: 12px; color: var(--ink-3); }

/* AgentCompare link */
.agentcompare-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-sm);
}

.acl-text { font-size: 13px; color: var(--ink-3); }

.acl-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--theme-accent);
  text-decoration: none;
  transition: color 0.35s ease;
}

.acl-btn:hover { text-decoration: underline; }

/* ============================================
   SLIDE 5: HELP ME PREPARE
   ============================================ */

/* Phase 1 engagement modules */
.prep-engagement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.prep-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.prep-card-head {
  margin-bottom: 18px;
}

.prep-card-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--theme-accent);
  margin-bottom: 6px;
  transition: color 0.35s ease;
}

.prep-card-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.prep-card-sub {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
}

.home-details-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hdf-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hdf-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}

.hdf-fieldset {
  border: none;
  padding: 0;
}

.hdf-select,
.hdf-textarea {
  width: 100%;
  border: 1px solid var(--border-md);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hdf-select:focus,
.hdf-textarea:focus {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 3px var(--theme-accent-light);
}

.hdf-textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.55;
}

.hdf-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hdf-check {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 11px;
  background: var(--bg);
  cursor: pointer;
}

.hdf-check input {
  accent-color: var(--theme-accent);
}

.hdf-check span {
  font-size: 13px;
  color: var(--ink-2);
}

.hdf-submit-btn {
  border: none;
  border-radius: var(--radius-md);
  background: var(--theme-sidebar);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 18px;
  cursor: pointer;
  transition: background 0.35s ease, filter 0.2s ease, transform 0.15s ease;
}

.hdf-submit-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.hdf-status {
  min-height: 18px;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}

.hdf-status.ok {
  color: var(--green);
}

.timeline-poll-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-option {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.timeline-option:hover {
  border-color: var(--theme-accent);
  transform: translateY(-1px);
}

.timeline-option.active {
  border-color: var(--theme-accent);
  background: var(--theme-accent-pale);
  color: var(--ink);
  box-shadow: 0 0 0 2px var(--theme-accent-light) inset;
}

.timeline-poll-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-3);
}

/* Final CTA card */
.final-cta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  text-align: center;
}

.fcc-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 10px;
}

.fcc-sub {
  font-size: 15px;
  color: var(--ink-3);
  margin-bottom: 24px;
}

.fcc-sub strong { color: var(--ink); }

.fcc-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.fcc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.fcc-btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.25);
}

.fcc-btn-whatsapp:hover { filter: brightness(1.08); transform: translateY(-1px); }

.fcc-btn-call {
  background: var(--theme-sidebar);
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: background 0.35s ease, filter 0.2s ease, transform 0.15s ease;
}

.fcc-btn-call:hover { filter: brightness(1.15); transform: translateY(-1px); }

.fcc-change { font-size: 13px; color: var(--ink-4); }
.fcc-change-link { color: var(--theme-accent); text-decoration: none; font-weight: 600; transition: color 0.35s ease; }

/* ============================================
   SLIDE 6: CONTACT & CLOSE
   ============================================ */

#contact {
  display: flex;
  align-items: center;
  justify-content: center;
}

#contact .final-cta-card {
  margin-bottom: 32px;
  border: 1px solid var(--theme-accent-light);
  box-shadow: var(--shadow-md);
  transition: border-color 0.35s ease;
}

/* Footer */
.footer-brand-bar {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.fbb-text { font-size: 13px; color: var(--ink-4); margin-bottom: 2px; }
.fbb-link { color: var(--theme-accent); text-decoration: none; font-weight: 600; transition: color 0.35s ease; }
.fbb-sub { font-size: 11px; color: var(--ink-4); }

/* ============================================
   MOBILE DOTS
   ============================================ */

.mobile-dots {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  gap: 8px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: 20px;
}

.m-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.25s ease;
  display: block;
}

.m-dot.active {
  background: var(--theme-accent);
  width: 22px;
  border-radius: 4px;
  box-shadow: 0 0 6px var(--theme-accent-glow);
  transition: background 0.35s ease, box-shadow 0.35s ease, width 0.25s ease;
}

/* ============================================
   TRACKING TOAST
   ============================================ */

.tracking-toast {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  background: #111;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  max-width: 300px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.4s ease;
}

.tracking-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon { font-size: 22px; flex-shrink: 0; }
.toast-title { font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.toast-sub { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.4; }

/* ============================================
   MODAL
   ============================================ */

.modal-overlay {
  position: fixed; inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(16px);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}

.modal-overlay.open .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon { font-size: 48px; display: block; margin-bottom: 16px; }

.modal-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 10px;
}

.modal-body {
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-agent-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: left;
}

.mas-avatar {
  width: 42px; height: 42px;
  background: var(--theme-sidebar);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.35s ease;
}

.mas-name { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.mas-contact { font-size: 12px; color: var(--ink-3); }

/* ============================================
   THEME SWITCHER
   ============================================ */

.theme-switcher {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 300;
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 24px;
  padding: 9px 16px 9px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.theme-toggle-btn:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.16);
  transform: translateY(-1px);
}

.theme-toggle-icon { font-size: 16px; }

.theme-panel {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.15);
  min-width: 210px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.theme-panel.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.theme-panel-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.theme-options { display: flex; flex-direction: column; gap: 4px; }

.theme-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  width: 100%;
  text-align: left;
}

.theme-option:hover { background: var(--bg); }
.theme-option.active { background: var(--bg); border-color: rgba(0,0,0,0.1); }

.theme-swatch {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.sw-sidebar { width: 22px; height: 28px; display: block; }
.sw-accent  { width: 12px; height: 28px; display: block; }

.theme-name { font-size: 13px; font-weight: 600; color: var(--ink); flex: 1; }

.theme-check {
  font-size: 12px;
  color: var(--ink-4);
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.theme-option.active .theme-check { opacity: 1; color: var(--ink); }

/* ============================================
   SCROLL FADE-IN BASE STATE
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */

@media (max-width: 860px) {

  .sidebar { display: none; }

  .mobile-topbar { display: flex; }

  .mobile-dots { display: flex; }

  .main-content {
    margin-left: 0;
    padding-top: 60px;
  }

  .prop-section {
    min-height: auto;
    padding: 40px 0 60px;
  }

  .section-inner {
    padding: 0 20px;
    max-width: 100%;
  }

  .tracking-toast {
    bottom: 70px;
    right: 16px;
    left: 16px;
    max-width: none;
  }

  .theme-switcher { bottom: 72px; left: 16px; }

  .welcome-stats-row {
    flex-direction: column;
    gap: 16px;
  }

  .wstat-divider { width: 100%; height: 1px; }

  .wstat { padding: 0; }

  .welcome-appointment-card {
    flex-wrap: wrap;
    gap: 12px;
  }

  .wac-confirm-btn { width: 100%; text-align: center; padding: 12px; }

  .marketing-grid { grid-template-columns: 1fr; }
  .mcard-featured { grid-column: auto; }

  .ac-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ac-stat { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 12px; }
  .ac-stat:nth-child(3), .ac-stat:last-child { border-bottom: none; }

  .proof-stats { flex-wrap: wrap; gap: 16px; padding: 20px; }
  .ps-item { flex: 0 0 calc(50% - 16px); }
  .ps-divider { display: none; }

  .process-flow { flex-direction: column; gap: 0; }
  .pf-step { flex-direction: row; gap: 14px; text-align: left; padding: 10px 0; }
  .pf-line { width: 2px; height: 24px; margin: 0 6px; align-self: auto; }

  .agentcompare-link { flex-direction: column; gap: 8px; text-align: center; }

  .section-next-btn { font-size: 18px; padding: 20px 28px; }

  .prep-engagement-grid { grid-template-columns: 1fr; }
  .timeline-poll-card { order: -1; }
  .hdf-check-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
