:root {
  --primary: #0B2545;
  --primary-dark: #06182d;
  --primary-light: #173f70;
  --secondary: #1B998B;
  --secondary-dark: #147a70;
  --secondary-light: #55b8ad;
  --accent: #FF6B6B;
  --accent-dark: #e65353;
  --accent-hover: #f35f5f;
  --bg: #fcfbf9;
  --bg-soft: #f2f2ed;
  --bg-cool: #eef1ed;
  --white: #ffffff;
  --text: #0B2545;
  --text-muted: #6b7280;
  --text-light: #8f9bac;
  --border: rgba(11, 37, 69, 0.08);
  --glow: rgba(255, 107, 107, 0.2);
}

/* ============================================================
   ClaRev. Healthcare Solutions - Master Stylesheet
   Theme: Navy + Teal + Coral
   ============================================================ */



* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================ ANIMATIONS */
@keyframes orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes counter-orbit { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes growPath { from { stroke-dashoffset: 1000; fill-opacity: 0; } to { stroke-dashoffset: 0; fill-opacity: 0.05; } }
@keyframes scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(400%); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(255, 107, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}
@keyframes bounce-in {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.animate-orbit { animation: orbit 60s linear infinite; }
.animate-counter-orbit { animation: counter-orbit 60s linear infinite; }
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in-down { animation: fadeInDown 0.8s ease-out forwards; }
.animate-slide-left { animation: slideInLeft 0.6s ease-out forwards; }
.animate-slide-right { animation: slideInRight 0.6s ease-out forwards; }
.animate-scale-in { animation: scaleIn 0.4s ease-out forwards; }
.animate-growth { stroke-dasharray: 1000; animation: growPath 2s ease-out forwards; }
.animate-scan { animation: scan 3s linear infinite; }
.animate-marquee { display: flex; width: max-content; animation: marquee 35s linear infinite; }
.animate-marquee-fast { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-container:hover .animate-marquee,
.marquee-container:hover .animate-marquee-fast { animation-play-state: paused; }

/* ============================================================ GLASS / NAV */
.glass-nav {
  background: rgba(252, 251, 249, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.main-nav {
  position: fixed; top: 0; width: 100%; z-index: 50;
  padding: 1.25rem 2rem;
  transition: box-shadow 0.3s ease;
}

.nav-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
  cursor: pointer;
}
.nav-link:hover, .nav-link.active { color: var(--accent); }

.logo-mark {
  width: 32px; height: 32px;
  background: var(--primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; font-size: 20px;
  border-radius: 6px;
}

/* ============================================================ MOBILE NAV */
.mobile-menu-btn {
  display: none;
  background: transparent; border: none; cursor: pointer;
  font-size: 1.5rem; color: var(--primary);
}

@media (max-width: 1023px) {
  .mobile-menu-btn { display: block; }
  .desktop-nav { display: none !important; }
  .mobile-nav {
    position: fixed; top: 75px; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
    flex-direction: column; gap: 1rem;
    display: none;
    box-shadow: 0 10px 25px rgba(11, 37, 69, 0.08);
    z-index: 49;
  }
  .mobile-nav.open { display: flex; }
}

/* ============================================================ BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background-color: var(--accent);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 6px;
  font-weight: 700;
  border: none; cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px var(--glow);
  text-decoration: none;
  font-size: 14px;
}
.btn-primary:hover { background-color: var(--accent-dark); transform: translateY(-2px); }
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background-color: transparent;
  color: var(--primary);
  padding: 1rem 2.5rem;
  border-radius: 6px;
  font-weight: 700;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 14px;
}
.btn-secondary:hover { background-color: var(--white); border-color: var(--primary); }

.btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background-color: var(--primary);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 6px;
  font-weight: 700;
  border: none; cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 14px;
}
.btn-dark:hover { background-color: var(--primary-dark); transform: translateY(-2px); }

/* ============================================================ PILL BADGE */
.pill-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 6px 16px;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================ STEP NODE (Hero Orbit) */
.step-node {
  background: var(--white);
  border: 1px solid rgba(11, 37, 69, 0.1);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

/* ============================================================ FOOTER */
.main-footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 4rem 2rem 2rem;
}
.main-footer a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.main-footer a:hover { opacity: 1; color: var(--accent); }

/* ============================================================ SERVICE CARDS */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(11, 37, 69, 0.08);
  transform: translateY(-5px);
}

.grid-bg {
  background-image: radial-gradient(circle, #e2e8f0 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ============================================================ VISUAL MEDIA */
.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  border: 1px solid var(--border);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.16), rgba(27, 153, 139, 0.12));
  pointer-events: none;
}
.media-frame.overlay-navy::after { background: rgba(11, 37, 69, 0.16); }
.media-frame.overlay-teal::after { background: rgba(27, 153, 139, 0.16); }
.media-frame.overlay-coral::after { background: rgba(255, 107, 107, 0.14); }
.media-frame.overlay-gradient::after { background: linear-gradient(90deg, rgba(11, 37, 69, 0.82), rgba(11, 37, 69, 0.38), rgba(27, 153, 139, 0.16)); }
.aspect-wide { aspect-ratio: 16 / 9; }
.aspect-banner { aspect-ratio: 4 / 1; }
.aspect-card { aspect-ratio: 4 / 3; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-portrait { aspect-ratio: 3 / 4; }
.hero-image-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image-layer img,
.hero-image-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 37, 69, 0.9), rgba(11, 37, 69, 0.58), rgba(27, 153, 139, 0.18));
}
.service-thumb {
  margin: -2rem -2rem 1.5rem;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 9999px;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 14px 30px rgba(11, 37, 69, 0.12);
}
.icon-thumb {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--border);
}
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.play-overlay span {
  width: 58px;
  height: 58px;
  border-radius: 9999px;
  background: rgba(255, 107, 107, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 35px rgba(11, 37, 69, 0.28);
}
.cert-logo {
  height: 60px;
  width: 120px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: rgba(255, 255, 255, 0.05);
}

.custom-bullet::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* ============================================================ FORMS */
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.875rem 1.25rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-chip:hover {
  transform: translateY(-1px);
  border-color: var(--secondary);
}
.filter-chip.active {
  background: var(--secondary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(27, 153, 139, 0.14);
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.resource-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 25px 45px rgba(11, 37, 69, 0.12);
}
.resource-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.resource-badge.guides { background: rgba(27, 153, 139, 0.12); color: var(--secondary); }
.resource-badge.blog { background: rgba(255, 107, 107, 0.12); color: var(--accent); }
.resource-badge.case-studies { background: rgba(11, 37, 69, 0.12); color: var(--primary); }
.resource-badge.tools { background: rgba(27, 153, 139, 0.12); color: var(--secondary); }
.resource-badge.templates { background: rgba(255, 107, 107, 0.12); color: var(--accent); }
.resource-badge.webinars { background: rgba(27, 153, 139, 0.12); color: var(--secondary); }
.resource-badge.glossary { background: rgba(11, 37, 69, 0.12); color: var(--primary); }
.resource-badge.faqs { background: rgba(255, 107, 107, 0.12); color: var(--accent); }
.category-chip-tools { background: rgba(255, 107, 107, 0.12); color: var(--accent); }
.category-chip-case { background: rgba(11, 37, 69, 0.12); color: var(--primary); }
.category-chip-guide { background: rgba(27, 153, 139, 0.12); color: var(--secondary); }
.category-chip-neutral { background: rgba(11, 37, 69, 0.08); color: var(--primary); }
.card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--primary);
}
.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0.16), rgba(255, 107, 107, 0.08));
  pointer-events: none;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--white);
}
.faq-question {
  width: 100%;
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 700;
  color: var(--text);
  background: var(--bg);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  padding: 1rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.75;
  display: none;
}
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question { background: rgba(27, 153, 139, 0.08); }
.resource-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.service-pill {
  border: 1px solid var(--border);
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  color: #4b5563;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--white);
  user-select: none;
}
.service-pill.active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 10px var(--glow);
}

