/* ============================================================
   Real Estate Strategy AI | Kristine Dugan | Stylesheet
   ============================================================
   Design: Elevate AI-inspired — clean white, airy, photo-forward
   Sections (course order):
   1. Hero (photo + text side by side)
   2. About / Bio
   3. Services (ladder)
   4. Case Study
   5. Contact (form + phone + email)
   ============================================================ */

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

:root {
  --navy: #1a2332;
  --navy-light: #243044;
  --slate: #3d4f5f;
  --accent: #2b7de9;
  --accent-dark: #1f66c4;
  --accent-light: #e8f1fd;
  --white: #ffffff;
  --off-white: #f8f8f8;
  --light-border: #e8e8e8;
  --body-text: #1B1B1B;
  --muted: #666666;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  color: var(--body-text);
  background: var(--white);
  overflow-x: hidden;
}
p {
  margin-bottom: 1em;
}
p:last-child {
  margin-bottom: 0;
}
a {
  color: var(--body-text);
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover {
  color: var(--accent);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--light-border);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo-text {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--body-text);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--body-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-cta {
  display: inline-block;
  border: 1.5px solid var(--body-text);
  color: var(--body-text) !important;
  padding: 8px 20px;
  font-size: 13px !important;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--body-text);
  color: var(--white) !important;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--body-text);
  border-radius: 1px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--body-text);
  color: var(--white);
  text-decoration: none;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--body-text);
  text-decoration: none;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--light-border);
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.2s;
}
.btn-secondary:hover {
  border-color: var(--body-text);
  color: var(--body-text);
}

/* ── SHARED ── */
.rule {
  width: 48px;
  height: 2px;
  background: var(--body-text);
  margin-bottom: 24px;
}

/* ── 1. HERO — Photo + Text side by side (Elevate AI style) ── */
.hero {
  padding-top: 64px; /* nav height */
  background: var(--white);
}
.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 48px 64px;
  display: flex;
  align-items: center;
  gap: 64px;
}
.hero-photo {
  flex: 0 0 320px;
}
.hero-photo img {
  width: 320px;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}
.hero-text h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 400;
  color: var(--body-text);
  line-height: 1.2;
  margin-bottom: 28px;
}
.hero-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}
.hero-text strong {
  color: var(--body-text);
  font-weight: 700;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

/* ── 2. ABOUT / BIO ── */
.about {
  background: var(--off-white);
  padding: 80px 48px;
}
.about-inner {
  max-width: 720px;
  margin: 0 auto;
}
.about h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--body-text);
  line-height: 1.2;
  margin-bottom: 16px;
}
.about p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.about strong {
  color: var(--body-text);
  font-weight: 600;
}
.about a {
  color: var(--accent);
  font-weight: 600;
}

/* ── 3. SERVICES ── */
/* ── 2.5. APPROACH / METHODOLOGY ── */
.approach {
  padding: 80px 48px;
  background: var(--off-white);
}
.approach-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.approach-inner h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  color: var(--body-text);
  margin: 0 0 16px;
}
.approach-inner .rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 0 32px;
}
.approach-lead {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 400;
  color: var(--accent);
  line-height: 1.4;
  margin: 0 0 24px;
  max-width: 760px;
}
.approach-inner > p:not(.approach-lead) {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 760px;
  margin: 0 0 20px;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.approach-block {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: 4px;
  padding: 28px;
}
.approach-block h3 {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  color: var(--accent);
  margin: 0 0 12px;
  line-height: 1.3;
}
.approach-block p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 760px) {
  .approach { padding: 64px 24px; }
  .approach-grid { grid-template-columns: 1fr; gap: 16px; }
  .approach-block { padding: 24px; }
}

