/* ============================================
   LACA Ecuador — Brand-Aligned Design System
   Based on laboratoriolaca.com brand guidelines
   ============================================ */

/* ---- FONT FACES (Official LACA) ---- */
@font-face { font-family: 'RobotoCondensed-Bold'; src: url('assets/fonts/RobotoCondensed-Bold.ttf') format('truetype'); }
@font-face { font-family: 'RobotoCondensed-Regular'; src: url('assets/fonts/RobotoCondensed-Regular.ttf') format('truetype'); }
@font-face { font-family: 'RobotoCondensed-Light'; src: url('assets/fonts/RobotoCondensed-Light.ttf') format('truetype'); }
@font-face { font-family: 'Museo-Regular'; src: url('assets/fonts/Museo/Museo-300.otf') format('truetype'); }
@font-face { font-family: 'Museo-Bolder'; src: url('assets/fonts/Museo/Museo-900.otf') format('truetype'); }
@font-face { font-family: 'MuseoSans-300'; src: url('assets/fonts/MuseoSans/MuseoSans_300.otf') format('truetype'); }
@font-face { font-family: 'MuseoSans-500'; src: url('assets/fonts/MuseoSans/MuseoSans_500.otf') format('truetype'); }
@font-face { font-family: 'MuseoSans-700'; src: url('assets/fonts/MuseoSans/MuseoSans_700.otf') format('truetype'); }
@font-face { font-family: 'MuseoSans-900'; src: url('assets/fonts/MuseoSans/MuseoSans_900.otf') format('truetype'); }

/* ---- BRAND TOKENS (from laboratoriolaca.com :root) ---- */
:root {
  --laca-green: #78C19A;
  --laca-green-hover: #189E84;
  --laca-gray-blue: #475C6D;
  --laca-tiza-gray: #F4F4F4;
  --laca-text: #6f6f6e;
  --laca-text-dark: #475C6D;
  --laca-white: #ffffff;
  --laca-light-gray: #e3e3e3;
  --laca-dark: #212529;
  --laca-teal-accent: #3cc3b2;
  --laca-pink-light: #fed8e5;
  --laca-whatsapp: #25d366;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;

  /* Layout */
  --nav-height: 70px;
  --chat-width: 380px;
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-pill: 50em;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-family: 'MuseoSans-500', 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  color: var(--laca-text);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--laca-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'MuseoSans-900', sans-serif;
  color: var(--laca-gray-blue);
  text-transform: uppercase;
  line-height: 1.2;
}

a { color: var(--laca-green); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--laca-green-hover); }

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

/* ---- CONTAINER ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ---- NAVIGATION (LACA style) ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--laca-tiza-gray);
  color: var(--laca-gray-blue);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: var(--laca-white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 45px;
  width: auto;
}
.nav-links {
  display: flex; list-style: none;
  gap: var(--space-md);
  margin-left: auto;
}
.nav-links a {
  font-family: 'RobotoCondensed-Bold', sans-serif;
  font-size: 14px;
  color: var(--laca-gray-blue);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--laca-green);
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--laca-green);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  margin-left: var(--space-sm);
}
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--laca-gray-blue);
  transition: transform 0.3s;
}

/* ---- BUTTONS (LACA .btn_comun style) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'MuseoSans-900', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.btn-primary {
  background: var(--laca-green);
  color: var(--laca-white);
}
.btn-primary:hover {
  background: var(--laca-green-hover);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--laca-gray-blue);
  color: var(--laca-gray-blue);
}
.btn-outline:hover {
  background: var(--laca-gray-blue);
  color: var(--laca-white);
}
.btn-sm { padding: 10px 24px; font-size: 0.78rem; }
.btn-secondary {
  background: #a9aeb0;
  color: var(--laca-white);
}
.btn-secondary:hover { background: #6c757d; }

/* ---- HERO CAROUSEL ---- */
.hero-carousel-section {
  position: relative;
}
.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--laca-gray-blue);
}
.hero-carousel-track {
  position: relative;
  width: 100%;
}
.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0s 0.8s;
  z-index: 1;
}
.hero-carousel-slide:first-child {
  position: relative; /* First slide establishes height */
}
.hero-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease-in-out, visibility 0s 0s;
  z-index: 2;
}
.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* First slide has text overlay */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(71,92,109,0.88) 0%, rgba(71,92,109,0.7) 40%, rgba(120,193,154,0.5) 100%);
  display: flex;
  align-items: center;
  z-index: 3;
}
.hero-slide-content {
  max-width: 580px;
  padding: var(--space-lg) 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: 'RobotoCondensed-Bold', sans-serif;
  font-size: 0.8rem;
  color: var(--laca-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}
.hero-carousel-slide h1 {
  font-family: 'MuseoSans-900', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--laca-white);
  margin-bottom: var(--space-sm);
  line-height: 1.15;
}
.hero-carousel-slide h1 em {
  font-family: 'Museo-Regular', serif;
  font-style: italic;
  color: var(--laca-green);
}
.hero-subtitle {
  font-family: 'MuseoSans-300', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.hero-actions {
  display: flex; gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Carousel arrows */
.hc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(71,92,109,0.45);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hc-arrow:hover {
  background: rgba(71,92,109,0.7);
  transform: translateY(-50%) scale(1.1);
}
.hc-prev { left: 16px; }
.hc-next { right: 16px; }

/* Carousel dots */
.hc-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.hc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
.hc-dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.2);
  box-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hc-dot:hover:not(.active) {
  background: rgba(255,255,255,0.4);
}

/* ---- SECTIONS ---- */
.section {
  padding: var(--space-2xl) 0;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}
.section-label {
  display: inline-block;
  font-family: 'RobotoCondensed-Bold', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--laca-green);
  margin-bottom: var(--space-sm);
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-sm);
}
.section-header p {
  font-family: 'MuseoSans-300', sans-serif;
  color: var(--laca-text);
  font-size: 1rem;
}

