/* ──────────────────────────────────────
   TRADEFUSION MARKETING — Shared Styles
   Light · Premium · Modern
   ────────────────────────────────────── */

:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --surface-2: #f5f3ee;
  --surface-3: #efece5;
  --border: #e8e6e0;
  --border-strong: #d4d0c7;
  --text: #0a0a0a;
  --text-2: #2a2a2a;
  --muted: #6b6b6b;
  --muted-2: #999999;
  --accent: #ea580c;
  --accent-2: #f97316;
  --accent-dark: #c2410c;
  --accent-tint: #fff7ed;
  --accent-tint-2: #ffedd5;
  --success: #16a34a;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(15,15,15,0.06);
  --shadow-lg: 0 16px 48px rgba(15,15,15,0.08);
  --shadow-accent: 0 12px 40px rgba(234,88,12,0.18);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1240px;
  --t: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ── Typography ── */
.display {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--text);
}
.serif-italic {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
  display: block;
}

/* ── Layout ── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0; }
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn-arrow::after {
  content: '→';
  transition: transform var(--t);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ── Utility Bar (above nav) ── */
.utility-bar {
  background: linear-gradient(90deg, var(--text) 0%, #1a1a1a 50%, var(--text) 100%);
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  letter-spacing: 0.005em;
  position: relative;
  z-index: 51;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.utility-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  height: 36px;
}
.utility-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.utility-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
  flex-shrink: 0;
}
.utility-status-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  animation: utilityPulse 2.2s ease-out infinite;
  opacity: 0.7;
}
@keyframes utilityPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3.4); opacity: 0; }
}
.utility-status strong {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.005em;
}
.utility-info {
  display: flex;
  align-items: center;
  gap: 18px;
}
.utility-info a, .utility-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  transition: color var(--t);
  white-space: nowrap;
}
.utility-info a:hover { color: var(--accent-2); }
.utility-info svg { width: 12px; height: 12px; opacity: 0.6; }
.utility-info a:hover svg { opacity: 1; }
.utility-divider {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.18);
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.78);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid rgba(232, 230, 224, 0.5);
  transition: box-shadow var(--t), background var(--t);
}
.nav.scrolled {
  background: rgba(250, 250, 247, 0.92);
  box-shadow: 0 1px 0 rgba(232, 230, 224, 0.8), 0 8px 32px rgba(15, 15, 15, 0.04);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.05em;
  color: var(--text);
  position: relative;
}
.nav-brand-mark {
  height: 40px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  transition: transform var(--t);
  flex-shrink: 0;
}
.nav-brand-mark::before, .nav-brand-mark::after { display: none; }
.nav-brand:hover .nav-brand-mark { transform: rotate(-4deg) scale(1.04); }
.nav-brand-mark img {
  height: 100%;
  width: auto;
  display: block;
}
.nav-brand-mark svg { display: none; }
.nav-brand .accent-dot { color: var(--accent); position: relative; }
.nav-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 3px 8px;
  background: var(--surface-2);
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  background: rgba(245, 243, 238, 0.5);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(232, 230, 224, 0.6);
}
.nav-links a {
  position: relative;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--t);
  border-radius: 999px;
  z-index: 1;
}
.nav-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--surface);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.04);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--t), transform var(--t);
  z-index: -1;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::before { opacity: 1; transform: scale(1); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::before { opacity: 1; transform: scale(1); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.nav-services-wrap { position: relative; }
.nav-services-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color var(--t);
  position: relative;
  z-index: 1;
}
.nav-services-trigger::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--surface);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.04);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--t), transform var(--t);
  z-index: -1;
}
.nav-services-trigger:hover { color: var(--text); }
.nav-services-wrap:hover .nav-services-trigger::before { opacity: 1; transform: scale(1); }
.nav-services-trigger svg { transition: transform var(--t); }
.nav-services-wrap:hover .nav-services-trigger svg { transform: rotate(180deg); }

.nav-services-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  width: 360px;
  box-shadow: 0 24px 64px rgba(15, 15, 15, 0.12), 0 4px 16px rgba(15, 15, 15, 0.04);
  opacity: 0;
  visibility: hidden;
  transition: all var(--t);
  z-index: 60;
}
.nav-services-menu::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.nav-services-wrap:hover .nav-services-menu,
.nav-services-wrap:focus-within .nav-services-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-services-list { display: flex; flex-direction: column; gap: 2px; }
.nav-services-list-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 4px 14px 8px;
}
.nav-services-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background var(--t), transform var(--t);
}
.nav-services-item:hover {
  background: var(--surface-2);
  transform: translateX(2px);
}
.nav-services-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t), transform var(--t);
}
.nav-services-item:hover .nav-services-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(-4deg);
}

