/* 
  Jono Creativo - Minimalist Premium Design System
  Paleta: Blanco, Negro Premium (#111), Amarillo Mostaza (#F9AE21), Naranja Cálido (#ff6f3c)
*/

/* 1. Variables & Global Rules */
:root {
  --bg-color: #ffffff;
  --text-color: #111111;
  --text-muted: #555555;
  --border-color: #111111;
  --accent-mustard: #F9AE21; /* Amarillo mostaza más intenso */
  --accent-mustard-hover: #e09510;
  --accent-orange: #ff6f3c;
  --font-heading: 'Arbutus Slab', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;
  --font-mono: 'Recursive', monospace;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-color);
  font-weight: 400;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Helper Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.highlight-text {
  position: relative;
  display: inline-block;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--accent-mustard);
  z-index: -1;
  opacity: 0.8;
}

/* 2. Header & Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-wrapper img {
  height: 38px;
  width: auto;
  filter: brightness(0) !important; /* Force black logo */
  opacity: 0.9;
  transition: var(--transition-smooth);
}

.logo-wrapper img:hover {
  opacity: 1;
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-link:hover, 
.nav-item.active .nav-link {
  color: var(--accent-mustard);
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-color);
  border: 1.5px solid var(--border-color);
  box-shadow: 4px 4px 0 var(--border-color);
  list-style: none;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  padding: 10px 0;
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.dropdown-link:hover {
  background-color: #f9f9f9;
  color: var(--accent-mustard);
}

/* Mobile Toggle */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-color);
  margin-bottom: 6px;
  transition: var(--transition-smooth);
}

.hamburger span:last-child {
  margin-bottom: 0;
}

/* Mobile Active Animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* 3. Buttons (Minimalist rectangular design) */
.btn-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 32px;
  border: 2px solid var(--border-color);
  background-color: transparent;
  color: var(--text-color);
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--text-color);
  color: var(--bg-color);
}

.btn-primary:hover {
  background-color: var(--accent-mustard);
  border-color: var(--accent-mustard);
  color: #000000;
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 var(--border-color);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-color);
}

.btn-secondary:hover {
  background-color: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #ffffff;
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 var(--border-color);
}

/* 4. Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  border-bottom: 1.5px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-title {
  font-size: 54px;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 300;
}

.hero-title strong {
  font-weight: 800;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 20px;
}

.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-illustration img {
  width: 100%;
  max-width: 450px;
  height: auto;
  opacity: 0.95;
  filter: grayscale(1) contrast(1.1); /* Fits minimal theme */
}

/* 5. Services Section */
.services-section {
  border-bottom: 1.5px solid var(--border-color);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-mustard);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 38px;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  border: 1.5px solid var(--border-color);
  padding: 40px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 var(--border-color);
}

.service-icon {
  font-size: 36px;
  color: var(--accent-mustard);
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link:hover {
  color: var(--accent-mustard);
}

/* 6. Process Section (Stepped Flow) */
.process-section {
  border-bottom: 1.5px solid var(--border-color);
  background-color: #fafafa;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  margin-top: 50px;
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: left;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--border-color);
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.process-step:hover .step-num {
  color: var(--accent-mustard);
  -webkit-text-stroke: 1.5px var(--accent-mustard);
}

.process-step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 14px;
}