/* Title underline (LACA .title-line style) */
.section-header h2::after {
  content: '';
  display: block;
  width: 80px; height: 4px;
  border-radius: 3px;
  background: var(--laca-gray-blue);
  margin: var(--space-sm) auto 0;
}

/* ---- CARDS ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}
.card {
  background: var(--laca-white);
  border: 1px solid var(--laca-light-gray);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(71,92,109,0.12);
}

/* Cards with real photos */
.card-with-img {
  padding: 0;
  overflow: hidden;
}
.card-img-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.card-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-with-img:hover .card-photo {
  transform: scale(1.05);
}
.card-body-content {
  padding: var(--space-md) var(--space-md) var(--space-lg);
}

.card-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--laca-tiza-gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}
.card h3 {
  font-family: 'MuseoSans-700', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.card p {
  font-family: 'MuseoSans-300', sans-serif;
  font-size: 0.9rem;
  color: var(--laca-text);
  line-height: 1.6;
}

/* Clickable card links */
a.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.card-cta {
  display: inline-block;
  margin-top: 12px;
  font-family: 'MuseoSans-700', sans-serif;
  font-size: 0.85rem;
  color: var(--laca-green);
  transition: transform 0.3s, color 0.3s;
}
a.card-link:hover .card-cta {
  transform: translateX(4px);
  color: var(--laca-gray-blue);
}

/* Clickable carousel slide links */
.hc-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.hc-slide-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- DISTRIBUTOR SHOWCASE ---- */
.dist-feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}
.dist-feature-card {
  background: var(--laca-white);
  border: 1px solid var(--laca-light-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.dist-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(71,92,109,0.12);
}
.dist-photo-wrapper {
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.dist-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dist-feature-card:hover .dist-photo {
  transform: scale(1.05);
}
.dist-feature-info {
  padding: var(--space-sm) var(--space-md) var(--space-md);
  text-align: center;
}
.dist-feature-info h3 {
  font-family: 'MuseoSans-700', sans-serif;
  font-size: 1rem;
  margin-bottom: 4px;
}
.dist-feature-info p {
  font-family: 'MuseoSans-300', sans-serif;
  font-size: 0.85rem;
  color: var(--laca-text);
  margin: 0;
}

/* ---- TOOLS GRID (SERLACA) ---- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
  text-align: center;
}
.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: var(--space-md);
  background: var(--laca-white);
  border: 1px solid var(--laca-light-gray);
  border-radius: var(--radius-md);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(71,92,109,0.12);
}
.tool-icon {
  width: 64px;
  height: 64px;
}
.tool-label {
  font-family: 'MuseoSans-700', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--laca-gray-blue);
  line-height: 1.3;
}

/* ---- STATS GRID ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}
.stat-card {
  background: var(--laca-white);
  border-radius: 20px;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08), 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.stat-card:hover {
  transform: translateY(-3px);
}
.stat-prefix {
  font-family: 'MuseoSans-500', sans-serif;
  font-size: 1rem;
  color: var(--laca-gray-blue);
  text-transform: uppercase;
}
.stat-number {
  font-family: 'MuseoSans-900', sans-serif;
  font-size: 3rem;
  color: var(--laca-gray-blue);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-text {
  font-family: 'MuseoSans-500', sans-serif;
  font-size: 0.85rem;
  color: var(--laca-text);
  text-transform: uppercase;
  line-height: 1.3;
}

/* ---- ABOUT SECTION ---- */
.about-content {
  max-width: 900px;
  margin: 0 auto;
}
.about-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-md);
}
.about-banner {
  width: 100%;
  height: auto;
  display: block;
}
.about-text {
  text-align: center;
}
.about-text p {
  font-family: 'MuseoSans-300', sans-serif;
  font-size: 1rem;
  color: var(--laca-text);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

/* ---- CREDENTIALS ---- */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  align-items: center;
}
.credential-card {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transition: transform 0.3s;
}
.credential-card:hover {
  transform: translateY(-4px) scale(1.02);
}

