/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Estructura de página completa */
html, body {
  height: 100%;
  font-family: Arial, sans-serif;
  background: #f0f4f8;
  color: #333;
}

/* Flexbox para sticky footer */
.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: white;
  text-align: center;
  padding: 1rem 0;
}

.logo {
  max-width: 250px;
  height: auto;
  margin-bottom: 1rem;
}

main {
  flex: 1;
  max-width: 600px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
  text-align: center;
}

p {
  font-size: 1.1rem;
  line-height: 1.5;
}

.contacto {
  margin-top: 2rem;
  background: #e0f7fa;
  padding: 1rem;
  border-radius: 8px;
}

.contacto h2 {
  margin-top: 0;
  color: #0077b6;
}

.contacto p {
  margin: 0.5rem 0;
  font-weight: bold;
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 1rem;
  background-color: #25D366;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #1ebe5d;
}

footer {
  background-color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #777;
  border-top: 1px solid #ccc;
}

/* Botón flotante WhatsApp solo en móviles */
.whatsapp-float-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: none;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-float-btn:hover {
  background-color: #1ebe5d;
  transform: scale(1.1);
}

.whatsapp-icon {
  width: 145px;
  height: 145px;
}

/* Mostrar el botón solo en pantallas pequeñas */
@media (max-width: 768px) {
  .whatsapp-float-btn {
    display: flex;
  }
}
