/* ═══════════════════════════════════════════════════════════════
   SCM 361 — Shared Styles
   Palette: Editorial Cream + Ink + Aged Brass (Pantone 2026 aligned)
═══════════════════════════════════════════════════════════════ */

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

:root {
  --cream:  #F5F1E8;
  --dark:   #ECE7DA;
  --card:   #FAF8F3;
  --card2:  #F0EAD6;
  --border: #D8CFB8;
  --brass:  #B8956A;
  --brass2: #9C7A4F;
  --ink:    #1A1A1A;
  --muted:  #6B6358;
  --muted2: #9A9484;
  --accent: #7A2B2B;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ─── Skip Link (a11y) ─── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: var(--cream);
  padding: 8px 16px;
  z-index: 9999;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.skip-link:focus { left: 8px; }

/* ─── Announcement Bar ─── */
.announce {
  background: var(--brass);
  color: var(--ink);
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 16px;
}

/* ─── Nav ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,241,232,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}
.nav-logo svg { width: 38px; height: 38px; flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--ink);
}
.nav-logo-name span { color: var(--brass); }
.nav-logo-sub {
  font-size: 0.38rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links li a {
  background: none;
  border: none;
  color: var(--muted);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s;
  padding: 0;
}
.nav-links li a:hover,
.nav-links li a.nav-active { color: var(--brass); }

.nav-right { display: flex; align-items: center; gap: 20px; }

.nav-li-icon a { display: flex; align-items: center; }
.nav-li-icon svg { width: 18px; height: 18px; fill: var(--muted); transition: fill .2s; }
.nav-li-icon a:hover svg { fill: var(--brass); }

.btn-primary {
  display: inline-block;
  padding: 11px 24px;
  background: var(--brass);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background .2s;
}
.btn-primary:hover { background: var(--brass2); color: var(--cream); }

.btn-outline {
  display: inline-block;
  padding: 13px 30px;
  border: 1px solid var(--brass);
  color: var(--brass);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  background: none;
  transition: all .2s;
}
.btn-outline:hover { background: var(--brass); color: var(--cream); }

/* ─── Utility ─── */
.label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.label::before { content:''; display:block; width:28px; height:1px; background:var(--brass); }

.section { padding: 96px 80px; border-bottom: 1px solid var(--border); }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.0;
  margin-bottom: 16px;
}
.section-title span { color: var(--brass); }
.section-sub { font-size: 14px; color: var(--muted); line-height: 1.9; max-width: 540px; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.92) saturate(0.85);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(245,241,232,0.85) 50%, rgba(245,241,232,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 820px;
}
.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before { content:''; display:block; width:36px; height:1px; background:var(--brass); }
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  color: var(--ink);
}
.hero-title span { color: var(--brass); }
.hero-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.5;
}
.hero-quote span { color: var(--brass); }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── Ticker ─── */
.ticker-wrap { background: var(--card); border-bottom: 1px solid var(--border); overflow: hidden; padding: 18px 0; }
.ticker { display: flex; gap: 0; white-space: nowrap; animation: ticker 30s linear infinite; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 32px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticker-item span { color: var(--brass); font-size: 18px; line-height: 1; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── Two-Col ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.col-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.col-img img { width: 100%; height: 100%; object-fit: cover; }
.col-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--brass);
}

/* ─── Approach ─── */
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 60px; }
.approach-card { background: var(--card); padding: 40px 32px; border: 1px solid var(--border); transition: border-color .3s; }
.approach-card:hover { border-color: var(--brass); }
.approach-num { font-family: 'Bebas Neue', sans-serif; font-size: 72px; color: rgba(184,149,106,0.22); line-height: 1; margin-bottom: 16px; }
.approach-title { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 12px; }
.approach-text { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ─── Values ─── */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }
.value-card { background: var(--card2); padding: 48px 40px; border: 1px solid var(--border); transition: border-color .3s; }
.value-card:hover { border-color: var(--brass); }
.value-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--brass);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.value-icon svg { width: 20px; height: 20px; stroke: var(--brass); fill: none; stroke-width: 1.5; }
.value-title { font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 12px; }
.value-text { font-size: 13px; color: var(--muted); line-height: 1.85; }

/* ─── Quote Block ─── */
.quote-block {
  background: var(--card);
  border-left: 3px solid var(--brass);
  padding: 40px 48px;
  margin: 60px 0 0;
}
.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
}
.quote-text span { color: var(--brass); }
.quote-attr {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
  font-weight: 600;
}

