/* =============================================
   V1 — MAGAZINE EDITORIAL
   Organic, human, non-AI feel
   ============================================= */

:root {
  --bg: #FDFBF7;
  --bg-alt: #F5F0E8;
  --text: #1C1C1C;
  --text-muted: #6B6560;
  --brand: #2E4A3B;
  --brand-dark: #1C2F2A;
  --accent: #8B6914;
  --accent-light: #C4A35A;
  --border: #E2DDD5;
  --shadow: rgba(46,74,59,0.08);
  --radius: 4px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --max-w: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--brand); color: white; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* === UTILS === */
.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}

.section-title em {
  font-style: italic;
  color: var(--accent);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin-top: 16px;
}

.section-label.centered { text-align: center; }
.section-title.centered { text-align: center; }
.section-sub.centered { text-align: center; margin: 16px auto 0; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  padding: 14px 0;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid var(--brand);
  transition: opacity 0.2s;
}

.btn-ghost:hover { opacity: 0.7; }

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

/* === NAV === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,251,247,0.92);
  backdrop-filter: blur(12px);
  -webkit-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;
  gap: 48px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--brand); }

.btn-nav {
  background: var(--brand) !important;
  color: white !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.btn-nav:hover { background: var(--brand-dark) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

/* === HERO === */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 46ch;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.hero-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.byline-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.byline-item svg { color: var(--brand); flex-shrink: 0; }

.hero-image {
  position: relative;
  border-radius: 8px;
  overflow: visible;
}

.hero-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.hero-stat-card {
  position: absolute;
  bottom: 32px;
  left: -32px;
  background: white;
  padding: 20px 24px;
  border-radius: 8px;
  box-shadow: 0 8px 32px var(--shadow);
  border: 1px solid var(--border);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--brand);
  line-height: 1;
}

.stat-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 400;
}

/* === INTRO === */
.intro {
  background: var(--bg-alt);
  padding: 100px 32px;
}

.intro-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.intro-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 6px;
}

.intro-body {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
  max-width: 52ch;
}

.intro-highlight {
  margin-top: 32px;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}

.intro-highlight blockquote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}

.intro-highlight cite {
  display: block;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: normal;
}

.intro-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 24px;
  border-bottom: 1px solid var(--brand);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.intro-link:hover { opacity: 0.7; }

/* === CRED BAR === */
.cred-bar {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
}

.cred-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
}

/* === SERVICES === */
.services { padding: 100px 32px; }

.services-inner { max-width: var(--max-w); margin: 0 auto; }

.services-header {
  margin-bottom: 64px;
  max-width: 600px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.service-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.service-item:hover { background: rgba(46,74,59,0.02); }

.svc-num {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-top: 4px;
}

.svc-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.svc-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 56ch;
  line-height: 1.65;
}

.svc-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brand);
  white-space: nowrap;
  padding-top: 4px;
  opacity: 0;
  transition: opacity 0.2s;
}

.service-item:hover .svc-link { opacity: 1; }

/* === STATS === */
.stats {
  background: var(--brand);
  padding: 64px 32px;
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  gap: 0;
}

.stat-block {
  text-align: center;
  padding: 0 24px;
}

.stat-block:nth-child(n+5) { display: none; }

.stat-val {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 500;
  color: white;
  line-height: 1;
}

.stat-plus {
  font-size: 1.6rem;
  color: var(--accent-light);
}

.stat-name {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.stat-div {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
  justify-self: center;
}

/* === PROCESS === */
.process { padding: 100px 32px; }

.process-inner { max-width: var(--max-w); margin: 0 auto; }

.process-header { margin-bottom: 64px; }

.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.pstep {
  padding: 28px 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.pstep-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--border);
  display: block;
  margin-bottom: 12px;
}

.pstep-body h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.pstep-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pstep-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.4rem;
  padding: 0 8px;
  padding-top: 48px;
}

/* === RESULTS === */
.results {
  background: var(--bg-alt);
  padding: 100px 32px;
}

.results-inner { max-width: var(--max-w); margin: 0 auto; }

.results-inner > .section-label { margin-bottom: 12px; }

.results-inner .section-title { margin-bottom: 56px; }

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.result-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.result-card:hover {
  box-shadow: 0 12px 40px var(--shadow);
  transform: translateY(-3px);
}

.result-card.featured {
  background: var(--brand);
  border-color: var(--brand);
}

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

.result-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  background: rgba(46,74,59,0.08);
  padding: 4px 10px;
  border-radius: 20px;
}

.result-card.featured .result-tag {
  background: rgba(255,255,255,0.15);
  color: white;
}

.result-year {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.result-card.featured .result-year { color: rgba(255,255,255,0.55); }

.result-quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}

.result-card.featured .result-quote { color: rgba(255,255,255,0.9); }

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

.result-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.result-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.result-card.featured .result-name { color: white; }

.result-loc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.result-card.featured .result-loc { color: rgba(255,255,255,0.6); }

/* === JOURNAL === */
.journal { padding: 100px 32px; }

.journal-inner { max-width: var(--max-w); margin: 0 auto; }

