html {
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  background: #1E1E2F;
  background: linear-gradient(0deg, rgba(42, 123, 155, 1) 0%, rgba(30, 30, 47, 1) 50%);
  color: white;
}

header {
  background: #0a0f2c;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar img {
  height: 67px;
  width: auto;
}

.menu-btn {
  display: none;
  font-size: 1.5em;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;

}

.nav-links a {
  text-decoration: none;
  font-weight: bold;
  color: white;
}

.home {
  padding: 80px 20px;
}

.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 40px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.4, 0, .2, 1);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.maps {
  justify-content: center;
  display: flex;
  margin-top: 30px;
}

.contact-buttons.contact-icons {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.contact-icon img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  padding: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

.contact-icon:hover img {
  transform: scale(1.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.contact-icon.whatsapp img {
  background: #25d366;
}

.contact-icon.email img {
  background: #005baa;
}

.contact-icon.instagram img {
  background: #e1306c;
}

.contact-icon.facebook img {
  background: #1877f3;
}

.btn-flotante {
  position: fixed;
  bottom: 70px;
  right: 30px;
  padding: 6px;
  background: rgba(30, 30, 47, 1);
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 100;
  text-decoration: none;
  transition: background 0.2s, opacity 0.3s;
}

.btn-flotante:hover {
  background: rgba(30, 30, 47, 1);
  opacity: 0.85;
}

footer {
  text-align: center;
  padding: 20px;
  background: #0a0f2c;
}

h1,
h2,
h3,
p {
  text-align: center;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    display: none;
    background: #0a0f2c;
    position: absolute;
    top: 87px;
    right: 0;
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .nav-links.show {
    display: flex;
    
  }

  .menu-btn {
    display: block;
  }
}