/* ─── Clients ─── */
.clients-section { padding: 60px 0; border-bottom: 1px solid var(--border); overflow: hidden; }
.clients-label {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 32px;
  padding: 0 80px;
}
.clients-track { display: flex; gap: 0; animation: ticker 20s linear infinite; white-space: nowrap; }
.client-pill {
  display: inline-flex;
  align-items: center;
  padding: 0 40px;
  height: 56px;
  border: 1px solid var(--border);
  margin-right: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted2);
  flex-shrink: 0;
}

/* ─── CTA Banner ─── */
.cta-banner { background: var(--card); border-top: 1px solid var(--border); padding: 80px; text-align: center; }
.cta-banner .section-title { margin-bottom: 16px; }
.cta-banner .section-sub { margin: 0 auto 36px; }

/* ─── Page Hero ─── */
.page-hero { position: relative; height: 360px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.92) saturate(0.85); }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(245,241,232,0.92) 30%, rgba(245,241,232,0.4)); }
.page-hero-content { position: relative; z-index: 2; padding: 0 80px 56px; }
.page-hero-content .section-title { margin-bottom: 8px; }

/* ─── Services Grid ─── */
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 32px; flex-wrap: wrap; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.svc-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 36px 32px;
  transition: border-color .3s, background .3s;
}
.svc-card:hover { border-color: var(--brass); background: var(--card2); }
.svc-num { font-family: 'Bebas Neue', sans-serif; font-size: 13px; letter-spacing: 0.2em; color: var(--brass); margin-bottom: 14px; }
.svc-title { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 0.05em; color: var(--ink); line-height: 1.2; margin-bottom: 10px; }
.svc-desc { font-size: 12px; color: var(--muted); line-height: 1.85; }
.svc-tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid rgba(184,149,106,0.3);
  padding: 3px 8px;
  margin-top: 16px;
  font-weight: 600;
}

/* ─── AI Section ─── */
.ai-section { position: relative; overflow: hidden; background: var(--card2); }
.ai-section-content { position: relative; z-index: 2; }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 56px; }
.ai-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 36px 30px;
  transition: border-color .3s;
}
.ai-card:hover { border-color: var(--brass); }
.ai-icon {
  width: 48px; height: 48px;
  background: rgba(184,149,106,0.08);
  border: 1px solid rgba(184,149,106,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.ai-icon svg { width: 22px; height: 22px; stroke: var(--brass); fill: none; stroke-width: 1.5; }
.ai-title { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 10px; }
.ai-text { font-size: 12px; color: var(--muted); line-height: 1.85; }
.ai-badge {
  display: inline-block;
  background: rgba(184,149,106,0.12);
  border: 1px solid rgba(184,149,106,0.3);
  color: var(--brass);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  margin-top: 14px;
}

/* ─── AI Highlight ─── */
.ai-hl { color: var(--brass); font-style: normal; font-weight: 700; }
.ai-pill {
  display: inline-block;
  background: rgba(184,149,106,0.12);
  border: 1px solid rgba(184,149,106,0.45);
  color: var(--brass);
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 3px 8px;
  vertical-align: middle;
  margin-left: 6px;
  position: relative;
  top: -2px;
}

/* ─── Industries ─── */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 56px; }
.industry-card {
  position: relative;
  height: 340px;
  overflow: hidden;
}
.industry-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
  transition: filter .4s, transform .4s;
}
.industry-card:hover img { filter: brightness(0.3); transform: scale(1.04); }
.industry-card-body {
  position: absolute; inset: 0;
  padding: 36px 32px;
  display: flex; flex-direction: column;
  justify-content: flex-end;
}
.industry-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background: rgba(184,149,106,0.15);
}
.industry-icon svg { width: 18px; height: 18px; stroke: #FFF; fill: none; stroke-width: 1.5; }
.industry-name { font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 0.06em; color: #FFF; margin-bottom: 8px; }
.industry-desc { font-size: 12px; color: rgba(245,241,232,0.85); line-height: 1.7; }
.industry-services { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.industry-svc-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFF;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 2px 7px;
  background: rgba(184,149,106,0.25);
}

/* ─── GCC Band ─── */
.gcc-band { background: var(--card2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 80px; }
.gcc-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: center; }
.gcc-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(28px, 3vw, 46px); letter-spacing: 0.04em; line-height: 1.05; color: var(--ink); }
.gcc-title span { color: var(--brass); }
.gcc-flags { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.gcc-flag { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.gcc-flag span { color: var(--brass); font-size: 14px; }
.gcc-text { font-size: 13px; color: var(--muted); line-height: 1.9; }

/* ─── Contact ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info-item { display: flex; gap: 20px; margin-bottom: 32px; }
.contact-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-icon svg { width: 18px; height: 18px; stroke: var(--brass); fill: none; stroke-width: 1.5; }
.contact-info-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); font-weight: 700; margin-bottom: 6px; }
.contact-info-val { font-size: 14px; color: var(--ink); }
.contact-info-val a { color: inherit; text-decoration: none; }
.contact-info-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Form */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
input, select, textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--ink);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
  border-radius: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--brass); }