.journal-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.journal-all {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brand);
  border-bottom: 1px solid var(--brand);
  padding-bottom: 2px;
}

.journal-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}

.journal-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.journal-card:hover {
  box-shadow: 0 8px 32px var(--shadow);
  transform: translateY(-2px);
}

.j-featured .j-img {
  height: 260px;
  overflow: hidden;
}

.j-featured .j-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.journal-card:hover .j-img img { transform: scale(1.03); }

.j-body { padding: 24px; }

.j-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  display: block;
  margin-bottom: 10px;
}

.j-featured .j-body { padding: 28px 28px 32px; }

.j-featured h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 12px;
}

.journal-card:not(.j-featured) h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 10px;
}

.j-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.j-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.journal-card:not(.j-featured) { padding: 0; }

.journal-card:not(.j-featured) .j-body {
  padding: 20px;
}

.journal-card:not(.j-featured) p { display: none; }

.journal-card:not(.j-featured) .j-meta { display: none; }

.journal-card:not(.j-featured) h3 { font-size: 0.95rem; margin-bottom: 8px; }

.journal-grid > .journal-card:nth-child(n+3) { display: none; }

/* === TEAM === */
.team {
  background: var(--bg-alt);
  padding: 100px 32px;
}

.team-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.team-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 6px;
}

.team-founder {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.founder-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  flex-shrink: 0;
}

.founder-avatar + div h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
}

.founder-avatar + div p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* === AI CTA === */
.ai-cta {
  background: var(--brand);
  padding: 80px 32px;
}

.ai-cta-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.ai-content .section-label { color: var(--accent-light); }

.ai-content .section-title { color: white; margin-bottom: 20px; }

.ai-content .section-title em { color: var(--accent-light); }

.ai-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.ai-cta .btn-primary {
  background: white;
  color: var(--brand);
}

.ai-cta .btn-primary:hover {
  background: var(--bg);
}

/* === CONTACT === */
.contact { padding: 100px 32px; }

.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 46ch;
  margin: 20px 0 36px;
}

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.cd-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cd-item svg { flex-shrink: 0; margin-top: 2px; }

.cd-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.cd-val {
  font-size: 0.92rem;
  color: var(--text);
}

.contact-social {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}

.contact-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.contact-social a:hover {
  border-color: var(--brand);
  background: rgba(46,74,59,0.04);
}

/* === FORM === */
.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
}

.contact-form h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 28px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6560' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(46,74,59,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #B0A89E; }

.form-group textarea { resize: vertical; min-height: 88px; }

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 16px;
  background: rgba(46,74,59,0.06);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--brand);
}

/* === FOOTER === */
.footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.75);
  padding: 72px 32px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
}

.footer-brand .logo {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 36ch;
}

.footer-address {
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: white;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.4); }

.footer-disclaimer {
  font-size: 0.7rem !important;
  line-height: 1.5;
  max-width: 80ch;
}

/* === CHAT WIDGET === */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  font-family: var(--font-sans);
}

.chat-launcher {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(46,74,59,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.chat-launcher:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(46,74,59,0.45);
}

.chat-window {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 360px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.15);
  border: 1px solid var(--border);
  display: none;
  flex-direction: column;
  overflow: hidden;
  max-height: 520px;
}

.chat-window.open { display: flex; }

.chat-header {
  background: var(--brand);
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
}

.chat-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  flex-shrink: 0;
}

.chat-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}

.chat-close:hover { color: white; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-msg {
  font-size: 0.88rem;
  line-height: 1.6;
}

.chat-msg.bot p:first-child { font-weight: 500; margin-bottom: 8px; }

.chat-msg ul {
  padding-left: 18px;
  margin: 8px 0;
  color: var(--text-muted);
}

.chat-msg ul li { margin-bottom: 4px; }

.chat-msg.user {
  background: rgba(46,74,59,0.07);
  padding: 12px 16px;
  border-radius: 12px;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  max-width: 85%;
}

.chat-msg.bot { align-self: flex-start; max-width: 90%; }

.chat-input-area {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-top: 1px solid var(--border);
}

.chat-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  background: var(--bg);
  transition: border-color 0.2s;
}

.chat-input:focus {
  outline: none;
  border-color: var(--brand);
}

.chat-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.chat-send:hover { background: var(--brand-dark); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-image { display: none; }
  .hero-stat-card { position: static; margin-top: 24px; }
  .hero-text { max-width: 600px; }
  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .intro-image img { height: 300px; }
  .process-steps { grid-template-columns: 1fr; }
  .pstep-arrow { display: none; }
  .results-grid { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: 1fr; }
  .team-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .chat-window { width: calc(100vw - 56px); right: 0; }
}

@media (max-width: 640px) {
  .hero { padding: 60px 20px 80px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-byline { flex-direction: column; gap: 10px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-div { display: none; }
  .stat-block:nth-child(n+3) { display: block; }
  .service-item { grid-template-columns: 32px 1fr; }
  .svc-link { display: none; }
  .journal-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-nav { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .cred-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cred-bar { padding: 20px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-links .btn-nav { display: inline-flex; }
}
