/* =========================================================
   Brazil Machines Export Ltd. — Professional Theme
   Green / Gold / White
   ========================================================= */

:root {
  --green-deep:   #0C3A26;
  --green-mid:    #155E3A;
  --green-light:  #1E7A4A;
  --gold:         #C9A227;
  --gold-light:   #E2BC45;
  --gold-pale:    #F5E8B0;
  --white:        #FFFFFF;
  --off-white:    #F7F7F4;
  --gray-100:     #F0F0EC;
  --gray-200:     #E0E0D8;
  --gray-600:     #6B6B60;
  --gray-800:     #2C2C2A;
  --black:        #0A0A09;
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    16px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.18);
  --transition:   0.25s ease;
  --font-head:    'Montserrat', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---------- UTILITIES ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--green-deep);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--green-deep); }
.btn-green {
  background: var(--green-mid);
  color: var(--white);
}
.btn-green:hover { background: var(--green-light); transform: translateY(-1px); }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.2;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 580px;
}

/* =====================================================
   TOPBAR
===================================================== */
.topbar {
  background: var(--green-deep);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item svg { opacity: 0.7; }
.topbar-item a:hover { color: var(--gold); }

/* =====================================================
   HEADER / NAV
===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--green-deep);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 900;
  font-family: var(--font-head);
}
.logo-text { line-height: 1.2; }
.logo-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--green-deep);
}
.logo-tagline {
  font-size: 0.7rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-800);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--green-mid); background: var(--gray-100); }
.nav-cta { display: flex; gap: 8px; }
.hamburger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-deep);
  border-radius: 2px;
  transition: var(--transition);
}

/* =====================================================
   HERO
===================================================== */
.hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 60%, #0D5C38 100%);
  color: var(--white);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(201,162,39,0.08) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.35);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.hero-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-card-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-card-item:last-child { border-bottom: none; }
.hero-card-icon {
  width: 36px;
  height: 36px;
  background: rgba(201,162,39,0.18);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-card-text strong { display: block; font-size: 0.9rem; color: var(--white); }
.hero-card-text span { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

/* =====================================================
   VALUE FLOOR BANNER
===================================================== */
.value-floor {
  background: var(--gold);
  padding: 20px 0;
}
.value-floor-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  flex-wrap: wrap;
}
.value-floor-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green-deep);
}
.value-floor-badge {
  background: var(--green-deep);
  color: var(--gold);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 6px 18px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
}
.value-floor-note { font-size: 0.85rem; color: rgba(12,58,38,0.75); }

/* =====================================================
   MACHINES CATALOG
===================================================== */
.catalog { padding: 96px 0; background: var(--off-white); }
.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}
.catalog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: var(--white);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.machine-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.machine-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.machine-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
}
.machine-img img { width: 100%; height: 100%; object-fit: cover; }
.machine-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--green-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.machine-body { padding: 24px; }
.machine-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 6px;
}
.machine-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 8px;
  line-height: 1.3;
}
.machine-desc {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.machine-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.spec-tag {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
}
.machine-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.machine-price {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-deep);
}
.machine-price small { font-size: 0.75rem; font-weight: 500; color: var(--gray-600); display: block; }
.machine-btn {
  padding: 9px 18px;
  background: var(--green-deep);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  transition: var(--transition);
}
.machine-btn:hover { background: var(--green-mid); }
.catalog-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 64px 24px;
  color: var(--gray-600);
}
.catalog-loading {
  grid-column: 1/-1;
  text-align: center;
  padding: 48px;
  color: var(--gray-600);
}
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--green-mid);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================
   HEADHUNTER SECTION