/* ============================================================ LEGAL/BLOG CONTENT */
.legal-content h2, .blog-content h2 {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}
.legal-content h3, .blog-content h3 {
  font-weight: 700;
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}
.legal-content p, .blog-content p {
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-weight: 500;
}
.blog-content p { font-size: 1.05rem; }
.legal-content ul, .blog-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.legal-content li, .blog-content li {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* ============================================================ SCROLLBAR */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: rgba(11, 37, 69, 0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ============================================================ ACCENT UNDERLINE */
.accent-underline { position: relative; display: inline-block; }
.accent-underline::after {
  content: '';
  position: absolute; bottom: 4px; left: 0;
  width: 100%; height: 4px;
  background: var(--accent);
  opacity: 0.2;
}

/* Image Blob */
.image-blob { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }

/* Line clamp */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* KPI metric color hooks and hover state */
.kpi-num { color: var(--primary); }
.kpi-sym { color: #cc6e55; }
.kpi-label { color: var(--primary); }
.kpi-sub { color: var(--text-muted); }
.group:hover .kpi-num,
.group:hover .kpi-sym,
.group:hover .kpi-label,
.group:hover .kpi-sub { color: var(--white); }

/* ============================================================ CHATBOT WIDGET */
.chatbot-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
  z-index: 9998;
  transition: all 0.3s ease;
  animation: pulse-ring 2.5s infinite;
}
.chatbot-button:hover {
  transform: scale(1.08);
  background: var(--accent-dark);
}
.chatbot-button.open {
  background: var(--primary);
  animation: none;
}

.chatbot-window {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 9999;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 600px;
  max-height: calc(100vh - 130px);
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(11, 37, 69, 0.18);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
  border: 1px solid var(--border);
}
.chatbot-window.open { display: flex; animation: bounce-in 0.4s ease-out; }

.chatbot-header {
  background: var(--primary);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.chatbot-header-info { display: flex; align-items: center; gap: 12px; }
.chatbot-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; font-size: 18px;
  position: relative;
}
.chatbot-avatar::after {
  content: '';
  position: absolute; bottom: 2px; right: 2px;
  width: 10px; height: 10px;
  background: #4ade80;
  border-radius: 50%;
  border: 2px solid var(--primary);
}
.chatbot-title { font-weight: 700; font-size: 15px; }
.chatbot-subtitle { font-size: 11px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.1em; }
.chatbot-close, .chatbot-reset {
  background: transparent; border: none; color: var(--white);
  cursor: pointer; font-size: 18px; padding: 8px;
  border-radius: 6px;
  opacity: 0.7; transition: all 0.2s ease;
}
.chatbot-close:hover, .chatbot-reset:hover { opacity: 1; background: rgba(255,255,255,0.1); }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--bg-soft);
}

