body {
  margin: 0;
  background: linear-gradient(to bottom, #001f3f, #003366);
  color: white;
  font-family: 'Segoe UI', sans-serif;
}

header {
  padding: 2rem 1rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: fadeInHeader 1.5s ease forwards, wobbleHeader 1.5s ease 1.5s forwards;
}

p {
  font-size: 24px;
  line-height: 1.6;
}

li {
  font-size: 22px;
  line-height: 1.6;
}

section {
  padding: 50px 0;
}

.logo-title {
  font-size: 3rem;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 5px #00000066;
}

.logo-title span {
  color: #00bfff;
}

.image-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  min-height: 60vh;
}

/* --- FADE-IN EFECTO --- */
.fadein {
      opacity: 0;
      transform: translateY(20px);
}

.fadein.animate {
      opacity: 1;
      transform: translateY(0);
      transition: opacity 2s ease, transform 2s ease;
}

/* --- BOTÓN VOLVER ARRIBA --- */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background-color: #00bfff;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.back-to-top:hover {
  background-color: #0077cc;
}

/* --- BOTÓN CONTACTAR --- */
.contact-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: #ffffff;
  color: red;
  font-size: 0.85rem;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  padding: 4px 10px;
  text-decoration: none;
  z-index: 10;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.contact-btn:hover {
  background-color: #f2f2f2;
  color: #000;
}

/* --- HEADER ANIMATION --- */
@keyframes fadeInHeader {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes wobbleHeader {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(3deg); }
  30% { transform: rotate(-3deg); }
  45% { transform: rotate(2deg); }
  60% { transform: rotate(-2deg); }
  75% { transform: rotate(1deg); }
  100% { transform: rotate(0deg); }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .contact-btn {
    font-size: 0.75rem;
    padding: 3px 8px;
  }
}