.services {
  background: var(--white);
  padding: 80px 48px;
}
.services-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.services h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--body-text);
  margin-bottom: 48px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: 4px;
  padding: 36px 28px;
}
.service-card.featured {
  border-color: var(--light-border);
  border-width: 1px;
}
.service-tier {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--body-text);
  margin-bottom: 14px;
  line-height: 1.3;
}
.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}
.service-card strong {
  color: var(--body-text);
  font-weight: 600;
}

/* ── 4. CASE STUDY ── */
.case-study {
  padding: 80px 48px;
  background: var(--off-white);
}
.case-study-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.case-study-inner h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--body-text);
  margin-bottom: 16px;
}
.case-study-intro {
  font-size: 1rem;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.case-study-grid--three {
  grid-template-columns: repeat(3, 1fr);
}
.case-study-grid--bento {
  grid-template-columns: 1fr 1fr;
}
.case-study-grid--bento .case-study-block--card:first-child {
  grid-column: 1 / -1;
}
.case-study-grid--bento .case-study-block--card:first-child h3 {
  font-size: clamp(22px, 2.6vw, 28px);
}
.case-study-grid--bento .case-study-block--card:first-child p {
  font-size: 15px;
}
.case-study-block--card {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: 4px;
  padding: 32px 28px;
}
.case-study-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.case-study-block--card h3 {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  color: var(--body-text);
  line-height: 1.35;
  margin-bottom: 16px;
}
.case-study-block p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
.case-study-block--card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 12px;
}
.case-study-stat {
  font-size: 13px !important;
  font-weight: 600;
  color: var(--accent) !important;
  border-top: 1px solid var(--light-border);
  padding-top: 12px;
  margin-top: 4px;
}

/* ── 4.5. MID-PAGE ROI CTA ── */
.mid-cta {
  padding: 32px 24px;
  background: #1B1B1B;
  text-align: center;
}
.mid-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.mid-cta p {
  font-size: 1rem;
  color: #fff;
  margin: 0;
  line-height: 1.6;
  font-family: var(--sans);
}
.mid-cta a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.mid-cta a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .mid-cta { padding: 40px 24px; }
  .mid-cta p { font-size: 0.98rem; }
}

/* ── 5. WEBINAR CTA ── */
.webinar {
  padding: 80px 48px;
  background: var(--off-white);
  text-align: center;
}
.webinar-inner {
  max-width: 560px;
  margin: 0 auto;
}
.webinar h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--body-text);
  margin-bottom: 16px;
}
.webinar > .webinar-inner > p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 32px;
}
.webinar strong {
  color: var(--body-text);
  font-weight: 600;
}
.webinar-form {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.webinar-form input {
  flex: 1;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--body-text);
  border: 1px solid var(--light-border);
  border-radius: 4px;
  background: var(--white);
  -webkit-appearance: none;
}
.webinar-form input:focus {
  outline: none;
  border-color: var(--body-text);
}
.webinar-form .btn-primary {
  white-space: nowrap;
  flex-shrink: 0;
}
.webinar-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 0;
}