.chatbot-message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  animation: fadeIn 0.3s ease-out;
  word-wrap: break-word;
}
.chatbot-message.user {
  background: var(--accent);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chatbot-message.bot {
  background: var(--white);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border);
}
.chatbot-message.bot a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
}
.chatbot-message strong { font-weight: 700; }
.chatbot-message p { margin-bottom: 8px; }
.chatbot-message p:last-child { margin-bottom: 0; }
.chatbot-message ul { padding-left: 1.25rem; margin: 0.5rem 0; }

.chatbot-suggestions {
  display: flex; flex-direction: column; gap: 6px;
  padding: 0 1.25rem 8px;
}
.chatbot-suggestion {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}
.chatbot-suggestion:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.chatbot-input-area {
  display: flex; gap: 8px;
  padding: 1rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.chatbot-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}
.chatbot-input:focus { border-color: var(--accent); }
.chatbot-input:disabled { opacity: 0.5; }

.chatbot-send {
  background: var(--accent);
  color: var(--white);
  border: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all 0.2s ease;
}
.chatbot-send:hover:not(:disabled) { background: var(--accent-dark); }
.chatbot-send:disabled { opacity: 0.4; cursor: not-allowed; }

.chatbot-typing {
  display: inline-flex; gap: 4px;
  padding: 12px 16px;
}
.chatbot-typing span {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: typing-bounce 1.4s ease-in-out infinite;
}
.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-8px); opacity: 1; }
}

.chatbot-disclaimer {
  font-size: 10px;
  text-align: center;
  padding: 8px;
  color: var(--text-muted);
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

@media (max-width: 480px) {
  .chatbot-window {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 90px;
    height: calc(100vh - 110px);
  }
  .chatbot-button { right: 16px; bottom: 16px; }
}

/* ============================================================ RESPONSIVE */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem !important; }
  h2 { font-size: 2rem !important; }
  .main-nav { padding: 1rem 1.25rem; }

  /* SEO Mobile Touch Targets - Lighthouse compliance */
  .btn-primary, .btn-secondary, .btn-dark, .nav-link, button {
    min-height: 48px;
    min-width: 48px;
    padding: 12px 24px;
  }
}
