
body { font-family: Arial, sans-serif; background: #f5f5f5; color: #333; }
/* RESET BÁSICO (solo para header/footer) */
 * { margin: 0; padding: 0; box-sizing: border-box; }

/* -------- HEADER -------- */
header {
  background-color: #1f2d3d;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

/* Logo + texto */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 90px;
}

.logo h1 {
  font-size: 1.2rem;
  font-weight: bold;
  white-space: nowrap;
}

/* -------- MENU -------- */
nav {
  display: flex;
  gap: 1rem;
}

nav a {
  padding: 0.6rem 1rem;
  background: #2980b9;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.2s;
}

nav a:hover {
  background: #1c6a96;
}

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* -------- RESPONSIVE -------- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1f2d3d;
    width: 100%;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 1rem 0;
    z-index: 2000;
  }

  nav.active {
    display: flex;
  }

  nav a {
    width: 90%;
    text-align: center;
  }
}


 .whatsapp-float {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
        z-index: 9999;
      }

      .whatsapp-float img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
        transition: 0.2s;
      }

      .whatsapp-float img:hover {
        transform: scale(1.1);
      }
      
      /* ================= FOOTER ================= */

.site-footer {
  background-color: #1f2d3d;
  color: white;
  padding: 2rem 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1200px;
}

/* Links tipo texto (evita heredar estilos del header) */
.site-footer a {
  all: unset;          /* RESETEA TODO el estilo heredado */
  color: white;
  cursor: pointer;
  font-size: 1rem;
}

.site-footer .footer-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.site-footer .footer-links a:hover {
  text-decoration: underline;
}

/* Nombre */
.footer-name {
  margin-top: 1rem;
  font-weight: bold;
}

/* Copy */
.footer-copy {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Mobile */
@media (max-width: 768px) {
  .site-footer .footer-links {
    flex-direction: column;
    gap: 0.4rem;
  }
}

/* Link del logo (sin efectos feos) */
.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  outline: none;
  -webkit-tap-highlight-color: transparent; /* quita sombra azul en mobile */
}

/* Hover sutil */
.logo-link:hover {
  opacity: 0.85;
}

/* Evita sombreado al click */
.logo-link:focus,
.logo-link:active {
  outline: none;
  box-shadow: none;
}

/* Cursor profesional */
.logo-link,
.logo-link * {
  cursor: pointer;
}