/* ---- FOOTER (LACA style: gray-blue bg, RobotoCondensed-Light) ---- */
.footer {
  font-family: 'RobotoCondensed-Light', sans-serif;
  letter-spacing: 1px;
  background: var(--laca-gray-blue);
  color: var(--laca-white);
  padding: var(--space-xl) 0 var(--space-md);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.footer h4 {
  font-family: 'RobotoCondensed-Bold', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
  color: var(--laca-white);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer a {
  color: rgba(255,255,255,0.8);
  font-family: 'RobotoCondensed-Light', sans-serif;
}
.footer a:hover { color: var(--laca-green); }
.footer p { margin-bottom: 6px; }
.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ============================================
   CHATBOT SIDEBAR
   ============================================ */
.chat-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: var(--chat-width);
  background: var(--laca-white);
  border-left: 1px solid var(--laca-light-gray);
  display: flex; flex-direction: column;
  z-index: 1100;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.chat-panel.collapsed { transform: translateX(100%); }

/* Adjust main content when chat is open */
.main-content {
  margin-right: var(--chat-width);
  transition: margin-right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: var(--nav-height);
}
body.chat-closed .main-content { margin-right: 0; }

/* Chat Header */
.chat-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: var(--laca-gray-blue);
  color: var(--laca-white);
  flex-shrink: 0;
}
.chat-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--laca-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.chat-header-info { flex: 1; }
.chat-header-info h4 {
  font-family: 'MuseoSans-700', sans-serif;
  font-size: 0.95rem;
  color: var(--laca-white);
  text-transform: none;
  margin-bottom: 2px;
}
.chat-header-info span {
  font-family: 'RobotoCondensed-Light', sans-serif;
  font-size: 0.75rem;
  opacity: 0.8;
  display: flex; align-items: center; gap: 6px;
}
.chat-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--laca-green);
  display: inline-block;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.chat-collapse-btn {
  background: none; border: none;
  color: var(--laca-white);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
}
.chat-collapse-btn:hover { opacity: 1; }

/* Chat Messages */
.chat-messages {
  flex: 1; overflow-y: auto;
  padding: var(--space-sm);
  display: flex; flex-direction: column; gap: 12px;
  background: var(--laca-tiza-gray);
}
.chat-msg {
  display: flex; gap: 10px;
  max-width: 90%;
  animation: msgIn 0.3s ease-out;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg.agent { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }

.chat-msg-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--laca-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.chat-msg.user .chat-msg-avatar { background: var(--laca-gray-blue); }

.chat-msg-bubble {
  font-family: 'MuseoSans-300', sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
  padding: 12px 16px;
  border-radius: 16px;
  color: var(--laca-text-dark);
}
.chat-msg.agent .chat-msg-bubble {
  background: var(--laca-white);
  border: 1px solid var(--laca-light-gray);
  border-top-left-radius: 4px;
}
.chat-msg.user .chat-msg-bubble {
  background: var(--laca-gray-blue);
  color: var(--laca-white);
  border-top-right-radius: 4px;
}

/* Typing indicator */
.chat-typing {
  display: flex; gap: 5px;
  padding: 14px 18px;
  background: var(--laca-white);
  border: 1px solid var(--laca-light-gray);
  border-radius: 16px;
  border-top-left-radius: 4px;
  align-self: flex-start;
  width: fit-content;
}
.chat-typing span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--laca-green);
  animation: typingBounce 1.4s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Quick Replies */
