/* ===================================================
   ClienThru Premium Landing — Design System
   White BG, dark accents, blue primary, clean + modern
   =================================================== */

:root {
  --white: #ffffff;
  --bg: #fafaf9;
  --surface: #ffffff;
  --fg: #111111;
  --fg-muted: #6b7280;
  --fg-subtle: #9ca3af;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #eff6ff;
  --border: #e5e7eb;
  --border-dark: #d1d5db;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 12px;
  --max-w: 1120px;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--sans); }
ul { list-style: none; }

/* ---- Layout helpers ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

/* ---- Section label ---- */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ---- Headings ---- */
.section-heading {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 580px;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  letter-spacing: -0.01em;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 27px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-dark);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.btn-outline:hover { border-color: var(--fg); background: var(--bg); }

/* ---- NAVIGATION ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 8px; }
.nav-brand-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-brand-icon svg { width: 18px; height: 18px; color: white; }
.nav-brand-name {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--fg); }
.nav-cta { margin-left: 8px; }

/* Mobile nav */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--fg);
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-mobile-menu {
    display: none;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 32px 24px;
    flex-direction: column;
    gap: 20px;
  }
  .nav-mobile-menu.open { display: flex; }
  .nav-mobile-menu a { font-size: 16px; font-weight: 500; color: var(--fg); }
  .nav-mobile-cta { width: 100%; justify-content: center; }
}

