* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f4f4f4 0%, #e9ecef 100%);
  background-attachment: fixed;
}
header {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
}
nav ul {
  list-style: none;
  display: flex;
}
nav ul li {
  margin-left: 30px;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: #cce7ff;
}
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 120px 20px 80px;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.1);
  z-index: 1;
}
.hero > * {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.btn {
  background-color: #28a745;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s;
}
.btn:hover {
  background-color: #218838;
}
section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.service-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}
.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.service-card h3 {
  margin-bottom: 15px;
  color: #667eea;
  font-weight: 600;
}
.about {
  text-align: center;
  background: white;
  padding: 60px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin: 80px auto;
  max-width: 1200px;
  border: 1px solid #e9ecef;
}
.portfolio {
  text-align: center;
  background: white;
  padding: 60px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin: 80px auto;
  max-width: 1200px;
  border: 1px solid #e9ecef;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.portfolio-item {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.portfolio-item:hover {
  transform: translateY(-5px);
}
.portfolio-item h3 {
  color: #667eea;
  margin-bottom: 15px;
}
.portfolio-item p {
  margin-bottom: 20px;
}
.contact {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  border-radius: 15px;
  margin: 80px auto;
  max-width: 1200px;
}
.contact form {
  max-width: 600px;
  margin: 0 auto;
}
.contact input, .contact textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  font-family: 'Roboto', sans-serif;
}
.contact button {
  background-color: #28a745;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
}
.contact button:hover {
  background-color: #218838;
}
footer {
  background: linear-gradient(90deg, #343a40 0%, #495057 100%);
  color: white;
  text-align: center;
  padding: 20px;
}
/* Animaciones sutiles */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
section {
  animation: fadeIn 1s ease-out;
}
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.btn {
  transition: all 0.3s ease;
}
.btn:hover {
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 60px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  nav ul li {
    margin: 10px 0;
  }
  .services {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    padding: 20px;
  }
  .service-icon {
    width: 40px;
    height: 40px;
  }
  section {
    padding: 0 15px;
    margin: 60px auto;
  }
  .about, .contact {
    padding: 40px 15px;
  }
  .contact form {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .logo {
    font-size: 1.5rem;
  }
  .service-card h3 {
    font-size: 1.1rem;
  }
  .service-card p {
    font-size: 0.9rem;
  }
  .about h2, .contact h2 {
    font-size: 1.5rem;
  }
  footer p {
    font-size: 0.9rem;
  }
}