/* CSS exclusivo para sobre-nosotros.html */

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f7f9fc;
  color: #222;
}

.navbar {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ddd;
  height: 78px;            /* altura fija del header */
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
}

/* Contenedor interno: altura 100% para alinear elementos */
.nav-container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo wrapper: mantén el flujo normal (no absolute) */
.logo-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 4px 8px; /* espacio interior si querés */
}

/* Logo contenido dentro del header: ocupa casi toda la altura sin salirse */
.logo-img {
  height: 80px;
  width: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 30px;   /* ← Más a la izquierda */
  z-index: 20;
  pointer-events: none;
}


/* Menú a la derecha */
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-left: auto;
  list-style: none;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding: 8px 6px;
  transition: color .18s ease, transform .12s ease;
}

.nav-links a:hover {
  color: #0052cc;
  transform: translateY(-1px);
}
/* HERO */
.hero {
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  top: 0;
  left: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* SECCIONES */
.section {
  width: 90%;
  max-width: 1200px;
  margin: 70px auto;
  text-align: center;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #003a99;
}
.section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}

/* CARDS */
.cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.card {
  background: #e2e1e1;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.07);
  transition: 0.2s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #0052cc;
}
.card p {
  color: #555;
}

/* FOOTER */
.footer {
  background: #0d1a2b;
  padding: 35px;
  text-align: center;
  color: white;
  margin-top: 70px;
}