body, html {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  font-family: 'Segoe UI', Arial, sans-serif;
  overflow: hidden;
}

.main-grid {
  display: flex;
  height: 100vh;
  width: 100vw;
}

/* Sector de imagen - 2/3 del ancho aprox */
.background {
  position: relative;
  width: 68vw;
  height: 100vh;
  background: url('principal.jpg') left center / cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* capa oscura */
.opacity {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; height: 100%;
  background: rgba(24, 28, 33, 0.7);
  z-index: 1;
}

/* El texto sobre el fondo */
.main-title {
  position: relative;
  z-index: 2;
  margin: -50px 0 0 16px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.37);
}

.big-title {
  font-size: 70px;
  font-weight: 700;
  font-family: sans-serif;
}

.big-subtitle {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0;
  font-family: sans-serif;
}

.sidebar {
  width: 32vw;
  min-width: 340px;
  height: 100vh;
  background: rgba(255,255,255,0.98);
  box-shadow: -2px 0 12px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

    .logo {
      margin-bottom: 20px;
    }
    .title {
      font-size: 2.6rem;
      font-weight: bold;
      color: #16496b;
      margin-bottom: 16px;
      text-align: center;
    }
    .subtitle {
      font-size: 1.05rem;
      color: #222;
      margin-bottom: 25px;
      text-align: center;
    }




.mantencion-box {
  background: #f2f6f8;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 16px rgba(80,80,100,0.2);
  margin-top: 25px;
  max-width: 510px;
  text-align: justify;
  margin-left: auto;
  margin-right: auto;
}

.mantencion-box h2 {
  margin: 0 0 10px 0;
  color: #194e71;
  font-size: 1.8rem;
  font-weight: 800;
}

.mantencion-box p {
  color: #194e71;
  font-size: 1.27rem;
  margin: 17px 0 0 0;
}

.footer-menu {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 15px;
  background: #003c58;
  border-radius: 5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  min-height: 40px;
  z-index: 5;
  padding: 0 10px 0 10px;
  width: auto;
  max-width: calc(100% - 30px);
  box-sizing: border-box;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  padding: 0 15px 0 15px;
  font-size: 0.9em;
  height: 48px;
  line-height: 48px;
  transition: background 0.2s;
  display: inline-block;
}


.footer-menu a:hover {
  border-radius: 6px;
  text-decoration: underline;
}

    @media (max-width: 900px) {
      .sidebar { width: 100vw; min-width: unset; box-shadow: none; }
    }