body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
}
header {
  height: 70vh;
  background: url('fondo.jpg') center/cover no-repeat;
  position: relative;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeInDown 1.5s ease;
}
header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}
header > * {
  position: relative;
  z-index: 1;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
h2 {
  border-left: 4px solid #007bff;
  padding-left: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  color: #343a40;
}
.project-card img {
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.project-card img:hover {
  transform: scale(1.05);
}
.card-body {
  text-align: center;
}
footer {
  background: #1f1f1f;
  color: white;
  text-align: center;
  padding: 1.5rem;
}
form .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.modal-body img {
  width: 100%;
  border-radius: 0.25rem;
}
.info-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.info-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: transform 0.3s ease;
}
.info-card:hover {
  transform: translateY(-5px);
}
.info-card strong {
  color: #007bff;
}
.info-card a {
  text-decoration: none;
  color: #212529;
}
.info-card a:hover {
  text-decoration: underline;
}
/* Mejora visibilidad modal */
.modal {
  z-index: 1055 !important;
}

.modal-backdrop {
  z-index: 1050 !important;
}

.modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}