/* ── 6. TESTIMONIAL ── */
.testimonial {
  padding: 64px 48px;
  background: var(--white);
  border-top: 1px solid var(--light-border);
}
.testimonial-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  margin: 0;
  padding: 0;
}
.testimonial blockquote p {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 22px);
  font-style: italic;
  font-weight: 400;
  color: var(--body-text);
  line-height: 1.65;
  margin-bottom: 20px;
}
.testimonial cite {
  font-family: var(--sans);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* ── 6. CONTACT ── */
.contact {
  padding: 80px 48px;
  background: var(--white);
}
.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--body-text);
  line-height: 1.2;
  margin-bottom: 16px;
}
.contact-info p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.contact-details {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--light-border);
}
.contact-details p {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--body-text);
}
.contact-details a {
  color: var(--accent);
  font-weight: 600;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--body-text);
  border: 1px solid var(--light-border);
  border-radius: 4px;
  background: var(--off-white);
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--body-text);
  background: var(--white);
}
.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}
.contact-form .btn-primary {
  align-self: flex-start;
}
.contact-form .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.contact-form .form-error {
  color: #c0392b;
  font-size: 14px;
  margin: 0;
  padding: 12px 16px;
  background: #fdecea;
  border-left: 3px solid #c0392b;
  border-radius: 2px;
}
.contact-form .form-success {
  background: var(--off-white);
  border-left: 3px solid var(--accent);
  padding: 24px 28px;
  border-radius: 2px;
}
.contact-form .form-success h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--body-text);
  margin: 0 0 8px;
}
.contact-form .form-success p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── FOOTER ── */
footer {
  background: var(--body-text);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 48px 48px;
}
.footer-brand {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-info {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.footer-info a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-info a:hover {
  color: var(--white);
}
.footer-social {
  margin-bottom: 16px;
}
.footer-social a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.footer-social a:hover {
  color: var(--white);
}
.footer-legal {
  margin-bottom: 16px;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ── FAQ ── */
.faq {
  padding: 80px 48px;
  background: var(--white);
}
.faq-inner {
  max-width: 720px;
  margin: 0 auto;
}
.faq h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--body-text);
  margin-bottom: 36px;
  text-align: center;
}
.faq-item {
  border-bottom: 1px solid var(--light-border);
}
.faq-item summary {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--body-text);
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: "\2212";
}
.faq-item p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  padding: 0 0 20px;
}

/* ── PRIVACY PAGE ── */
.privacy {
  padding-top: 64px;
  background: var(--white);
}
.privacy-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 48px 64px;
}
.privacy h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--body-text);
  margin-bottom: 8px;
}
.privacy-updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
}
.privacy h2 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--body-text);
  margin-top: 32px;
  margin-bottom: 12px;
}
.privacy p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.privacy strong {
  color: var(--body-text);
  font-weight: 600;
}
.privacy a {
  color: var(--accent);
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  nav {
    padding: 0 24px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--light-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-cta {
    text-align: center;
    display: block;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 64px 24px 48px;
    gap: 40px;
  }
  .hero-photo {
    flex: none;
  }
  .hero-photo img {
    width: 260px;
    height: 320px;
    margin: 0 auto;
  }
  .hero-ctas {
    justify-content: center;
  }

  .about {
    padding: 64px 24px;
  }
  .about-inner {
    text-align: center;
  }
  .about .rule {
    margin: 0 auto 24px;
  }

  .services {
    padding: 64px 24px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .case-study {
    padding: 64px 24px;
  }
  .case-study-grid,
  .case-study-grid--three,
  .case-study-grid--bento {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .case-study-grid--bento .case-study-block--card:first-child {
    grid-column: 1;
  }
  .case-study-card {
    padding: 32px 24px;
  }

  .webinar {
    padding: 64px 24px;
  }
  .webinar-form {
    flex-direction: column;
  }

  .testimonial {
    padding: 48px 24px;
  }

  .contact {
    padding: 64px 24px;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  footer {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .hero-photo img {
    width: 220px;
    height: 280px;
  }
  .hero-text h1 {
    font-size: 32px;
  }
  .contact-form .btn-primary {
    width: 100%;
    text-align: center;
  }
}

/* ══════════════════════════════════════════════════════════════
   ROI CALCULATOR (roi.html)
   ══════════════════════════════════════════════════════════════ */

/* ── CONTAINER ── */
.calculator {
  max-width: 900px;
  margin: 0 auto;
  padding: 112px 24px 48px; /* top = 64px fixed nav + 48px breathing room */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ── */
.calc-header {
  text-align: center;
  margin-bottom: 48px;
}

.calc-header h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--body-text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.calc-header p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── PROGRESS INDICATOR ── */
.progress-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.progress-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid var(--light-border);
  color: var(--muted);
  transition: all 0.3s ease;
}

.progress-dot.active {
  background: var(--body-text);
  color: var(--white);
  border-color: var(--body-text);
}

.progress-dot.completed {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* ── STEP CONTAINER ── */
.step-container {
  display: none;
  animation: fadeIn 0.4s ease;
  flex: 1;
}

.step-container.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── STEP TITLES ── */
.step-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--body-text);
  margin-bottom: 8px;
  text-align: center;
}

.step-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 36px;
}

/* ── FORM INPUTS ── */
.form-group {
  margin-bottom: 36px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--body-text);
  margin-bottom: 12px;
}

.form-group .hint {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

input[type="text"],
input[type="number"] {
  flex: 1;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--body-text);
  border: 1px solid var(--light-border);
  border-radius: 4px;
  background: var(--off-white);
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="number"]:focus {
  outline: none;
  border-color: var(--body-text);
  background: var(--white);
}

input[type="range"] {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--light-border);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--body-text);
  cursor: pointer;
  transition: background 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: var(--accent);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--body-text);
  cursor: pointer;
  border: none;
}

