﻿body {
  margin: 0 !important;
  padding: 0 !important;
  padding-top: 0 !important;
}

nav.navbar,
nav.navbar.fixed-top {
  background-color: #8bc34a !important;
  color: #fff;
  margin: 0 !important;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.footer-autolisto {
  background-color: #8bc34a;
  color: #1f2d16;
}

.hero {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 80vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

#nosotros p {
  text-align: justify;
}

/* Galeria de trabajos */
#trabajos .row {
  align-items: stretch;
}

#trabajos .row > div {
  display: flex;
}

.work-card {
  width: 100%;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.work-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.work-content {
  padding: 14px 14px 16px;
  min-height: 78px;
  display: flex;
  align-items: center;
}

.work-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #212529;
  line-height: 1.2;
  transition: color 0.25s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: #d5dfcf;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.work-card:hover img {
  transform: scale(1.04);
}

.work-card:hover .work-title {
  color: #6da634;
}

@media (max-width: 991.98px) {
  .work-card img {
    height: 320px;
  }

  .work-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .work-card img {
    height: 240px;
  }

  .work-content {
    min-height: 70px;
  }

  .work-title {
    font-size: 1rem;
  }
}
.social-icons a {
  display: inline-block;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  line-height: 0;
  vertical-align: middle;
}

.social-icons a svg {
  display: block !important;
}

.social-icons a:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  border-radius: 50px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  z-index: 9999;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.whatsapp-text {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 15px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    justify-content: center;
  }

  .whatsapp-text {
    display: none;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
}

