:root {
  --bs-primary: #1f5f3a;
  --bs-primary-rgb: 31, 95, 58;
  --bs-secondary: #f6f1e6;
  --bs-secondary-rgb: 246, 241, 230;
  --bs-body-font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

body {
  background-color: #ffffff;
}

.container-custom {
  max-width: 1200px;
}

.section-padding {
  padding: 4rem 0;
}

.heading-1 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
}

.heading-2 {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 700;
}

.heading-3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
}

.text-muted-foreground {
  color: #6c757d;
}

.bg-muted {
  background-color: #f4f6f3;
}

.bg-muted-50 {
  background-color: #f8faf8;
}

.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 95, 58, 0.95) 0%, rgba(31, 95, 58, 0.8) 50%, rgba(31, 95, 58, 0.4) 100%);
  z-index: 0;
}

.hero-section > .container-custom {
  position: relative;
  z-index: 1;
}

.btn-whatsapp {
  background-color: #2ebc5f;
  border-color: #2ebc5f;
  color: #fff;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background-color: #25a851;
  border-color: #25a851;
  color: #fff;
}

.badge-species-bovinos {
  background-color: #2a6b3d;
}

.badge-species-ovinos {
  background-color: #d9891f;
}

.badge-species-equinos {
  background-color: #2b5aa3;
}

.badge-species-bovinos,
.badge-species-ovinos,
.badge-species-equinos {
  color: #fff;
}

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

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-link:hover {
  color: #fff;
}

.form-note {
  font-size: 0.85rem;
}

.toast-area {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2000;
}

.toast-area .alert {
  margin-bottom: 0.75rem;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.sticky-card {
  position: sticky;
  top: 5rem;
}

.lead-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 1500;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lead-bar p {
  margin: 0;
  font-size: 0.95rem;
}

.lead-bar .lead-bar-actions {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.floating-whatsapp {
  position: fixed;
  right: 1.5rem;
  bottom: 5.5rem;
  z-index: 1600;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #2ebc5f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 30px rgba(46, 188, 95, 0.35);
  text-decoration: none;
}

.floating-whatsapp:hover {
  color: #fff;
  background-color: #25a851;
}

.lead-modal .modal-content {
  border-radius: 1.5rem;
}

.lead-modal .modal-header {
  border-bottom: 0;
}

.lead-modal .modal-footer {
  border-top: 0;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.badge-category {
  font-size: 0.7rem;
}

.filter-summary {
  font-size: 0.9rem;
}

.lead-highlight {
  background: linear-gradient(135deg, rgba(31, 95, 58, 0.12) 0%, rgba(31, 95, 58, 0.04) 100%);
  border-radius: 1.25rem;
}

@media (max-width: 991px) {
  .sticky-card {
    position: static;
  }

  .lead-bar {
    border-radius: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-whatsapp {
    right: 1rem;
  }
}