.slider-container {
  display: flex;
  gap: 16px;
  align-items: center;
}

.slider-container input[type="range"] {
  flex: 1;
}

.slider-value {
  min-width: 70px;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  color: var(--body-text);
}

/* ── STEP 1: SUMMARY STATS ── */
.biz-summary {
  margin-top: 12px;
  padding: 20px 24px;
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 2px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.biz-stat {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.biz-stat .stat-value {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--body-text);
  margin-bottom: 2px;
}

.biz-stat .stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── STEP 2: SECTIONS & CATEGORIES ── */
.time-section {
  margin-bottom: 32px;
}

.section-header {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--light-border);
}

.time-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.time-category {
  padding: 16px 20px;
  background: var(--off-white);
  border: 1px solid var(--light-border);
  border-radius: 4px;
  transition: all 0.2s;
}

.time-category:hover {
  border-color: var(--body-text);
  background: var(--white);
}

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

.category-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--body-text);
}

.category-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.category-bottom {
  display: flex;
  gap: 12px;
  align-items: center;
}

.category-bottom input[type="range"] {
  flex: 1;
}

.category-bottom .value {
  min-width: 35px;
  text-align: right;
  font-size: 12px;
  color: var(--muted);
}

/* ── PAIN POINT TOGGLE ── */
.pain-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.pain-toggle:hover {
  border-color: var(--body-text);
  color: var(--body-text);
}

.pain-toggle.selected {
  background: #fef3e2;
  border-color: #e8a020;
  color: #8b5e0f;
}

.pain-toggle .toggle-icon {
  font-size: 12px;
  line-height: 1;
}

