body, html {
    margin: 0;
    padding: 0;
    background-color: #0c2840;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body {
    flex: 1 0 auto;
}

footer, .contenedor-footer {
    margin-top: auto;
}

.sidebar{
    font-size: 0.8rem;
    width: auto;
    margin: 0;
    padding: 0;
    justify-content: space-between;
    display: flex;
    align-items: center;
    background-color: #05233d;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar img{
    padding: 1px;
    padding-left: 50px;
    width: auto;
    height: 70px;
}

.sidebar ul{
    margin-bottom: 30px;
    padding-right: 100px;
}

.sidebar a{
    text-align: center;
    text-decoration: none;
    color: #d6d6d6;
}

.sidebar a:hover{ 
    color: #ffffff;
}

.sidebar li{
    font-size: 18px;
    padding-bottom: 10px;
    text-align: center;
    display: inline-block; 
    margin: 0 40px;
    font-family: 'Poppins';
}

.info-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0px;
  background-image: url('img/banner-2.png');
  margin-top: 100px;
}

.contenedor-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: none;
  gap: 0;
  padding: 0;
}

.img-banner img {
  max-width: 600px;
  height: auto;
}

.texto-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.texto-banner h1{
    text-align: center;
    font-size: 80px;
    font-family:'Poppins';
    color: #0c2840;
    text-shadow:
        -1px -1px 0 white,
         1px -1px 0 white,
        -1px  1px 0 white,
         1px  1px 0 white;
}

.contenedor-footer {
  background: #05233d !important;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px 12px 40px;
  box-sizing: border-box;
}

.logo-footer {
  display: flex;
  align-items: center;
}

.logo-footer img {
  height: 48px;
  width: auto;
  display: block;
  margin: 0 16px 0 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
}

.texto-footer {
  text-align: left;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
}

.contacto-footer {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  text-align: left;
  font-size: 15px;
}

.more-info {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px;
  background-color: #0c2840;
}


.contenedor-info {
  margin: 10px 0;
  background-color: #0c2840;
  border-radius: 18px;
  padding: 32px 24px;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
}

.texto-info {
  padding-left: 0;
  flex: 1;
}

.subt-1 {
  margin: 0 0 18px 0;
  text-align: center;
  font-size: 28px;
  font-family: 'Poppins';
  color: #ffffff;
  font-weight: 600;
}

.info-text {
  margin: 0 0 18px 0;
  text-align: left;
  font-size: 17px;
  font-family: 'Poppins';
  color: #d6d6d6;
  line-height: 1.7;
  padding-left: 20px;
}

.info-list {
  color: #d6d6d6;
  font-size: 17px;
  font-family: 'Poppins';
  margin-bottom: 18px;
  margin-left: 20px;
  line-height: 1.7;
}

.texto-info h2.subt-1 {
  margin-top: 0;
}

.imagenes-superpuestas {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
}

.img {
  position: absolute;
  width: 180px;
  height: 280px;
  object-fit: cover;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgb(0, 0, 0);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.img1 {
  top: 30px;
  left: 0px;
  z-index: 2;
  transform: rotate(-12deg);
}

.img2 {
  top: 0;
  left: 110px;
  z-index: 3;
  transform: rotate(0deg);
}

.img3 {
  top: 30px;
  left: 220px;
  z-index: 2;
  transform: rotate(12deg);
}

.img:hover {
  transform: scale(1.05);
  z-index: 10;
}

.imagenes-servicios {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.img-serv {
  width: 420px;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  transition: transform 0.2s;
}

.img-serv:hover {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .contenedor-info {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 98vw;
    padding: 16px 5vw;
  }
  .imagenes-superpuestas {
    width: 98vw;
    height: 220px;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  .img {
    width: 100px;
    height: 160px;
  }
  .img1 { left: 0px; }
  .img2 { left: 60px; }
  .img3 { left: 120px; }
  .imagenes-servicios {
    gap: 16px;
  }
  .img-serv {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 600px) {
  .contenedor-info {
    padding: 10px 2vw;
    gap: 10px;
  }
  .imagenes-superpuestas {
    width: 100vw;
    max-width: 320px;
    height: auto;
    margin: 0 auto 10px auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: static;
  }
  .img {
    position: static !important;
    width: 60px;
    height: 90px;
    margin: 0;
    box-shadow: 0 4px 12px rgb(0, 0, 0);
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  .img1, .img2, .img3 {
    left: unset !important;
    top: unset !important;
    transform: none !important;
  }
  .subt-1, .info-text, .info-list {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
  .imagenes-servicios {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .img-serv {
    width: 98vw;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .sidebar {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 10px 0 0 0;
    width: 100vw;
    background-color: #0c2840;
    box-sizing: border-box;
  }
  .sidebar ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin: 0;
    padding: 0 0 0 0;
    background-color: #0c2840;
    box-sizing: border-box;
    position: relative;
    z-index: 1001;
  }
  .sidebar li {
    display: inline-block;
    margin: 0 10px;
    font-size: 15px;
    padding-bottom: 0;
    color: #d6d6d6;
    background: none;
  }
  .sidebar img {
    padding-left: 0;
    height: 40px;
    margin-bottom: 8px;
    display: block;
    margin: 0 auto;
  }
}