/* Sticky Footer Configuración */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

/* Topbar */
header .topbar {
  background-color: #004d5d;
  color: white;
  padding: 10px 20px;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
}

/* Navbar */
.navbar {
  background: #ffffff;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 2px solid #eeeeee;
}

.navbar .logo {
  width: 120px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar ul li {
  cursor: pointer;
  font-weight: 600;
  color: #333;
}

.navbar ul li.active {
  color: #00778B;
  border-bottom: 2px solid #00778B;
}

#searchBtn {
  background: #00a99d;
  color: white;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
}

/* Main ajustado para sticky footer */
main {
  flex: 1;
  padding: 40px 20px;
  text-align: center;
  background-color: #ffffff;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 77, 93, 0.1);
}

main h1 {
  font-size: 2rem;
  text-transform: uppercase;
  color: #004d5d;
}

.divider {
  width: 80px;
  height: 4px;
  background-color: #00778B;
  margin: 10px auto 20px;
  border-radius: 2px;
}

.contact-info {
  margin-top: 30px;
  font-size: 1.1rem;
  color: #333;
}

.contact-info p {
  margin-bottom: 20px;
}

/* Footer */
footer {
  background-color: #004d5d;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  position: relative;
}

.footer-top {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 0.9rem;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Logos igual tamaño */
.footer-logo,
.social-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin: 0 10px;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.social-icon {
  border-radius: 50%;
  background-color: #00778B;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}

.social-icon:hover {
  background-color: #00a99d;
}

/* Botones flotantes */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.floating-buttons a img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.whatsapp-button img {
  background-color: #25D366;
  padding: 5px;
}

.chat-button img {
  background-color: #00a99d;
  padding: 5px;
}

/* Enlaces */
a {
  color: #000;
  text-decoration: none;
}

a:visited {
  color: #000;
}

a:hover {
  color: #00778B;
}

a:active {
  color: #00a99d;
}
