@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9fb;
  color: #333;
  line-height: 1.6;
}

header {
  background: #0a2c52;
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo span {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffd700;
}

main {
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
}

section {
  padding: 80px 30px;
  margin-bottom: 40px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

#inicio {
  background: linear-gradient(to right, #004b8d, #0077c0);
  color: white;
  text-align: center;
}

#inicio h1 {
  font-size: 36px;
}

#inicio p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

#servicios, #sobre-nosotros, #contacto {
  background-color: #ffffff;
}

form input, form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 16px;
}

form button {
  background-color: #004b8d;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background-color: #0062cc;
}

/* Responsive design */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }
}

#btn-arriba {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #004b8d;
  color: white;
  padding: 12px;
  border-radius: 50%;
  font-size: 24px;
  text-align: center;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  z-index: 1000;
}

#btn-arriba:hover {
  transform: scale(1.15);
}