textarea { resize: vertical; min-height: 140px; }
::placeholder { color: var(--muted2); }

/* ─── Footer ─── */
footer { background: var(--dark); border-top: 1px solid var(--border); padding: 64px 80px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 0.1em; color: var(--ink); margin-bottom: 12px; }
.footer-brand-name span { color: var(--brass); }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.footer-tagline span { color: var(--brass); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s;
}
.footer-social a:hover { border-color: var(--brass); }
.footer-social svg { width: 16px; height: 16px; fill: var(--muted); transition: fill .2s; }
.footer-social a:hover svg { fill: var(--brass); }
.footer-col-title { font-family: 'Bebas Neue', sans-serif; font-size: 14px; letter-spacing: 0.14em; color: var(--ink); margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 12px; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--brass); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 11px; color: var(--muted2); letter-spacing: 0.1em; }
.footer-copy a { color: inherit; text-decoration: underline; }
.footer-tagline-bottom { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted2); }
.footer-tagline-bottom span { color: var(--brass); }

/* ─── Mobile Nav ─── */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: rgba(245,241,232,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--muted);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--brass); }
.mobile-menu .mob-cta {
  margin-top: 16px;
  background: var(--brass);
  color: var(--ink);
  font-weight: 800;
  padding: 14px 24px;
  text-align: center;
  border: none;
}

/* ─── Privacy ─── */
.legal-h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.08em;
  color: var(--brass);
  margin: 32px 0 12px;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .section { padding: 64px 24px; }
  .two-col, .approach-grid, .values-grid, .services-grid, .ai-grid, .industry-grid { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gcc-inner { grid-template-columns: 1fr; gap: 32px; }
  .gcc-band { padding: 48px 24px; }
  .page-hero-content { padding: 0 24px 48px; }
  .hero-content { padding: 0 24px; }
  .cta-banner { padding: 56px 24px; }
  footer { padding: 48px 24px 24px; }
  nav { padding: 0 24px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-right > .btn-primary, .nav-right > .nav-li-icon { display: none; }
  .nav-right { gap: 12px; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
}

/* ─── Chatbot ─── */
#chat-toggle {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: var(--brass);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: background .2s;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
#chat-toggle:hover { background: var(--brass2); }
#chat-toggle svg { width: 24px; height: 24px; fill: var(--cream); }

#chat-window {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 340px;
  max-height: 480px;
  background: var(--card);
  border: 1px solid var(--border);
  display: none;
  flex-direction: column;
  z-index: 998;
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}
#chat-window.open { display: flex; }
.chat-head {
  background: var(--brass);
  padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
}
.chat-head-name { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink); }
.chat-head-sub { font-size: 10px; color: rgba(26,26,26,0.7); letter-spacing: 0.12em; }
.chat-close { background: none; border: none; cursor: pointer; font-size: 18px; color: rgba(26,26,26,0.7); line-height: 1; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; max-height: 340px; }
.chat-msg { max-width: 82%; padding: 10px 14px; font-size: 12px; line-height: 1.6; }
.chat-msg.bot { background: var(--card2); color: var(--ink); align-self: flex-start; border-left: 2px solid var(--brass); }
.chat-msg.user { background: var(--brass); color: var(--ink); align-self: flex-end; font-weight: 600; }
.chat-input-row { display: flex; border-top: 1px solid var(--border); }
.chat-input-row input { flex: 1; border: none; padding: 14px; background: var(--card2); color: var(--ink); font-size: 12px; }
.chat-send { background: var(--brass); border: none; padding: 0 18px; color: var(--ink); font-size: 14px; cursor: pointer; font-weight: 700; }
.chat-send:hover { background: var(--brass2); color: var(--cream); }
