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

body {
  font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo img {
  max-height: 80px;
}
.nav-links a {
  margin-left: 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: #cba968; }
.btn-nav {
  padding: 8px 15px;
  border: 1px solid #cba968;
  border-radius: 20px;
  color: #cba968 !important;
}

/* HERO */
.hero {
  text-align: center;
  padding: 100px 20px 80px;
}
.hero h1 {
  font-size: 3rem;
  color: #cba968;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.btn-primary {
  background: #cba968;
  color: #fff;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}
.btn-primary:hover { background: #b89755; }

/* SECCIONES */
.section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #cba968;
}

/* SERVICIOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.service-card {
  background: #fafafa;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}
.service-card h3 {
  color: #333;
  margin-bottom: 10px;
}

/* LOGIN */
#login-form form {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
}
#login-form input {
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.btn-secondary {
  padding: 12px;
  border: none;
  background: #cba968;
  color: #fff;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}
.btn-secondary:hover { background: #b89755; }

/* FOOTER */
footer {
  background: #fafafa;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

/* ANIMACIONES */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}