/* ---- HERO ---- */
.hero {
  padding: 80px 0 96px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  padding: 6px 14px 6px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-avatars {
  display: flex;
}
.hero-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: var(--accent);
  margin-left: -8px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-avatar:first-child { margin-left: 0; }
.hero-proof-text {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
}
.hero-proof-text strong { color: var(--fg); font-weight: 600; }
.hero-visual {
  position: relative;
}
.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero-image-wrap img { width: 100%; height: 360px; object-fit: cover; }
.hero-float-card {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  min-width: 200px;
}
.hero-float-card-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-subtle);
  margin-bottom: 8px;
}
.hero-float-card-value {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-float-card-sub {
  font-size: 13px;
  color: var(--fg-muted);
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-image-wrap img { height: 260px; }
  .hero-float-card { bottom: -16px; left: -12px; }
}

/* ---- SERVICES ---- */
.services { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: #d1d5db;
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.service-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---- HOW IT WORKS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 1px;
  background: var(--border);
}
.step-item { position: relative; }
.step-number {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.step-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.step-item p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
}
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ---- BENEFITS ---- */
.benefits { background: var(--bg); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.benefit-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.benefit-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--fg);
}
.benefit-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.benefit-highlight {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  margin-top: 12px;
}
@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ---- CASE STUDIES ---- */
.case-studies { }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.case-card-accent {
  height: 4px;
  background: var(--accent);
}
.case-card-body { padding: 28px; }
.case-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.case-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.4;
}
.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.case-metric {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}
.case-metric-value {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.case-metric-label {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.case-card p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .cases-grid { grid-template-columns: 1fr; max-width: 520px; }
}

/* ---- ABOUT ---- */
.about { background: var(--fg); color: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text .section-heading { color: var(--white); }
.about-text .section-sub { color: #9ca3af; }
.about-body {
  font-size: 16px;
  color: #d1d5db;
  line-height: 1.75;
  margin-top: 24px;
}
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
}
.about-highlight-icon {
  width: 40px;
  height: 40px;
  background: rgba(37,99,235,0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
  flex-shrink: 0;
}
.about-highlight h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.about-highlight p {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- FAQ ---- */
.faq-header { margin-bottom: 40px; }
.faq-list { max-width: 720px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  font-family: var(--sans);
  letter-spacing: -0.01em;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--fg-muted);
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.faq-answer {
  display: none;
  padding: 0 0 22px;
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ---- CONTACT / LEAD FORM ---- */
.contact-section {
  background: var(--accent);
  color: white;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-text .section-label { color: #bfdbfe; }
.contact-text .section-heading { color: white; }
.contact-text .section-sub { color: #bfdbfe; }
.contact-phone {
  font-family: var(--serif);
  font-size: 36px;
  color: white;
  letter-spacing: 0.02em;
  margin-top: 24px;
  margin-bottom: 8px;
}
.contact-phone-label {
  font-size: 14px;
  color: #bfdbfe;
  font-weight: 500;
}
.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--fg);
  background: var(--white);
  transition: border-color 0.15s;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-textarea { resize: vertical; min-height: 88px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%;
  background: var(--accent);
  color: white;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 4px;
}
.form-submit:hover { background: var(--accent-hover); }
.form-submit:disabled { background: #93c5fd; cursor: not-allowed; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 56px;
  height: 56px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #16a34a;
  margin: 0 auto 20px;
}
.form-success h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.form-success p {
  font-size: 14px;
  color: var(--fg-muted);
}
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---- FOOTER ---- */
.footer {
  background: var(--fg);
  color: #9ca3af;
  padding: 64px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-name {
  font-family: var(--serif);
  font-size: 22px;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.footer-brand-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #6b7280;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: #6b7280;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 13px; color: #4b5563; }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: background 0.15s, color 0.15s;
}
.footer-social a:hover { background: rgba(255,255,255,0.15); color: white; }
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: var(--accent);
  padding: 10px 20px;
  border-radius: var(--radius);
  transition: background 0.15s;
}
.footer-cta:hover { background: var(--accent-hover); }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---- MODAL (reuses existing, only tweak to match new theme) ---- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17,17,17,0.65);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.2);
}
.modal-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.modal-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 6px;
}
.modal-sub { font-size: 14px; color: var(--fg-muted); line-height: 1.5; }
.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg-muted);
  font-size: 22px;
  padding: 4px;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 16px;
}
.modal-close:hover { color: var(--fg); }
.modal-body { padding: 32px; }

/* Form elements */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--fg); margin-bottom: 6px; letter-spacing: 0.01em; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 15px; color: var(--fg); background: var(--white); transition: border-color 0.15s;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-error { font-size: 12px; color: #dc2626; margin-top: 6px; }
.cta-btn {
  display: inline-block; background: var(--accent); color: #fff; font-family: var(--sans); font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: var(--radius); border: none; cursor: pointer; text-decoration: none;
  transition: background 0.15s, transform 0.1s; letter-spacing: -0.01em; width: 100%; text-align: center;
}
.cta-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* Chat UI */
.chat-container { padding: 32px; }
.chat-progress { font-size: 12px; color: var(--fg-muted); margin-bottom: 20px; font-weight: 500; letter-spacing: 0.02em; }
.chat-messages { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.chat-msg { display: flex; gap: 12px; animation: msgIn 0.25s ease; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: white;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.chat-msg-avatar.user { background: var(--fg); }
.chat-msg-content { flex: 1; }
.chat-msg-text {
  font-size: 14px; color: var(--fg); line-height: 1.6; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 14px;
}
.chat-msg-avatar.user + .chat-msg-content .chat-msg-text { background: var(--fg); color: white; border-color: var(--fg); }
.chat-input-row { display: flex; gap: 8px; }
.chat-input {
  flex: 1; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 14px; color: var(--fg); background: white;
}
.chat-input:focus { outline: none; border-color: var(--accent); }
.chat-submit {
  background: var(--accent); color: white; border: none; border-radius: var(--radius-sm); padding: 10px 16px;
  font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--sans); transition: background 0.15s;
}
.chat-submit:hover { background: var(--accent-hover); }
.chat-submit:disabled { background: var(--fg-subtle); cursor: not-allowed; }

/* Result pages */
.result-page { max-width: 560px; margin: 0 auto; padding: 72px 32px; text-align: center; }
.result-icon {
  width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 24px;
}
.result-icon.qualified { background: #dcfce7; color: #16a34a; }
.result-icon.unqualified { background: var(--bg); border: 1px solid var(--border); color: var(--fg-subtle); }
.result-title {
  font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 14px;
}
.result-body { font-size: 15px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 28px; }
.phone-highlight {
  display: inline-block; background: var(--fg); color: white; font-family: var(--serif);
  font-size: 30px; letter-spacing: 0.04em; padding: 18px 36px; border-radius: var(--radius); margin: 8px 0;
}
.phone-label { font-size: 12px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 12px; }
.result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.result-actions .btn-outline { border-color: var(--border-dark); color: var(--fg); }

/* ---- RESPONSIVE BASE ---- */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section-pad { padding: 64px 0; }
  .section-pad-sm { padding: 48px 0; }
  .contact-form { padding: 24px; }
}