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

body {
  font-family: 'Inter', sans-serif;
  color: #222;
  background-color: #f9f9f9;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* === Navbar === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #00bcd4;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #00bcd4;
}

/* === Hero === */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.45);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-primary {
  background-color: #00bcd4;
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease-in-out;
}

.btn-primary:hover {
  background-color: #0098a8;
  transform: scale(1.05);
}

/* === Servicios === */
.servicios {
  padding: 6rem 10%;
  text-align: center;
  background: #fff;
}

.servicios h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: #111;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: #f4f8fa;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  color: #00bcd4;
  margin: 1rem 0 0.5rem;
}

.card p {
  color: #555;
  padding: 0 1rem 1.5rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* === Banners Parallax === */
.banner {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 60vh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner .overlay {
  background: rgba(0, 0, 0, 0.45);
  text-align: center;
  padding: 2rem;
}

.banner h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00e5ff;
}

/* === Nosotros === */
.nosotros {
  padding: 6rem 10%;
  background: #f0f4f7;
  text-align: center;
}

.nosotros-content {
  max-width: 700px;
  margin: auto;
}

/* === Contacto === */
.contacto {
  padding: 6rem 10%;
  text-align: center;
  background: #fff;
}

.formulario {
  max-width: 500px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
}

/* === Footer === */
footer {
  background: #0b0b0d;
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: #999;
}

/* === Animaciones === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}