/* ── Featured (flagship) tab inside dropdown ── */
.nav-services-item-featured {
  background: linear-gradient(135deg, rgba(234,88,12,0.06) 0%, rgba(249,115,22,0.10) 100%);
  border: 1px solid rgba(234,88,12,0.18);
  margin-top: 6px;
  position: relative;
  align-items: center;
}
.nav-services-item-featured:hover {
  background: linear-gradient(135deg, rgba(234,88,12,0.10) 0%, rgba(249,115,22,0.18) 100%);
  border-color: rgba(234,88,12,0.35);
  transform: translateX(2px);
}
.nav-services-item-featured .nav-services-icon {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(234,88,12,0.25);
  transform: translateY(-2px);
}
.nav-services-item-featured .nav-services-icon svg {
  transform: none;
}
.nav-services-item-featured:hover .nav-services-icon svg {
  transform: none;
}
.nav-services-item-featured:hover .nav-services-icon {
  transform: rotate(0deg) scale(1.04);
}
.nav-services-item-featured .featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}
.nav-services-icon svg { width: 18px; height: 18px; }
.nav-services-text { display: flex; flex-direction: column; gap: 2px; }
.nav-services-text strong { font-size: 14px; font-weight: 600; color: var(--text); letter-spacing: -0.005em; }
.nav-services-text span { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* Featured AI tile in services dropdown */
.nav-services-feature {
  background: var(--text);
  color: #fff;
  padding: 22px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  min-height: 220px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--t), background var(--t), border-color var(--t);
  -webkit-tap-highlight-color: transparent;
}
.nav-services-feature:hover {
  transform: translateY(-2px);
  background: #141414;
  border-color: rgba(234,88,12,0.3);
}
.nav-services-feature:focus { outline: none; }
.nav-services-feature:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}
.nav-services-feature:active { transform: translateY(-1px); }

.nav-services-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.32), inset 0 1px 0 rgba(255,255,255,0.22);
  transition: background var(--t), box-shadow var(--t);
}
.nav-services-feature-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, transparent 55%);
  pointer-events: none;
  transition: opacity var(--t);
}
.nav-services-feature-icon::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,0.16);
  pointer-events: none;
  transition: border-color var(--t);
}
.nav-services-feature-icon svg {
  width: 36px;
  height: 36px;
  color: #fff;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
  transition: color var(--t);
}
/* Hover state: tile flips white, Q flips dark */
.nav-services-feature:hover .nav-services-feature-icon {
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.45), inset 0 1px 0 rgba(255,255,255,0.6);
}
.nav-services-feature:hover .nav-services-feature-icon::before { opacity: 0; }
.nav-services-feature:hover .nav-services-feature-icon::after {
  border-color: rgba(234, 88, 12, 0.4);
}
.nav-services-feature:hover .nav-services-feature-icon svg {
  color: var(--accent);
  filter: drop-shadow(0 1px 2px rgba(234, 88, 12, 0.3));
}

.nav-services-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.nav-services-feature h4 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
  color: #fff;
}
.nav-services-feature h4 .qf-ai {
  color: var(--accent-2);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin-left: 2px;
}
.nav-services-feature-sub {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.nav-services-feature p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-bottom: 14px;
}
.nav-services-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  margin-top: auto;
}
.nav-services-feature-cta::after {
  content: '→';
  transition: transform var(--t);
}
.nav-services-feature:hover .nav-services-feature-cta::after { transform: translateX(4px); }

.nav-cta-group { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  transition: color var(--t);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-phone svg { color: var(--accent); }
.nav-phone:hover { color: var(--accent); }
.nav-cta-btn {
  position: relative;
  padding: 11px 22px 11px 22px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  background: var(--text) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(15, 15, 15, 0.16);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  opacity: 0;
  transition: opacity var(--t);
}
.nav-cta-btn:hover::before { opacity: 1; }
.nav-cta-btn span { position: relative; z-index: 1; }
.nav-cta-btn .arrow {
  position: relative;
  z-index: 1;
  font-size: 14px;
  transition: transform var(--t);
}
.nav-cta-btn:hover .arrow { transform: translateX(3px); }
.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.35);
}

.nav-hamburger {
  display: none;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--text);
  position: relative;
}
.nav-hamburger span::before,
.nav-hamburger span::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--t);
}
.nav-hamburger span::before { top: -5px; }
.nav-hamburger span::after { top: 5px; }
.nav-hamburger.open span { background: transparent; }
.nav-hamburger.open span::before { top: 0; transform: rotate(45deg); }
.nav-hamburger.open span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg);
  z-index: 40;
  padding: 24px 32px 40px;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .mob-services-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 24px 0 8px;
  border: none;
}
.mobile-menu a.mob-service {
  font-size: 17px;
  font-weight: 500;
  padding: 12px 0;
  color: var(--text-2);
}
.mobile-menu .mob-cta {
  margin-top: 24px;
  padding: 14px 20px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  text-align: center;
  border: none;
  font-size: 15px;
}
.mobile-menu .mob-phone {
  text-align: center;
  border: none;
  font-size: 14px;
  color: var(--muted);
  padding-top: 16px;
}

