<!-- Archivo: css/styles.css -->
body {
  margin: 0;
  padding: 0;
  height: 100%;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  /*font-family: 'Inter', sans-serif;*/
  line-height: 1.6;
  /*background-color: #fdfdfd;*/
  color: #333;
  min-height: 100vh;
}

.background-overlay-q {
  background-image: url('../images/ImagenQuienes.jpg');
  background-size: cover;
  background-position: center;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.3; /* aquí defines la transparencia */
}

.background-overlay-s {
  background-image: url('../images/ImagenServicios.jpg');
  background-size: cover;
  background-position: center;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.4; /* aquí defines la transparencia */
}

.background-overlay-c {
  background-image: url('../images/ImagenContacto.jpg');
  background-size: cover;
  background-position: center;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.4; /* aquí defines la transparencia */
}


.background-overlay-p {
  background-image: url('../images/ImagenPublicaciones.jpg');
  background-size: cover;
  background-position: center;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.4; /* aquí defines la transparencia */
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.contenido {
  flex: 1;
  position: relative;
  z-index: 1;
}

.contenido2 {
  flex: 0.5;
  position: relative;
  z-index: 1;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  background-color: #0b1c2c;
  color: #fff;
  padding: 1rem 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  text-decoration: none;
  font-size: 1.5rem;
  color: #fff;
}

.logo .bold {
  font-weight: 700;
  color: #4CBA72;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/tribunal.jpg') center/cover no-repeat;
  color: #fff;
  padding: 100px 0;
  text-align: center;
  line-height: 25px;
  high: 50px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.destacados, .nosotros, .contenido {
  padding: 60px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

h2 {
  color: #004085;
  margin-bottom: 1rem;
}

footer {
  background: #0b1c2c;
  color: #fff;
  text-align: center;
  padding: 15px 0; /* 1rem 0;
  margin-top: 2rem; */
  font-size: 12px;
}

footer p {
  margin: 0;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}