/* ── HOURS SUMMARY ── */
.hours-summary {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 2px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.hours-summary p {
  font-size: 13px;
  color: var(--body-text);
  margin: 0;
}

.hours-summary strong {
  color: var(--accent-dark);
  font-weight: 700;
}

.pain-hint {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

.pain-hint strong {
  color: var(--body-text);
}

.warning {
  display: none;
  margin-top: 12px;
  padding: 10px 16px;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 2px;
  color: #664d03;
  font-size: 13px;
}

.warning.show {
  display: block;
}

/* ── GATE FORM ── */
.gate-form-wrap {
  max-width: 520px;
  margin: 40px auto 0;
  text-align: center;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.form-row input {
  flex: 1;
  min-width: 180px;
  padding: 14px 16px;
  border: 1.5px solid var(--light-border);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--body-text);
  outline: none;
  transition: border-color 0.2s;
}

.form-row input:focus { border-color: var(--accent); }

.btn-full {
  width: 100%;
  justify-content: center;
}

.gate-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.6;
}

.gate-error {
  color: #c0392b;
  font-size: 13px;
  margin-top: 8px;
}

/* ── STEP 3: RESULTS ── */
.credibility-callout {
  padding: 24px;
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 2px;
  margin-bottom: 48px;
}

.credibility-callout p {
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.6;
  margin-bottom: 8px;
  font-style: italic;
}

.credibility-callout p.source {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 0;
  font-style: normal;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.result-card {
  padding: 28px;
  background: var(--off-white);
  border: 1px solid var(--light-border);
  border-radius: 4px;
}

.result-card.featured {
  grid-column: 1 / -1;
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.result-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.result-card.featured .result-label {
  color: rgba(255,255,255,0.7);
}

.result-value {
  font-family: var(--serif);
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 400;
  color: var(--body-text);
  line-height: 1.2;
  margin-bottom: 8px;
}

.result-card.featured .result-value {
  color: var(--white);
  font-size: 32px;
}

.result-description {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.result-card.featured .result-description {
  color: rgba(255,255,255,0.8);
}

/* ── OPPORTUNITIES ── */
.opportunities {
  margin-bottom: 48px;
}

.opportunities h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--body-text);
  margin-bottom: 24px;
}

.opportunity-card {
  padding: 20px 24px;
  background: var(--off-white);
  border: 1px solid var(--light-border);
  border-left: 4px solid #e8a020;
  border-radius: 4px;
  margin-bottom: 12px;
}

.opportunity-card .opp-rank {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8b5e0f;
  margin-bottom: 4px;
}

.opportunity-card .opp-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--body-text);
  margin-bottom: 6px;
}

.opportunity-card .opp-detail {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.opportunity-card .opp-detail strong {
  color: var(--body-text);
}

.no-pain-selected {
  padding: 20px;
  background: var(--off-white);
  border: 1px solid var(--light-border);
  border-radius: 4px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ── BOTTOM LINE ── */
.bottom-line {
  padding: 32px;
  background: var(--white);
  border: 2px solid var(--body-text);
  border-radius: 4px;
  margin-bottom: 48px;
}

.bottom-line h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--body-text);
  margin-bottom: 16px;
}

.bottom-line ul {
  list-style: none;
  padding: 0;
}

.bottom-line li {
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.7;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.bottom-line li:last-child { margin-bottom: 0; }

.bottom-line li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ── CTA ── */
.cta-section {
  text-align: center;
  padding: 48px 32px;
  background: var(--off-white);
  border-radius: 4px;
  margin-bottom: 48px;
}

.cta-section h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--body-text);
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding: 24px;
  border-top: 1px solid var(--light-border);
  margin-top: 48px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--body-text);
  color: var(--white);
}

.btn-primary:hover { background: var(--accent); }

.btn-secondary {
  background: transparent;
  color: var(--body-text);
  border: 1.5px solid var(--light-border);
}

.btn-secondary:hover { border-color: var(--body-text); }

.button-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--light-border);
}

.button-group .btn {
  flex: 1;
  max-width: 200px;
}

/* ── ROI RESPONSIVE ── */
@media (max-width: 768px) {
  .calculator { padding: 96px 16px 32px; } /* 64px nav + 32px breathing */
  .results-grid { grid-template-columns: 1fr; gap: 20px; }
  .result-card.featured { grid-column: 1; }
  .biz-summary { flex-direction: column; gap: 16px; }
  .hours-summary { flex-direction: column; gap: 8px; }
  .button-group { flex-direction: column; }
  .button-group .btn { max-width: none; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
}

@media (max-width: 480px) {
  .calculator { padding: 84px 12px 20px; } /* 64px nav + 20px breathing */
  .calc-header { margin-bottom: 32px; }
  .calc-header h1 { font-size: 24px; }
  .step-title { font-size: 20px; }
  .time-category { padding: 12px 16px; }
  .progress-dot { width: 28px; height: 28px; font-size: 11px; }
  .result-card { padding: 20px; }
  .bottom-line { padding: 24px; }
  .cta-section { padding: 32px 20px; }
  .cta-section h2 { font-size: 20px; }
}