/* ── Hero ── */
.hero {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(234,88,12,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-badge-dot {
  width: 18px; height: 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}
.hero-h1 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 6.4vw, 84px);
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-h1 .accent-word {
  color: var(--accent);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}
.hero-trust-stars { color: var(--accent); letter-spacing: 1px; font-size: 14px; }
.hero-trust-divider { width: 1px; height: 16px; background: var(--border-strong); }

.hero-visual {
  position: relative;
  max-width: 460px;
  margin-left: auto;
}

/* ── Trust bar ── */
.trust-bar {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-bar-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust-bar-stats {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.trust-stat strong {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.trust-stat span {
  font-size: 13px;
  color: var(--muted);
}

/* ── Section header ── */
.sec-head {
  max-width: 720px;
  margin-bottom: 64px;
}
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head h2 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.8vw, 60px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 18px;
}
.sec-head h2 .accent-word {
  color: var(--accent);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}
.sec-head p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
}
.sec-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  max-width: none;
}
.sec-head-row > div:first-child { max-width: 640px; }

/* ── Service Cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.service-card-icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: gap var(--t), color var(--t);
}
.service-card-link::after { content: '→'; transition: transform var(--t); }
.service-card:hover .service-card-link { color: var(--accent); }
.service-card:hover .service-card-link::after { transform: translateX(4px); }

.service-card.featured {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  padding: 40px;
  align-items: center;
}
.service-card.featured .service-card-icon {
  background: rgba(234, 88, 12, 0.18);
  color: var(--accent-2);
}
.service-card.featured h3 { color: #fff; font-size: 28px; }
.service-card.featured p { color: rgba(255,255,255,0.65); font-size: 16px; }
.service-card.featured .service-card-link { color: var(--accent-2); }
.service-card.featured .featured-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.service-card.featured .featured-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Outcome / metric tiles ── */
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}
.outcome {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
}
.outcome:last-child { border-right: none; }
.outcome-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}
.outcome-num .unit { font-size: 32px; opacity: 0.7; }
.outcome h4 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.outcome p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Why ── */
.why-section { background: var(--surface-2); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.why-card-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 16px;
}
.why-card h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.why-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Process ── */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.process-step {
  display: grid;
  grid-template-columns: 100px 1fr 1.5fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background var(--t);
}
.process-step:hover { background: var(--surface-2); padding-left: 16px; padding-right: 16px; margin-left: -16px; margin-right: -16px; border-radius: var(--radius); }
.process-step-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 6px;
}
.process-step h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.process-step p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Founder / About ── */
.founder-section {
  background: var(--text);
  color: var(--bg);
}
.founder-section .eyebrow { color: var(--accent-2); }
.founder-section .eyebrow::before { background: var(--accent-2); }
.founder-section h2 { color: #fff; }
.founder-section h2 .accent-word { color: var(--accent-2); }
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.founder-portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 1px solid rgba(255,255,255,0.08);
}
.founder-portrait-glow {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(234,88,12,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.founder-quote-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.founder-quote-card-name {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.founder-quote-card-role {
  font-size: 12px;
  color: var(--muted-2);
}
.founder-text-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 18px;
}
.founder-creds {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cred {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}
.cred-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(234,88,12,0.18);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}
.founder-section .btn-ghost {
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.founder-section .btn-ghost:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}
.cta-banner h2 .accent-word {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
}
.cta-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  position: relative;
}
.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.cta-banner-actions .btn {
  width: 100%;
}
.cta-banner-actions .btn-primary {
  background: #fff;
  color: var(--text);
}
.cta-banner-actions .btn-primary:hover {
  background: var(--text);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.cta-banner-actions .btn-ghost {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.cta-banner-actions .btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

/* ── Service page hero ── */
.svc-hero {
  padding: 64px 0 96px;
  position: relative;
  overflow: hidden;
}
.svc-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.svc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.svc-breadcrumb a { transition: color var(--t); }
.svc-breadcrumb a:hover { color: var(--accent); }
.svc-breadcrumb span { color: var(--muted-2); }
.svc-h1 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 72px);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 24px;
}
.svc-h1 .accent-word {
  color: var(--accent);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}
.svc-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
}
.svc-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.svc-hero-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

/* ── Feature blocks ── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 96px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-row-content h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.feature-row-content p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-2);
}
.feature-list li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: var(--accent-tint);
  color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── FAQ ── */
