/* Paleta de colores basada en el logo Serpentia */
:root {
  --verde-profundo: #003d2b;
  --verde-claro: #d4f4e2;
  --gris-texto: #4a4a4a;
  --fondo: #f8f9fa;
  --blanco: #ffffff;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--fondo);
  color: var(--gris-texto);
  margin: 0;
  padding: 0;
}

.logo {
  height: 60px;
}

.navbar {
  background-color: var(--verde-profundo);
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--blanco);
}

.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--verde-claro);
}

.container-imagenes {
  display: flex;
  gap: 20px;
  justify-content: center;
}


.section-title {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--verde-profundo);
  text-align: center;
}

.text-muted {
  color: var(--gris-texto) !important;
  text-align: center;
}

footer {
  background-color: var(--verde-profundo);
  color: #e3e3e3;
  padding: 20px 0;
  text-align: center;
}

.btn-success {
  background-color: var(--verde-profundo);
  border-color: var(--verde-profundo);
}

.btn-success:hover {
  background-color: var(--verde-claro);
  color: var(--verde-profundo);
  border-color: var(--verde-claro);
}

.container-imagenes {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
.titulo-footer {
  color: #212529;
  font-weight: 600;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  background-color: #ffffff; /* Asegura que tenga fondo */
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
}

.card:hover {
  transform: scale(1.03); /* o 1.05 si querés un poco más */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.logo-empresas {
  height: 120px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.card-body {
  min-height: 180px;
}

.logo-wrapper {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-empresas {
  max-height: 100%;
  object-fit: contain;
}

.bna-widget{
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 260px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
}

.bna-title{
  font-weight: 700;
  margin-bottom: 8px;
}

.bna-row{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 6px 0;
  align-items: center;
  border-bottom: 1px dashed rgba(0,0,0,.08);
}

.bna-row:last-of-type{
  border-bottom: none;
}

.bna-head{
  font-weight: 600;
  color: #444;
  border-bottom: 1px solid rgba(0,0,0,.12);
  padding-top: 0;
}

.bna-foot{
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}

.bna-legal{
  margin-top: 2px;
  font-size: 11px;
  color: #888;
}

.bna-box{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
}

.bna-title{
  font-weight: 700;
  margin-bottom: 8px;
}

.bna-row{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 6px 0;
  align-items: center;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
}

.bna-row:last-of-type{
  border-bottom: none;
}

.bna-head{
  font-weight: 600;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-top: 0;
}

.bna-foot{
  margin-top: 8px;
  font-size: 12px;
  color: #cbd5e1;
}

.bna-legal{
  margin-top: 2px;
  font-size: 11px;
  color: #9aa4b2;
}

.bna-box{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 10px 12px;
  color: #fff;
  font-size: 14px;
  max-width: 260px; /* Hace que el box sea más angosto */
  margin-left: auto; /* Lo pega a la derecha dentro de su columna */
}

.bna-row{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr; /* Columnas más chicas para compra/venta */
  gap: 4px;
  padding: 4px 0;
  align-items: center;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
}

.hero .bna-box {
  background: #fff;
  color: #000;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  font-size: 14px;
}

.hero .bna-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,.1);
  padding: 4px 0;
}

.hero .bna-row:last-child {
  border-bottom: none;
}

.bna-abs{
  position: absolute;
  right: -80px;
  top: -20px;      /* súbilo o bajalo: 0, 16, 24, 32… */
  z-index: 2;
}

@media (max-width: 991px){
  .bna-abs{ top: auto; bottom: 16px; right: 16px; transform: none; }
}