/* 7. Philosophy Section */
.philosophy-section {
  border-bottom: 1.5px solid var(--border-color);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.philosophy-card {
  border: 1.5px solid var(--border-color);
  padding: 32px;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.philosophy-card:hover {
  transform: translate(-4px, -4px) !important;
  box-shadow: 4px 4px 0 var(--accent-mustard) !important; /* Lift like buttons */
}

.philosophy-card .icon {
  font-size: 28px;
  color: var(--text-color);
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.philosophy-card:hover .icon {
  color: var(--accent-mustard);
  transform: scale(1.1);
}

.philosophy-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.philosophy-card p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* 8. Metrics Section */
.metrics-section {
  border-bottom: 1.5px solid var(--border-color);
  background-color: #fafafa;
}

.metrics-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.metrics-content {
  text-align: left;
}

.metrics-content .section-tag {
  margin-bottom: 16px;
}

.metrics-content h2 {
  font-size: 38px;
  margin-bottom: 24px;
}

.puzzle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.box {
  border: 1.5px solid var(--border-color);
  padding: 30px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.box-2 {
  background-color: var(--accent-mustard) !important; /* Beautiful mustard highlight */
  color: #000000 !important;
  font-size: 24px !important;
  font-weight: 800 !important;
}

.box-2:hover {
  transform: translate(-4px, -4px) !important;
  box-shadow: 4px 4px 0 var(--border-color) !important;
}

.box-1, .box-3, .box-4 {
  background-color: var(--bg-color);
  color: var(--text-color);
}

.box-1:hover, .box-3:hover, .box-4:hover {
  transform: translate(-4px, -4px) !important;
  box-shadow: 4px 4px 0 var(--border-color) !important;
}

/* 9. Portfolio Section (Slider Grayscale & Hover Color & Standout) */
.portfolio-section {
  border-bottom: 1.5px solid var(--border-color);
}

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

.portfolio-header .section-header {
  margin: 0;
  text-align: left;
}

.portfolio-slider-wrapper {
  margin: 0 -15px;
}

.variable-width .slide {
  border: 2px solid var(--border-color) !important;
  box-shadow: none !important;
  margin: 0 15px !important;
  overflow: hidden;
  background-color: var(--bg-color);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Stand out lift in hover for slider images like buttons */
.variable-width .slide:hover {
  transform: translate(-4px, -4px) !important;
  box-shadow: 4px 4px 0 var(--border-color) !important;
}

.variable-width .slide img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(1) !important; /* Grayscale slider images by default */
  transition: filter 0.3s ease !important;
}

.variable-width .slide:hover img {
  filter: grayscale(0) !important; /* Full color on hover */
}

.slick-dots {
  bottom: -40px !important;
}

.slick-dots li button:before {
  color: var(--text-color) !important;
  opacity: 0.25 !important;
  font-size: 8px !important;
}

.slick-dots li.slick-active button:before {
  color: var(--accent-mustard) !important;
  opacity: 1 !important;
}

/* 10. FAQ Section */
.faq-section {
  border-bottom: 1.5px solid var(--border-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1.5px solid var(--border-color);
  padding: 24px 0;
}

.faq-item:first-child {
  border-top: 1.5px solid var(--border-color);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  user-select: none;
}

.faq-icon {
  font-size: 14px;
  transition: var(--transition-smooth);
  color: var(--accent-mustard);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  color: var(--text-muted);
  font-size: 14.5px;
}

.faq-answer-content {
  padding-top: 16px;
  line-height: 1.6;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* 11. Legal Content Styles (NEW) */
.legal-main {
  padding-top: 140px;
  padding-bottom: 100px;
  min-height: 80vh;
}

.legal-box {
  border: 2px solid var(--border-color);
  background-color: var(--bg-color);
  padding: 60px;
  margin-top: 40px;
  box-shadow: 8px 8px 0 var(--border-color);
  transition: var(--transition-smooth);
}

.legal-box h1 {
  font-size: 36px;
  margin-bottom: 10px;
  font-weight: 700;
}

.fecha-actualizado {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-body h3, .legal-body h4 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-weight: 700;
}

.legal-body h3 {
  font-size: 20px;
  border-left: 4px solid var(--accent-mustard);
  padding-left: 12px;
}

.legal-body h4 {
  font-size: 16px;
}

.legal-body p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.legal-body strong {
  color: var(--text-color);
}

.legal-body ul, .legal-body ol {
  margin-left: 20px;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 15px;
}

.legal-body li {
  margin-bottom: 10px;
}

/* 12. Footer */
.main-footer {
  background-color: var(--bg-color);
  border-top: 1.5px solid var(--border-color);
  padding: 60px 0 30px 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 30px;
}

.footer-logo img {
  height: 34px;
  width: auto;
  filter: brightness(0) !important;
}

.footer-nav {
  display: flex;
  list-style: none;
  gap: 24px;
}

.footer-nav-link {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-nav-link:hover {
  color: var(--accent-mustard);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-info a {
  color: var(--text-color);
  font-weight: 600;
}

.footer-info a:hover {
  color: var(--accent-mustard);
}

/* 13. Mobile Styles (Responsive Overrides) */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-subtitle {
    margin: 0 auto 20px auto;
  }
  
  .btn-group {
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .metrics-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .portfolio-header {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }
  
  .portfolio-header .section-header {
    text-align: center;
  }
  
  .legal-box {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  /* Hamburger and Mobile Navigation overlay */
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .nav-link {
    font-size: 18px;
  }
  
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: #f9f9f9;
    text-align: center;
    width: 100%;
    margin-top: 10px;
    display: none;
  }
  
  .nav-item:hover .nav-dropdown {
    display: block;
  }
  
  .section-title {
    font-size: 30px;
  }
  
  .footer-top, .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 15px;
  }
}

/* 14. Jono AI Chatbot Drawer & Interface Styles */
.chatbot-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.chatbot-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.chatbot-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background-color: var(--bg-color);
  border-left: 2px solid var(--border-color);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.1);
}

.chatbot-drawer.active {
  transform: translateX(0);
}

.chatbot-header {
  padding: 20px 24px;
  border-bottom: 2px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fafafa;
}

.chatbot-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background-color: var(--accent-mustard);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  font-family: var(--font-mono);
  box-shadow: 2px 2px 0 var(--border-color);
}

.chatbot-info h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-color);
}

.chatbot-status {
  font-size: 11px;
  color: #2ecc71;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.chatbot-status::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: #2ecc71;
  border-radius: 50%;
}

.chatbot-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--text-color);
  transition: var(--transition-smooth);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid transparent;
}