.faq-list { max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  text-align: left;
  cursor: pointer;
  font-family: 'Inter Tight', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--muted);
  transition: all var(--t);
  flex-shrink: 0;
}
.faq-item.open .faq-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding-bottom: 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ── Contact form ── */
.contact-section {
  background: var(--surface-2);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.contact-info h2 .accent-word { color: var(--accent); font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }
.contact-info p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 32px;
}
.contact-perks {
  display: flex; flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.contact-perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-2);
}
.contact-perk::before {
  content: '✓';
  width: 22px; height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}
.contact-direct {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.contact-direct-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}
.contact-direct a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
  transition: color var(--t);
}
.contact-direct a:hover { color: var(--accent); }

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-card h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.contact-form-card .form-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color var(--t), background var(--t);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
}
.form-input::placeholder { color: var(--muted-2); }
.form-textarea { min-height: 100px; resize: vertical; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b6b6b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 10px;
  padding-right: 36px;
  cursor: pointer;
}
.form-submit {
  width: 100%;
  padding: 15px 24px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 999px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t);
  margin-top: 8px;
}
.form-submit:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}
.form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 14px;
}
.form-success {
  display: none;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.25);
  color: var(--success);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
  margin-top: 16px;
}
.form-success.show { display: block; }

/* ── Footer ── */
footer {
  background: var(--text);
  color: var(--bg);
  padding: 80px 0 32px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 18px;
}
.footer-brand .accent-dot { color: var(--accent-2); }
.footer-brand-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  display: flex; align-items: center; justify-content: center;
}
.footer-brand-mark svg { width: 16px; height: 16px; color: #fff; }
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 24px;
}
.footer-newsletter {
  display: flex;
  gap: 8px;
  max-width: 320px;
}
.footer-newsletter input {
  flex: 1;
  padding: 11px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  outline: none;
  font-family: inherit;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.3); }
.footer-newsletter input:focus { border-color: var(--accent-2); }
.footer-newsletter button {
  padding: 11px 16px;
  background: var(--accent);
  border: none;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--t);
}
.footer-newsletter button:hover { background: var(--accent-dark); }
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color var(--t);
}
.footer-links a:hover { color: var(--accent-2); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a:hover { color: var(--accent-2); }

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── Logo ribbon (placeholder for client logos) ── */
.logo-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.logo-ribbon-item {
  flex: 1 1 calc(25% - 0px);
  min-width: 200px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  letter-spacing: -0.01em;
}

/* ── Chat bubble ── */
#tf-chat-bubble {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 70;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transition: transform var(--t), background var(--t);
}
#tf-chat-bubble:hover { background: var(--accent); transform: scale(1.06); }
#tf-chat-bubble svg { width: 22px; height: 22px; }
#tf-chat-bubble .close-icon { display: none; }
#tf-chat-bubble.open .chat-icon { display: none; }
#tf-chat-bubble.open .close-icon { display: block; }

#tf-chat-window {
  position: fixed;
  bottom: 92px; right: 24px;
  z-index: 69;
  width: 380px;
  max-height: 560px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transition: all var(--t);
  overflow: hidden;
}
#tf-chat-window.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.tf-chat-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.tf-chat-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 14px;
}
.tf-chat-name { font-family: 'Inter Tight', sans-serif; font-size: 14px; font-weight: 700; color: var(--text); }
.tf-chat-status { font-size: 11px; color: var(--success); display: flex; align-items: center; gap: 5px; }
.tf-chat-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.tf-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tf-msg {
  max-width: 85%;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  word-wrap: break-word;
}
.tf-msg.bot { background: var(--surface-2); color: var(--text); align-self: flex-start; border-bottom-left-radius: 3px; }
.tf-msg.user { background: var(--text); color: var(--bg); align-self: flex-end; border-bottom-right-radius: 3px; }
.tf-msg.typing .dots { display: flex; gap: 4px; padding: 4px 0; }
.tf-msg.typing .dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: tfDot 1.2s infinite;
}
.tf-msg.typing .dots span:nth-child(2) { animation-delay: 0.2s; }
.tf-msg.typing .dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes tfDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; background: var(--accent); }
}
.tf-quick-btns {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0 18px 14px;
}
.tf-quick-btn {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--t);
}
.tf-quick-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.tf-chat-input-row {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  background: var(--surface);
}
#tf-chat-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  resize: none;
  color: var(--text);
}
#tf-chat-input:focus { border-color: var(--accent); }
#tf-send-btn {
  width: 40px; height: 40px;
  background: var(--text);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t);
}
#tf-send-btn:hover { background: var(--accent); }
#tf-send-btn svg { width: 16px; height: 16px; }