.chat-quick-replies {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 12px 16px;
  background: var(--laca-white);
  border-top: 1px solid var(--laca-light-gray);
}
.chat-quick-btn {
  font-family: 'RobotoCondensed-Regular', sans-serif;
  font-size: 0.8rem;
  padding: 8px 14px;
  border: 1px solid var(--laca-green);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--laca-green);
  cursor: pointer;
  transition: all 0.25s;
}
.chat-quick-btn:hover {
  background: var(--laca-green);
  color: var(--laca-white);
}

/* WhatsApp CTA */
.chat-whatsapp-cta {
  display: flex; align-items: center; gap: 10px;
  margin: 0 16px 8px;
  padding: 12px 16px;
  background: #dcfce7;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'MuseoSans-300', sans-serif;
  font-size: 0.82rem;
}
.chat-whatsapp-cta:hover { background: #bbf7d0; }
.chat-whatsapp-cta span { font-size: 1.3rem; }
.chat-whatsapp-cta p { margin: 0; color: var(--laca-text-dark); line-height: 1.4; }

/* Chat Input */
.chat-input-area {
  padding: 12px 16px;
  background: var(--laca-white);
  border-top: 1px solid var(--laca-light-gray);
}
.chat-input-wrapper {
  display: flex; align-items: center; gap: 8px;
  background: var(--laca-tiza-gray);
  border-radius: var(--radius-pill);
  padding: 4px 4px 4px 18px;
  border: 1px solid var(--laca-light-gray);
  transition: border-color 0.3s;
}
.chat-input-wrapper:focus-within { border-color: var(--laca-green); }
.chat-input {
  flex: 1; border: none; background: transparent;
  font-family: 'MuseoSans-300', sans-serif;
  font-size: 0.88rem;
  color: var(--laca-text-dark);
  outline: none;
}
.chat-input::placeholder { color: #a9aeb0; }
.chat-send-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--laca-green);
  color: var(--laca-white);
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.chat-send-btn:hover { background: var(--laca-green-hover); }

/* Chat FAB */
.chat-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--laca-green);
  color: var(--laca-white);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(120,193,154,0.4);
  z-index: 1050;
  display: none;
  align-items: center; justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-fab.visible { display: flex; }
.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(120,193,154,0.5);
}
.chat-fab-badge {
  position: absolute; top: -2px; right: -2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #dc3545;
  color: var(--laca-white);
  font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'MuseoSans-700', sans-serif;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root { --chat-width: 340px; }
}

@media (max-width: 768px) {
  :root { --chat-width: 100%; --nav-height: 60px; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .main-content { margin-right: 0 !important; }

  .hero-slide-content { padding: var(--space-sm) 0; }
  .hero-carousel-slide h1 { font-size: 1.4rem; }
  .hero-subtitle { font-size: 0.85rem; margin-bottom: var(--space-sm); }
  .hero-badge { font-size: 0.7rem; padding: 6px 14px; margin-bottom: var(--space-sm); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; font-size: 0.75rem; padding: 10px 20px; }
  .hc-arrow { width: 34px; height: 34px; font-size: 1rem; }
  .hc-prev { left: 8px; }
  .hc-next { right: 8px; }
  .hc-dots { bottom: 8px; gap: 6px; }
  .hc-dot { width: 8px; height: 8px; }

  .section { padding: var(--space-xl) 0; }
  .card-grid { grid-template-columns: 1fr; }

  .chat-panel {
    border-left: none;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
}

/* ---- MOBILE MENU OVERLAY ---- */
.mobile-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu {
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 100%;
  background: var(--laca-white);
  padding: var(--space-md);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-menu-overlay.open .mobile-menu {
  transform: translateX(0);
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--laca-light-gray);
  margin-bottom: var(--space-md);
}
.mobile-menu-close {
  background: none; border: none;
  color: var(--laca-gray-blue);
  cursor: pointer;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.mobile-menu-close:hover {
  background: var(--laca-tiza-gray);
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu-nav a {
  font-family: 'RobotoCondensed-Bold', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--laca-gray-blue);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.mobile-menu-nav a:hover {
  background: var(--laca-tiza-gray);
  color: var(--laca-green);
}

/* ---- RESPONSIVE — EXTRA GRIDS ---- */
@media (max-width: 768px) {
  .dist-feature-row { grid-template-columns: 1fr 1fr; }
  .tools-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .credentials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .dist-feature-row { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 2.2rem; }
}

/* ---- UTILITY ---- */
.bg-tiza { background: var(--laca-tiza-gray); }
.color-general { color: var(--laca-green); }
.laca-color-gray-blue { color: var(--laca-gray-blue); }