.chatbot-close-btn:hover {
  transform: rotate(90deg);
  border: 1.5px solid var(--border-color);
  background-color: var(--accent-orange);
  color: #ffffff;
  box-shadow: 2px 2px 0 var(--border-color);
}

.chatbot-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}

/* Chat bubble styling */
.chat-bubble {
  max-width: 85%;
  padding: 14px 18px;
  border: 1.5px solid var(--border-color);
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 3px 3px 0 var(--border-color);
}

.chat-bubble.ai {
  align-self: flex-start;
  background-color: #f9f9f9;
  border-radius: 16px 16px 16px 0;
  color: var(--text-color);
}

.chat-bubble.user {
  align-self: flex-end;
  background-color: var(--accent-mustard);
  border-radius: 16px 16px 0 16px;
  color: #000000;
  font-weight: 500;
}

.chat-bubble.lead-form {
  align-self: flex-start;
  background-color: #ffffff;
  border-radius: 16px;
  width: 100%;
}

.chat-bubble p {
  margin-bottom: 8px;
}

.chat-bubble p:last-child {
  margin-bottom: 0;
}

.chat-bubble ol, .chat-bubble ul {
  margin-left: 20px;
  margin-top: 6px;
  margin-bottom: 6px;
}

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

.chat-bubble li:last-child {
  margin-bottom: 0;
}

.chat-bubble a {
  font-weight: 700;
  text-decoration: underline;
  color: inherit;
}

.chat-bubble a:hover {
  color: var(--accent-orange);
}

/* Bouncing typing dots */
.typing-indicator {
  display: flex;
  gap: 5px;
  padding: 4px 6px;
  align-items: center;
}

.typing-dot {
  width: 7px;
  height: 7px;
  background-color: var(--text-color);
  border-radius: 50%;
  animation: typing-bounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

.chatbot-footer {
  padding: 20px 24px;
  border-top: 2px solid var(--border-color);
  background-color: #fafafa;
}

/* Quick reply pills */
.quick-replies-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  justify-content: flex-start;
}

.quick-reply-btn {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-color);
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 2px 2px 0 var(--border-color);
}

