body{
background: #fffaf3;
}

* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.deslizo {display: none}
img {vertical-align: middle;}


  .bienvenida-encabezado {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 280px; 
background:  #FEF3DC;
  color: #341C09; 
  font-size: 2.2em; 
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: salir-vehiculo 4s ease forwards;
  animation-delay: 0.9s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
}


.barra-navegacion {
  background: #FEF3DC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 50px;
}


.logo-real {
  max-width: 250px; 
  height: auto;
  margin-left: 5%;
transition: transform 0.3s ease;
}

.logo-real:hover{
  transform: scale(1.02);
}
 
.menu-navegacion {
  display: flex;
  flex: 1;
  gap: 0%;
  position: absolute;
  margin-left: 18%;
  justify-content: center; 
}


.menu-navegacion a {
  color: #341C09;
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
  padding: 10px 15px;
  transition: background-color 0.3s, color 0.3s;
}

.menu-navegacion a:hover {
  background-color: #FEE2AA;
  color: black;
}


 


.subtitulo-principal {
  text-align: center;
}
#miBtn:hover {
  background-color:#341C09;
}
.seccion-inicial {
  text-align: justify;
  padding: 60px 20px;

  color: #000000;
  width: 100%;

}

.contenedor-interno {
  max-width: 900px;
  margin: 0 auto;
}

.subtitulo-principal {
  font-size: 32px;
  color: #342B09
;
  margin-bottom: 20px;
  font-weight: bold;
}

.contenido-principal {
  font-size: 1.4em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #342B09
;
}

.subtitulo-secundario {
  font-size: 20px;
  font-weight: bold;
  color: #342B09
;
  letter-spacing: 1px;
}


.pantalla-dividida {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 0px;
}

.mitad {
  position: relative;
  width: 50%;
  overflow: hidden;
}

.mitad img {
  width: 100%;
  height: auto;
  display: block;
}

.contenido-superpuesto {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #FEF3DC;
  width: 100%;
  padding: 20px;
  text-align: center;
  
}



.contenido-superpuesto h2 {
  font-size: 24px;
  margin-bottom: 10px;
  font-family: Verdana, sans-serif;
}


.boton-enlace {
  color: #000000
;
  font-weight: bold;
  text-decoration: none;
  background-color: #FEF3DC;
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s ease;
  font-family: Verdana, sans-serif;;
}

.boton-enlace:hover {
  background-color: #FEF3DC;
}




.texto-inferior {
  background:  #FEF3DC;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 15px;
  color: #341C09;
}

.contenedor-texto {
  max-width: 900px;
  text-align: center;
  font-size: 1.1rem;
  font-family: Verdana, sans-serif;
  line-height: 1.6;
}

.contenedor-texto h1 {
  font-weight: normal; 
  margin-bottom: 20px;
   font-size: 1.4rem;
   color: #342B09
;
}

.resaltado {
  font-weight: bold; 
}
.tab {
  overflow: hidden;
  border: 1px solid #FEF3DC;
  background-color: #FEF3DC;
  max-width: 75%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}


.tab button {
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 12px 18px;
  transition: 0.3s;
  font-size: 1.8rem;
  font-weight: 500;
  margin: 5px;
  border-radius: 5px;
  color: #342B09
;
}


.tab button:hover {
  background-color: #FEE2AA;
}


.tab button.active {
  background-color: #FEE2AA;
}


.tabcontent {
  display: none;
  padding: 20px 30px;
  border: 1px solid #FEE2AA;
  border-top: none;
  max-width: 75%;
  margin: 0 auto 30px auto;
  background-color: #341C09;
  border-radius: 0 0 8px 8px;
}

.tabcontent h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #FEF3DC;
}


.tabcontent p {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #FEF3DC;
}

.lista-bienestar {
  list-style-type: disc;
  padding-left: 25px;
  margin-top: 10px;
  color: #FEF3DC;
  font-size: 1.4rem;
  text-align: left;
}

.convenios {
    text-align: center;
    margin-top: 40px;
    color: #341C09;
  }

  .capitall {
    height: auto;
    width: auto;
    max-height: 160px;
    max-width: 200px;
    object-fit: contain;
    margin-top: 60px;
  }

  .convenios h2 {
    font-size: 24px;
    margin-bottom: 30px;
    font-family: Verdana, sans-serif;
  }
  
  .fila {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 30px;
    flex-wrap: wrap;
  }
  
  .fila img {
    max-width: 220px;
    max-height: 220px;
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
  }

  .fila img {
    transform: scale(1.2); 
    transform-origin: center;
  }
  
  .fila img:hover {
    transform: scale(1.05);
  }

 

  .titulo-final {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
  }
  
  .titulo-final h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #341C09;
    letter-spacing: 2px;
    font-family:Verdana, sans-serif;
  }

   img.logo-fesol {
    width: 150px !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  img.logo-comfamiliar {
    width: 170px !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }


.footer {
  background: #ff0055;
  color: #341C09;
  font-family:Verdana, sans-serif;
  margin-top: 40px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: #FEF3DC;
  padding: 40px 20px;
}

.footer-box {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  margin: 10px;
  font-size: 18px;
}

.footer-box strong {
  font-size: 20px;
  display: block;
  margin-bottom: 10px;
}

.footer-box p {
  margin: 6px 0;
}

.telefono {
  font-size: 18px;
  font-weight: bold;
  margin: 6px 0;
color: #341C09;
}
.footer-bottom {
  text-align: center;
  padding: 15px;
  font-size: 14px;
  background-color: #341C09;
  border-top: 1px solid #B08A03;
color:#FEF3DC;
}

.whatsapp-burbuja {
  position: fixed;
  bottom: 20px;
  right: 1810px;
  background-color: #375f1b00;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-burbuja:hover {
  transform: scale(1.1);
}

.whatsapp-burbuja img {
  width: 32px;
  height: 32px;
}

.anim-scroll-abajo{
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.anim-scroll-derecha{
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.en-vista{
  opacity: 1 !important;
  transform: translateY(0) translateX(0) !important;
}

.container-menu {
  display: inline-block;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
}

.bar1, .bar2, .bar3 {
  width: 35px;
  height: 5px;
  background-color: #000000;
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  transform: translate(0, -11px) rotate(45deg)
}

.menu-emergente {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100vh;
  background-color:  #fffaf3;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  padding: 60px 20px 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
}

.menu-emergente.mostrar {
  transform: translateX(0);
}

.menu-emergente a {
  display: block;
  margin: 20px 0;
  color: #341C09;
  text-decoration: none;
  font-size: 18px;
}

.menu-emergente a:hover {
  color: #f68f02;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@media only screen and (max-width: 300px) {
  .anterior, .siguiente,.text {font-size: 11px}
}


@keyframes aparecer-texto {
  to { opacity: 1; }
}

@keyframes desaparecer-texto {
  to { opacity: 0; }
}

@keyframes desvanecer-franja {
  to { background-color: transparent; }
}

 
@keyframes salir-vehiculo {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}