===================================================== */
.headhunter {
  padding: 80px 0;
  background: var(--green-deep);
  color: var(--white);
}
.headhunter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.headhunter-label { color: var(--gold); }
.headhunter h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}
.headhunter-sub { color: rgba(255,255,255,0.75); margin-bottom: 28px; }
.headhunter-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-item {
  display: flex;
  gap: 16px;
  padding: 0 0 28px;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.timeline-dot {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--green-deep);
  flex-shrink: 0;
}
.timeline-line {
  width: 2px;
  flex: 1;
  background: rgba(201,162,39,0.25);
  margin-top: 6px;
}
.timeline-content strong {
  display: block;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.timeline-content span { font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.headhunter-form-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.headhunter-form-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.headhunter-form-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}
.form-field select option { background: var(--green-deep); color: var(--white); }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-msg {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: none;
}
.form-msg.success { background: rgba(30,122,74,0.3); border: 1px solid rgba(30,122,74,0.5); color: #7DFFB3; display: block; }
.form-msg.error { background: rgba(200,50,50,0.2); border: 1px solid rgba(200,50,50,0.4); color: #FFAAAA; display: block; }

/* =====================================================
   WHY BRAZIL MACHINES
===================================================== */
.why { padding: 96px 0; background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.why-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-md); border-color: var(--green-light); }
.why-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.why-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 10px;
}
.why-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; }

/* =====================================================
   CONTACT / LEAD FORM
===================================================== */
.contact { padding: 96px 0; background: var(--gray-100); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--green-deep);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-weight: 700; color: var(--green-deep); margin-bottom: 2px; }
.contact-detail-text span { font-size: 0.9rem; color: var(--gray-600); }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.contact-form-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 6px;
}
.contact-form-card .form-sub {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 28px;
}
.form-light .form-field label { color: var(--gray-800); }
.form-light input,
.form-light select,
.form-light textarea {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
}
.form-light input::placeholder,
.form-light textarea::placeholder { color: var(--gray-600); }
.form-light input:focus,
.form-light select:focus,
.form-light textarea:focus { border-color: var(--green-mid); background: var(--white); outline: none; }
.form-light select option { background: var(--white); color: var(--gray-800); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.agent-response {
  margin-top: 20px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(21,94,58,0.06), rgba(21,94,58,0.1));
  border: 1px solid rgba(21,94,58,0.2);
  border-left: 4px solid var(--green-mid);
  border-radius: var(--radius-sm);
  display: none;
}
.agent-response.visible { display: block; }
.agent-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 8px;
}
.agent-text { font-size: 0.92rem; color: var(--gray-800); line-height: 1.65; }

/* =====================================================
   CHAT WIDGET
===================================================== */
#chat-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  width: 60px;
  height: 60px;
  background: var(--green-deep);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(12,58,38,0.45);
  transition: var(--transition);
  color: var(--white);
  font-size: 1.5rem;
}
#chat-toggle:hover { background: var(--green-mid); transform: scale(1.08); }
#chat-toggle .chat-close { display: none; }
#chat-toggle.open .chat-open { display: none; }
#chat-toggle.open .chat-close { display: block; }
#chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: var(--green-deep);
  font-size: 0.65rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}
#chat-panel {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 8999;
  width: 360px;
  max-height: 520px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
#chat-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}
.chat-head {
  background: var(--green-deep);
  padding: 18px 20px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--green-deep);
  flex-shrink: 0;
}
.chat-head-info strong { display: block; font-size: 0.92rem; }
.chat-head-info span { font-size: 0.75rem; color: rgba(255,255,255,0.65); }
.chat-status { display: flex; align-items: center; gap: 5px; }
.chat-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  display: block;
}
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
}
.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.55;
  animation: msgIn 0.22s ease;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg.bot {
  background: var(--gray-100);
  color: var(--gray-800);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-msg.user {
  background: var(--green-mid);
  color: var(--white);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chat-foot {
  padding: 14px 16px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 8px;
}
#chat-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--gray-800);
  outline: none;
  transition: var(--transition);
}
#chat-input:focus { border-color: var(--green-mid); }
#chat-send {
  width: 40px;
  height: 40px;
  background: var(--green-deep);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  flex-shrink: 0;
}
#chat-send:hover { background: var(--green-mid); }

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-name { color: var(--white); font-size: 1.1rem; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.45); }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 260px;
}
.footer-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin-bottom: 24px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--gold); }
.footer-bottom a:hover { color: var(--gold-light); }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .headhunter-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-inner { flex-direction: column; gap: 4px; font-size: 0.72rem; }
  #chat-panel { width: calc(100vw - 32px); right: 16px; }
}