.quick-reply-btn:hover {
  background-color: var(--accent-mustard);
  border-color: var(--accent-mustard);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--border-color);
}

/* Chat text composer input form */
.chat-composer {
  display: flex;
  gap: 10px;
}

.chat-input {
  flex-grow: 1;
  border: 2px solid var(--border-color);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  outline: none;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: var(--transition-smooth);
}

.chat-input:focus {
  border-color: var(--accent-mustard);
  box-shadow: 2px 2px 0 var(--border-color);
}

.chat-send-btn {
  background-color: var(--text-color);
  color: var(--bg-color);
  border: 2px solid var(--border-color);
  cursor: pointer;
  padding: 0 20px;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-send-btn:hover {
  background-color: var(--accent-mustard);
  border-color: var(--accent-mustard);
  color: #000000;
  box-shadow: 3px 3px 0 var(--border-color);
  transform: translate(-2px, -2px);
}

/* Fix text color inheritance of buttons within AI chat bubbles */
.chat-bubble.ai .btn {
  text-decoration: none !important;
}

.chat-bubble.ai .btn-primary {
  background-color: var(--text-color) !important;
  color: var(--bg-color) !important;
  border: 2px solid var(--border-color) !important;
}

.chat-bubble.ai .btn-primary:hover {
  background-color: var(--accent-mustard) !important;
  color: #000000 !important;
  border-color: var(--accent-mustard) !important;
  box-shadow: 3px 3px 0 var(--border-color) !important;
}

.chat-bubble.ai .btn-secondary {
  background-color: transparent !important;
  color: var(--text-color) !important;
  border: 2px solid var(--border-color) !important;
}

.chat-bubble.ai .btn-secondary:hover {
  background-color: var(--accent-orange) !important;
  color: #ffffff !important;
  border-color: var(--accent-orange) !important;
  box-shadow: 3px 3px 0 var(--border-color) !important;
}

/* Custom internal lead capture form */
.chatbot-lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.lead-input {
  border: 1.5px solid var(--border-color);
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 12.5px;
  outline: none;
}

.lead-input:focus {
  border-color: var(--accent-mustard);
}

.lead-submit-btn {
  background-color: var(--text-color);
  color: var(--bg-color);
  border: 1.5px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lead-submit-btn:hover {
  background-color: var(--accent-mustard);
  border-color: var(--accent-mustard);
  color: #000000;
}

@media (max-width: 480px) {
  .chatbot-drawer {
    max-width: 100%;
  }
}

/* Floating Jono AI Launcher Button */
.chatbot-float-btn {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent-mustard);
  border: 2.2px solid var(--border-color);
  box-shadow: 4px 4px 0 var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #000000;
  cursor: pointer;
  z-index: 1998;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.chatbot-float-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--border-color);
  background-color: var(--accent-mustard-hover);
}

.chatbot-float-btn .float-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  border: 1.8px solid var(--border-color);
  animation: pulse-badge 1.8s infinite;
}

/* Floating speech bubble tooltip */
.float-tooltip {
  position: absolute;
  right: 76px;
  top: 6px;
  background-color: var(--text-color);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 4px 4px 0 var(--accent-mustard);
  border: 1.5px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.5s ease;
  z-index: 1997;
  pointer-events: none; /* User clicks pass through to click trigger button */
}

/* Tooltip speech bubble triangle pointer */
.float-tooltip::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px 0 8px 8px;
  border-style: solid;
  border-color: transparent transparent transparent var(--text-color);
  display: block;
  width: 0;
  z-index: 1;
}

.float-tooltip.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes pulse-badge {
  0% { transform: scale(0.95); opacity: 0.9; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.9; }
}

@media (max-width: 768px) {
  .chatbot-float-btn {
    bottom: 90px;
    right: 15px;
    width: 54px;
    height: 54px;
    font-size: 20px;
  }
  
  .float-tooltip {
    right: 68px;
    top: 4px;
    padding: 8px 12px;
    font-size: 11px;
    box-shadow: 3px 3px 0 var(--accent-mustard);
  }
}



